-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (70 loc) · 1.09 KB
/
style.css
File metadata and controls
81 lines (70 loc) · 1.09 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
* {
box-sizing: border-box;
}
body {
margin: 0;
}
.clickable-area {
height: 100vh;
width: 100%;
cursor: pointer;
background: limegreen;
display: grid;
place-items: center;
font-size: 32px;
font-family: "Roboto", sans-serif;
color: #fff;
}
.end-screen,
.main-menu {
display: none;
position: fixed;
height: 100vh;
width: 100%;
top: 0;
left: 0;
background: #0d3b66;
color: #fff;
font-family: "Roboto", sans-serif;
text-align: center;
}
.main-menu.active,
.end-screen.active {
display: grid;
place-items: center;
}
.main-menu {
cursor: pointer;
}
.container {
max-width: 700px;
padding: 0 32px;
}
.main-menu h1 {
font-size: 70px;
margin: 8px 0;
}
.container p {
font-size: 20px;
line-height: 2;
font-weight: 800;
margin: 0;
}
.end-screen h1 {
font-size: 30px;
}
.reaction-time-text {
font-size: 100px;
font-weight: 900;
}
.end-screen .play-again-btn {
border: none;
background: #faf0ca;
font-size: 20px;
padding: 8px 32px;
margin-top: 20px;
text-transform: uppercase;
font-weight: 900;
letter-spacing: 4px;
cursor: pointer;
}