-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (81 loc) · 1.63 KB
/
style.css
File metadata and controls
92 lines (81 loc) · 1.63 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
/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
:root {
--font: 'Orbitron', sans-serif
}
body {
background-color: rgb(0, 0, 0);
background-image: url('/bg.png');
background-size: cover;
background-repeat: no-repeat;
}
canvas {
background-color: rgba(0, 0, 0, 0);
}
.container {
display: flex;
text-align: center;
flex-direction: column;
justify-content: center;
align-items: center;
}
.button-container {
display: flex;
flex-direction: row;
justify-content: center;
gap: 2vh;
}
.button {
display: inline-block;
font-size: 3rem;
border-color: white;
border-radius: 20px;
border-width: 3px;
width: 35%;
padding: 20px;
color: white;
background-color: rgb(93, 81, 81);
cursor: pointer;
font-family: inherit;
transition: 0.25s;
}
.button:hover {
background-color: rgb(20, 0, 0);
}
#centered {
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
font-family: var(--font);
color: white;
}
#title {
color: rgb(255, 17, 0);
font-size: 13rem;
text-shadow: 10px 10px rgb(102, 0, 14);
margin-bottom: 0px;
transition: all 2s;
}
#score {
position: absolute;
top: 10%;
left: 32%;
transform: translate(-50%, -50%);
font-family: var(--font);
font-size: 4rem;
color: white;
display: none;
user-select: none;
}
#death {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: var(--font);
font-size: 4rem;
color: white;
display: none;
user-select: none;
}