-
Notifications
You must be signed in to change notification settings - Fork 0
/
roelof.css
132 lines (108 loc) · 1.97 KB
/
roelof.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
125
126
127
128
129
130
131
:root{
--cyan: hsl(185, 75%, 39%);
--desaturated_blue: hsl(229, 23%, 23%);
--grayish_blue: hsl(227, 10%, 46%);
--gray: hsl(0, 0%, 59%);
}
*{
margin:0;
padding:0;
box-sizing: border-box;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: var(--cyan);
background-image: url(./images/bg-pattern-top.svg), url(./images/bg-pattern-bottom.svg);
background-position: bottom 50vh right 50vw, top 50vh left 50vw;
background-repeat: no-repeat;
font-family: 'Kumbh Sans', sans-serif;
font-size: 1.125rem;
font-weight: 400;
}
h2{
color: var(--desaturated_blue);
}
img {
display: block;
max-width: 100%;
}
main{
max-width: 20rem;
background-color:white;;
border-radius: 20px;
overflow:hidden;
margin: 0.5rem;
}
.card_image {
display: flex;
justify-content: center;
margin-top: -3.5rem;
}
.card_image img {
border-radius: 50%;
border: 5px solid white;
}
.card_personal_data{
text-align: center;
padding: 0.5rem 1rem;
}
.card_personal_name{
font-weight: 700;
}
p, .age{
color: var(--gray);
font-weight: 400;
}
.london{
margin-top: 10px;
margin-bottom: 30px;
}
.hr{
color: var(--grey);
}
.stats-list {
display: flex;
justify-content: space-evenly;
position: relative;
flex-wrap: wrap;
gap: 1rem;
padding: 1.5rem 1rem;
}
.stats-list > * {
list-style-type: none;
position: relative;
}
.stats-list:before {
content: '';
height: 1px;
background: #969696;
width: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0.3;
}
.stats-list-item {
color: #6a6f81;
text-align: center;
}
.list_item {
gap: 0.5rem;
}
.stat-number,
.stat-label {
display: block;
}
.stat-number {
font-size: 1rem;
font-weight: 700;
color: #2d3248;
}
.stat-label {
font-size: 0.66667rem;
margin-top: 0.33333rem;
letter-spacing: 1px;
}