-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (90 loc) · 1.54 KB
/
style.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
93
94
95
96
97
98
99
100
101
102
103
104
body {
margin: 0;
background-color: black;
overflow: hidden;
}
span {
font-family: "Fira Mono", monospace;
}
.menu {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
user-select: none;
}
.title {
z-index: 1;
margin-top: 6rem;
image-rendering: pixelated;
width: 50%;
}
.start-prompt {
z-index: 1;
color: white;
margin-top: 12rem;
font-size: 2rem;
}
.menu-background {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
}
#death-screen {
display: none;
}
#hud {
position: absolute;
width: 100vw;
height: 100vh;
display: none;
color: white;
flex-direction: column;
user-select: none;
}
#hud-center {
position: absolute;
width: 100vw;
height: 100vh;
background-color: transparent;
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}
#radar {
border-width: 0.25rem;
border-style: solid;
border-color: white;
}
#money {
padding: 1% 1% 0% 1%;
font-size: 1.5rem;
}
#level {
padding: 0% 1% 1% 1%;
font-size: 1.5rem;
}
#healthbar {
margin: 1% 1% 0% 1%;
}
#health {
position: relative;
top: -1.75rem;
left: 0.25rem;
margin-bottom: -1.75rem;
background-color: #00dd00;
z-index: 1;
width: 0;
height: 1.5rem;
}
#health-background {
background-color: #dd0000;
border-width: 0.25rem;
border-style: solid;
border-color: #ffffff;
width: 10rem;
height: 1.5rem;
}