-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.css
92 lines (74 loc) · 1.18 KB
/
application.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
/*reset*/
html, body, nav, section, article, ul, li, button, fieldset,
main, img, h1, h2, h3, p, strong, a, div, span, footer {
margin: 0;
border: 0;
padding: 0;
outline: 0;
box-sizing: inherit;
font: inherit;
text-decoration: inherit;
text-align: inherit;
color: inherit;
background: transparent;
}
/*defaults*/
canvas {
}
body {
font-family: sans-serif;
background: #000;
color: #fff;
overflow: hidden;
}
ul {
list-style: none;
}
h1 {
font-size: 36px;
font-weight: 700;
padding: 5px;
}
h2 {
font-size: 32px;
font-weight: 700;
}
h3 {
font-size: 28px;
font-weight: 400;
}
button {
padding: 5px;
margin: 2px;
font-size: 24px;
border: 1px solid #fff;
background: #ccc;
border-radius: 5px;
cursor: pointer;
}
/*modals*/
.start-screen, .game-over-screen {
background: #000;
text-align: center;
width: 300px;
padding: 20px;
border: 1px solid #fff;
position: absolute;
top: 25%;
left: 50%;
z-index: 3;
transform: translateX(-50%);
border-radius: 5px;
}
.controls {
padding: 5px;
}
.start, .restart {
background: #008F12;
}
.start:hover, .restart:hover {
background: #00610E;
}
.hidden {
display: none;
}