-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
110 lines (90 loc) · 1.53 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
105
106
107
108
109
110
html, body {
margin: 0;
padding: 0;
background-color: black;
font-family: comic sans ms, serif;
}
.hidden {
display: none !important;
}
#game {
height: 100vh;
display: flex;
flex-direction: column;
}
#canvas {
max-height: calc(100% - 48px);
flex-grow: 1;
object-fit: contain;
image-rendering: pixelated;
}
#top {
display: flex;
justify-content: center;
gap: 20px;
width: 100%;
padding: 10px 0;
font-size: 20px;
font-weight: bold;
background-color: #c3c3c3;
}
#top p {
margin: 0;
}
a:not(.button) {
text-decoration: none;
color: #00f;
}
a:not(.button):hover {
text-decoration: underline;
}
#message {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
z-index: 1;
opacity: 1;
position: fixed;
top: 0;
width: 100%;
height: 100%;
background-color: #c3c3c3;
font-family: arial;
font-weight: bold;
font-size: 100px;
}
.animation {
transition-property: opacity;
transition-duration: 1s;
opacity: 0 !important;
}
#menu,#win {
margin: 200px;
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;
background-color: #c3c3c3;
box-shadow: 0 0 50px #777;
}
.error {
color: red;
font-weight: bold;
}
h1 {
font-size: 50px;
font-weight: 100;
}
h2 { font-size: 30px; }
a.button {
transition: 0.5s;
display: block;
text-align: center;
font-size: 20px;
padding: 8px;
width: 150px;
background-color: #999;
color: white;
text-decoration: none;
}