-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.css
More file actions
76 lines (65 loc) · 1.13 KB
/
main.css
File metadata and controls
76 lines (65 loc) · 1.13 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
/* GLOBAL STYLES */
body {
background-color: #000;
font-family: helvetica, sans-serif;
color: #fff;
letter-spacing: 2px;
line-height: 140%;
}
input[type=text],
input[type=number] {
background-color: #000;
border: 2px solid #fff;
border-radius: 5px;
color: #fff;
}
hr {
border: 1px solid #fff;
}
button {
background: #fff;
border: 2px solid #fff;
border-radius: 5px;
font-size: 20px;
padding: 10px;
margin: 5px 0;
letter-spacing: 2px;
cursor: pointer;
transition: 0.15s;
}
button:hover {
background-color: #000;
color: #fff;
transition: 0.15s;
}
.hidden {
display: none;
}
/* SPECIFIC ELEMENTS */
#question {
margin: 0 auto;
text-align: center;
font-size: 3em;
}
#solution {
text-align: center;
width: 2em;
font-size: 1em;
}
#overlay {
max-height: 100vh;
max-width: 100vw;
position: absolute;
background: rgba(0, 0, 0, 0.5);
top: 0;
right: 0;
left: 0;
bottom: 0;
text-align: center;
font-size: 3em;
padding: 25vh 10%;
line-height: 1.2em;
}
#overlay::before {
filter: blur(5px);
}