-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (70 loc) · 1.52 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Kumbh Sans', sans-serif;
background-color: hsl(185, 75%, 39%);
display: flex;
align-items: center;
min-height: 100vh;
background-image: url(./images/bg-pattern-top.svg), url(./images/bg-pattern-bottom.svg);
background-repeat: no-repeat, no-repeat;
background-position: right 48vw bottom 40vh, left 45vw top 44vh;
}
.container {
margin: 0 auto;
text-align: center;
}
.card {
max-width: 420px;
background-color: white;
border-radius: 15px;
overflow: hidden;
margin: 1rem;
}
.content img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-top: -50px;
margin-bottom: 20px;
border: 5px solid white;
}
.content h2 {
color: hsl(229, 23%, 23%);
font-size: 18px;
font-weight: 700;
margin-bottom: 9px;
}
.content h2 span {
color: hsl(227, 10%, 46%);
font-weight: 400;
margin-left: 0.7rem;
}
.content p {
color: hsl(227, 10%, 46%);
font-size: 14px;
}
.stats {
display: flex;
justify-content: space-between;
border-top: 1px solid hsla(0, 0%, 59%, 0.253);
padding: 30px 50px;
margin-top: 25px;
letter-spacing: 1px;
}
.stats .num {
color: hsl(229, 23%, 23%);
font-weight: 900;
font-size: 18px;
margin-bottom: 5px;
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}