-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·45 lines (41 loc) · 824 Bytes
/
style.css
File metadata and controls
executable file
·45 lines (41 loc) · 824 Bytes
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
@font-face {
font-family: Arcade;
src: url('./public/ARCADECLASSIC.TTF');
}
body {
background: #c9d6ff; /* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #e2e2e2, #c9d6ff); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to bottom,
#e2e2e2,
#c9d6ff
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: auto;
}
#canvas {
image-rendering: pixelated;
}
.scoreboard {
font-family: Arcade;
margin: auto;
padding: 2rem;
font-size: 3rem;
align-self: auto;
}
.score {
color: red;
background: black;
border: black solid 2px;
padding: 0.5rem;
}