-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
102 lines (88 loc) · 1.76 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
:root {
--bg: #f5f5f5;
--bg-accent: #e7e7e7;
--text: #333;
--text-accent: #4d4d4d;
--primary: #2920DB;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: var(--bg);
color: var(--text);
}
.container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 0 20px;
}
button {
padding: 10px 20px;
margin: 10px;
border: none;
border-radius: 5px;
background-color: var(--bg-accent);
color: var(--text-accent);
cursor: pointer;
transition: all 0.3s ease;
}
.primary {
background-color: var(--primary);
color: white;
}
#start > i {
padding-left: none!important;
margin: 0;
opacity: 0;
transition: opacity, padding-left 0.1s ease;
position: absolute;
left: -9999px;
}
#start:hover > i { /* calm luh animation */
padding-left: 10px;
opacity: 1;
position: relative;
left: 0;
}
#game {
display: none;
}
#game-text {
max-width: 600px;
}
.choices {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
padding: 20px 0;
color: var(--text);
}
.footer a {
color: var(--text-accent);
border-bottom: 1px solid var(--primary);
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #121212;
--bg-accent: #333;
--text: #f5f5f5;
--text-accent: #e7e7e7;
--primary: #2920DB;
}
}