-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (119 loc) · 2.01 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Kumbh Sans", sans-serif;
}
body {
background-color: hsl(185, 75%, 39%);
min-height: 100vh;
align-items: center;
justify-content: center;
display: flex;
overflow: hidden;
}
main .left {
position: absolute;
top: -44em;
left: -50em;
z-index: -1;
}
main .right {
position: absolute;
top: 16em;
right: -49em;
z-index: -1;
}
main {
position: relative;
width: 27em;
height: 28em;
background-color: whitesmoke;
border-radius: 10px;
min-width: 464px;
}
.top-background img {
width: 100%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
height: 9em;
}
.bottom-card {
position: relative;
}
.bottom-card img {
position: absolute;
border-radius: 50%;
top: -48px;
left: 0;
right: 0;
margin: 0 auto;
text-align: center;
border: 0.4em solid whitesmoke;
}
.name-age {
position: absolute;
top: 6em;
text-align: center;
width: 29em;
}
.name-age .nom {
font-family: "Kumbh Sans", sans-serif;
font-size: 18px;
font-weight: bold;
font-weight: 700;
color: hsl(229, 23%, 23%);
}
.name-age .age {
font-family: "Kumbh Sans", sans-serif;
padding-left: 0.4em;
color: hsl(0, 0%, 59%);
}
.bottom-card .statistics {
display: flex;
flex-direction: row;
position: absolute;
width: 29em;
top: 14em;
justify-content: space-evenly;
align-content: stretch;
margin-right: 0.3em;
}
.city {
display: inline;
position: absolute;
top: 8.3em;
left: 0;
right: 0;
margin: 0 auto;
margin-left: 0.8em;
text-align: center;
font-family: "Kumbh Sans", sans-serif;
font-size: 1em;
color: hsl(0, 0%, 59%);
}
.info {
font-size: 18px;
font-weight: 700;
color: hsl(229, 23%, 23%);
}
hr {
position: absolute;
top: 11.5em;
width: 100%;
color: hsl(227, 10%, 46%);
}
.followers,
.likes,
.photos {
text-align: center;
position: relative;
}
.name {
display: block;
padding-top: 0.4em;
font-weight: 400;
font-size: 0.8em;
letter-spacing: 1.5px;
color: hsl(0, 0%, 59%);
}