-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathaudit.css
109 lines (90 loc) · 2.14 KB
/
audit.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
@font-face {
font-family: DSEG14ClassicMini-Regular;
src: url(/fonts/DSEG14ClassicMini-Regular.ttf);
}
#counter {
--height: 15em;
--border: 20px;
--gap: 0.2em;
display: flex;
gap: var(--gap);
justify-content: center;
width: fit-content;
/* background: var(--fg); */
/* padding: 1em 2em; */
margin-bottom: 1.5em;
border-radius: 20px;
}
.audit-top .wrapper,
.wrapper-counter {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.wrapper-counter {
margin-top: 2em;
padding: 1em 2em;
background-color: var(--bg2);
box-shadow: var(--aside-shadow);
}
.wrapper-counter #counter {
--height: 10em;
}
.wrapper-counter .circles .circle {
margin-bottom: calc(0.5em * (1/3));
}
.wrapper-counter .number-inner .text {
height: calc(100% - (0.75rem + (0.5rem * (2/3)) + 0.5rem));
}
.number-outer {
width: min-content;
height: min-content;
}
.number-inner {
background: var(--bg);
color: var(--accent-fg);
width: calc(var(--height) * (2/3));
height: var(--height);
box-shadow: var(--aside-shadow);
border-radius: var(--border);
}
.circles {
display: flex;
justify-content: space-between;
}
.circles .circle {
background: var(--fg);
border-radius: 100%;
height: 0.75em;
width: 0.75em;
margin: 0.5em 0.5em;
}
.number-inner .text {
font-size: calc(var(--height) * (2/3));
font-family: DSEG14ClassicMini-Regular;
display: flex;
height: 100%;
width: 100%;
justify-content: center;
overflow: hidden;
}
#action-heading {
padding-bottom: 0.5em
}
@media only screen and (max-width: 768px) {
#counter {
--height: 10em;
--border: calc(20px * (2/3));
}
.number-inner .text {
height: calc(100% - (0.75rem + (0.5rem * (2/3)) + 0.5rem));
font-size: calc(var(--height) * (5/8));
}
.circles .circle {
margin-bottom: calc(0.5em * (1/3));
}
.wrapper-counter .button {
padding: 0.7em 0.9em;
}
}