-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (98 loc) · 1.57 KB
/
Copy pathstyle.css
File metadata and controls
113 lines (98 loc) · 1.57 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* intro */
.introanimation {
animation-name: intro;
animation-duration: 15s;
}
@keyframes intro {
0% {background-color: black;}
95% {background-color: red;}
100% {background-color: black;}
}
/* main */
body {
background-color: black;
margin: 0 auto 0 auto;
}
#title {
display: block;
margin: 10px auto 10px auto;
}
canvas {
display: block;
margin: 20px auto 20px auto;
padding: none;
border: 5px white solid;
}
#prompt {
position: absolute;
left: 50%;
margin-left: -65px;
top: 300px;
background-color: inherit;
color: white;
font-family: 'VT323', monospace;
font-size: 30px;
}
/* Menu */
.button {
border: none;
outline: none;
background-color: inherit;
color: white;
font-family: 'VT323', monospace;
font-size: 30px;
text-align: center;
}
.button:hover {
color: red;
}
#startbutton {
position: absolute;
left: 50%;
margin-left: -65px;
top: 320px;
}
#highscoremenu {
position: absolute;
left: 50%;
margin-left: -70px;
top: 350px;
font-size: 10;
color: #FDC60C
}
#menuinfo {
position: absolute;
left: 50%;
margin-left: -70px;
top: 350px;
font-size: 10;
color: #FDC60C
}
.visible {
visibility: visible;
opacity: 1;
transition: opacity 2s linear;
}
.hidden {
visibility: hidden;
opacity: 0;
transition: visibility 0s 1.2s, opacity 1.2s linear;
}
/* HUD in game */
.hud {
position: absolute;
top: 585px;
color: white;
font-family: 'VT323', monospace;
font-size: 20px
}
#healthdisplay {
left: 230px;
}
#playerscore {
right: 230px;
}
#currentlevel {
left: 27%;
top: 10px;
}