-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyles.css
80 lines (70 loc) · 1.02 KB
/
styles.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
canvas {
width: 100%;
height: 100%;
background: #edd3a2;
background-size: cover;
transition: all ease 1s;
}
body, html {
margin: 0;
overflow: hidden;
height: 100%;
margin: 0;
font-family: 'Creepster', cursive;
}
.header {
width: 100%;
}
.score {
position: absolute;
right: 2%;
top: 0;
font-size: 3.0em;
}
.score p {
margin: 0;
text-align: center;
}
#gas-tanks {
margin: 0;
font-size: .5em;
padding: 0 4px;
list-style: none;
}
#gas-tanks li {
display: inline;
}
#game-over {
display: none;
font-size: 10.0em;
transition: all 3s ease-in-out;
color: #e21414;
position: absolute;
top: 30%;
left: 30%;
}
#game-over p {
text-align: center;
font-size: 20px;
}
a {
text-decoration: none;
}
footer {
font-family: 'Exo', sans-serif;
position:absolute;
bottom:0;
color:#ff0000;
background-color: #7a1b1b;
text-align: center;
color:#ddd;
width: 100%
}
footer h4 {
display: inline;
color: white;
padding: 2px 4px;
}
footer a {
color: cornflowerblue;
}