-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (45 loc) · 918 Bytes
/
Copy pathstyle.css
File metadata and controls
50 lines (45 loc) · 918 Bytes
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
@import url("../../engine/game-shell.css");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #0d0d1a;
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
overflow: hidden;
}
#game-container {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
canvas {
display: block;
image-rendering: pixelated;
}
#back-btn {
position: absolute;
top: 12px;
left: 12px;
background: rgba(255, 255, 255, 0.08);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 6px 14px;
border-radius: 20px;
cursor: pointer;
font-size: 13px;
font-family: 'Courier New', monospace;
transition: background 0.2s;
z-index: 10;
}
#back-btn:hover {
background: rgba(255, 255, 255, 0.18);
}