-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
127 lines (105 loc) · 2.04 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
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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
*, :root {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing:grayscale;
-webkit-text-size-adjust: 100%;
}
body {
background-color: #0f172a;
}
main {
margin: 0 auto 64px;
padding: 20px;
max-width: 640px;
}
header {
margin-top: 64px;
padding-bottom: 24px;
border-bottom: 1px solid #334155;
}
header h1 {
font-size: 30px;
color: #f1f5f9;
margin-top: 24px;
}
#quiz {
counter-reset: quiz-item;
}
.quiz-item {
margin-top: 24px;
border: 1px solid #475569;
border-radius: 6px;
overflow: hidden;
}
.quiz-item h3 {
padding: 16px 20px;
color: #e2e8f0;
display: flex;
align-items: center;
gap: 12px;
background-color: #1e293b;
}
.quiz-item h3:before{
counter-increment: quiz-item;
content: counter(quiz-item);
background-color: #475569;
width: 28px;
height: 28px;
font-size: 12px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.quiz-item dl {
padding: 20px 24px;
display: grid;
gap: 8px;
}
.quiz-item dl dt {
font-size: 14px;
line-height: 24px;
letter-spacing: 0;
display: flex;
align-items: center;
gap: 8px;
color: #e2e8f0;
}
input {
all: unset;
border: 1px solid #94a3b8;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
/* pseudo-selector */
input:checked {
border: 2px solid #A3E635;
}
input:checked:before {
content: '';
width: 10px;
height: 10px;
background-color: #A3E635;
border-radius: 50%;
}
#acertos {
text-align: center;
background-color: #A3E635;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 12px;
}