-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathdata.css
More file actions
65 lines (54 loc) · 1.03 KB
/
Copy pathdata.css
File metadata and controls
65 lines (54 loc) · 1.03 KB
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
/* Data page */
.data-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
position: relative;
}
.data-topic {
flex: 0 1 100%;
padding: 30px;
position: relative;
}
.data-topic .number {
font-size: 18px;
font-weight: 700;
color: #008ea4;
}
.data-topic .unit + .number {
margin-left: 10px;
}
@media screen and (min-width: 769px) {
.data h1 {
margin-bottom: 60px;
}
.data-container::after {
content: '';
width: 50px;
height: 50px;
background: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@media (prefers-color-scheme: dark) {
.data-container::after {
background: #2a2a2e;
}
}
.data-topic {
flex-basis: 50%;
}
.data-topic:not(:nth-child(3)):not(:nth-child(4)) {
border-bottom: solid 1px #d7d7db;
}
.data-topic:not(:nth-child(2n)) {
border-right: solid 1px #d7d7db;
}
}
@media screen and (max-width: 768px) {
.data-topic:not(:first-child) {
border-top: solid 1px #d7d7db;
}
}