-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (42 loc) · 909 Bytes
/
style.css
File metadata and controls
48 lines (42 loc) · 909 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
:root {
--page-bg: #0e0f18;
--frame-bg: #171a26;
--frame-border: #f3c94a;
}
* {
box-sizing: border-box;
}
html,
body {
width: 100%;
min-height: 100%;
margin: 0;
background: radial-gradient(circle at 50% 10%, #28324a 0, var(--page-bg) 62%);
color: #f4f1e8;
font-family: Monaco, Consolas, "Courier New", monospace;
}
body {
display: grid;
place-items: center;
overflow: hidden;
}
#game-shell {
width: min(100vw, calc(100vh * 16 / 9), 1280px);
aspect-ratio: 16 / 9;
display: grid;
place-items: center;
padding: clamp(6px, 1.2vw, 14px);
background: var(--frame-bg);
border: 4px solid var(--frame-border);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 4px #2e5fd6;
}
#game-root,
#game-root canvas {
width: 100% !important;
height: 100% !important;
}
#game-root canvas {
display: block;
image-rendering: pixelated;
image-rendering: crisp-edges;
}