/
main.css
61 lines (52 loc) · 933 Bytes
/
main.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
html {
height: 100%;
}
body {
background-color: #cfd8dc;
font-size: 1em;
overflow: hidden;
}
.box {
background-color: yellow;
padding: 4.5em;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 600px;
text-align: center;
}
.box.hidden button {
visibility: hidden;
}
.box button:first-child {
margin-right: 1.5em;
}
button {
font-size: 3em;
padding: .4em 1em;
border: 3px solid #37474f;
color: #37474f;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
button:hover {
background-color: #37474f;
color: #eceff1;
}
button span {
font-family: monospace;
font-weight: 600;
margin-left: 10px;
pointer-events: none;
}
footer {
position: fixed;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
color: #37474f;
}
:focus {
outline: none !important;
}