-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (70 loc) · 1.31 KB
/
Copy pathstyle.css
File metadata and controls
83 lines (70 loc) · 1.31 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
*, *::before, *::after {
box-sizing: border-box;
font-family: sans-serif;
}
:root {
--neutralColor: blue;
--wrongColor: red;
--correctColor: green;
}
body {
background: var(--neutralColor);
padding: 0;
margin: 0;
display: flex;
justify-content: center;
width: 100vw;
height: 100vh;
align-items: center;
background-color: hsl(var(--hue), 100%, 20%);
}
body.correct {
background: var(--correctColor);
}
body.wrong {
background: var(--wrongColor);
}
.container {
width: 800px;
max-width: 80%;
background-color: white;
border-radius: 5px;
padding: 10px;
box-shadow: 0 0 10px 2px;
}
.btn-grid {
display: grid;
grid-template-columns: repeat(2, auto);
gap: 10px;
margin: 20px 0;
}
.btn {
background: var(--neutralColor);
border-radius: 5px;
padding: 5px 10px;
color: black;
outline: none;
}
.btn:hover {
border-color: black;
}
.btn.correct {
background: var(--correctColor);
color: black;
}
.btn.wrong {
background: var(--wrongColor);
}
.start-btn, .next-btn {
font-size: 1.5rem;
font-weight: bold;
padding: 10px 20px;
}
.controls {
display: flex;
justify-content: center;
align-items: center;
}
.hide {
display: none;
}