-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.css
More file actions
84 lines (71 loc) · 1.13 KB
/
Copy pathgame.css
File metadata and controls
84 lines (71 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
77
78
79
80
81
82
83
body {
background-color: #2b425d;
font-family: 'VT323', monospace;
margin: 0;
}
header {
font-size: 5em;
margin-bottom: 40px;
margin-left: 41.5%;
margin-top: 40px;
text-align: center;
width: 250px;
}
main {
align-items: center;
display: grid;
grid-template-columns: 1fr 2fr 1fr
}
h1 {
font-size: 2.5em;
margin: .5em 0 0 0;
text-align: center;
}
p {
font-size: 2em;
text-align: center;
}
footer {
display: grid;
justify-content: center;
left: 31.7%;
margin-bottom: 300px;
margin-top: 40px;
position: absolute;
width: 537px;
}
.canvas-background {
background-color: #a4c23d;
border: 5px solid black;
height: 496px;
left: 15.75%;
position: relative;
width: 500px;
}
.container {
background-color: #d4e4eb;
border: 5px solid black;
}
#game {
position: absolute;
border: 1px dashed;
display: block;
left: 33%;
}
.lives-container {
display: grid;
justify-content: center;
}
.lives-container,
.score-container {
border-radius: 30%;
margin: auto;
width: 160px;
}
.score-container {
display: grid;
justify-content: center;
}
.title-container {
border-radius: 15px;
}