-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
59 lines (51 loc) · 834 Bytes
/
styles.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
*,
*::before,
*::after {
box-sizing: border-box;
font-family: Gotham Rounded;
}
:root {
--hue-neutral: 190;
--hue-wrong: 330;
--hue-correct: 167;
}
body {
--hue: var(--hue-neutral);
padding: 0;
margin: 0;
width: 100vw;
height: 100vh;
/* justify-content: center; */
background-color: hsl(var(--hue), 96%, 59%);
}
body.correct {
--hue: var(--hue-correct);
}
body.wrong {
--hue: var(--hue-wrong);
}
.border {
border-radius: 2px 10px;
border: none;
}
.btn.correct {
--hue: var(--hue-correct);
background-color: rgb(50, 251, 207);
border: none;
color: black;
}
.btn.wrong {
--hue: var(--hue-wrong);
background-color: rgb(251, 50, 150);
border: none;
color: white;
}
.start-btn,
.next-btn {
font-size: 1.5rem;
font-weight: bold;
padding: 10px 20px;
}
.hide {
display: none;
}