-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (69 loc) · 1.2 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
width: 100vw;
height: 100vh;
background-color: #090b1a;
font-family: "Inter", sans-serif;
font-family: "Lexend Deca", sans-serif;
color: #fff;
}
.stats-preview {
display: flex;
margin: auto;
width: 900px;
border-radius: 5px;
overflow: hidden;
}
.stats-details {
flex: 1 1 50%;
padding: 60px 80px 60px 60px;
background-color: hsl(244, 38%, 16%);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.image {
flex: 1 1 50%;
position: relative;
}
.image::before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(96, 19, 143, 0.6);
}
.image img {
width: 100%;
height: 100%;
}
.primary-color {
color: rgb(118, 42, 165);
}
.heading-primary {
font-size: 28px;
}
.description {
font-size: 12px;
color: hsla(0, 0%, 100%, 0.75);
}
.stats-box {
margin-top: 40px;
display: flex;
justify-content: space-between;
text-transform: uppercase;
letter-spacing: 2px;
}
.stats-box p {
margin-top: 10px;
font-size: 10px;
color: hsla(0, 0%, 100%, 0.75);
}