Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (104 loc) · 1.94 KB
/
Copy pathstyle.css
File metadata and controls
116 lines (104 loc) · 1.94 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@font-face {
font-family: "Press Start 2P";
src: url("fonts/PressStart2P.woff2") format("woff2");
font-display: swap;
}
html, body {
margin: 0;
padding: 0;
background: #050518;
overflow: hidden;
overscroll-behavior: none;
height: 100%;
font-family: "Press Start 2P", "Courier New", monospace;
}
#stars-bg {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
height: 100dvh;
z-index: 0;
pointer-events: none;
}
#game {
width: 100vw;
height: 100vh;
height: 100lvh;
height: 100svh;
position: relative;
z-index: 1;
}
#game canvas {
image-rendering: pixelated;
border-radius: 6px;
}
#fs-btn {
position: absolute;
bottom: 14px;
right: 14px;
z-index: 9999;
width: 48px;
height: 48px;
border-radius: 10px;
border: 2px solid #6677aa;
background: rgba(17, 17, 51, 0.75);
color: #aabbdd;
font-size: 22px;
line-height: 1;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
#fs-btn:hover {
background: rgba(34, 51, 102, 0.9);
border-color: #88aaee;
}
#webapp-help {
position: fixed;
inset: 0;
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(5, 5, 24, 0.8);
}
.webapp-help-card {
max-width: 420px;
width: 100%;
padding: 24px;
border: 2px solid #6677aa;
border-radius: 12px;
background: #111133;
color: #aabbdd;
font-size: 11px;
line-height: 1.7;
}
.webapp-help-card h2 {
margin: 0 0 12px;
color: #66c8ff;
font-size: 14px;
}
.webapp-help-card ol {
margin: 0 0 16px;
padding-left: 20px;
}
.webapp-help-card b {
color: #ffd24d;
}
.webapp-help-card button {
display: block;
width: 100%;
padding: 12px;
border: 2px solid #88aaee;
border-radius: 10px;
background: #223366;
color: #ffffff;
font-family: inherit;
font-size: 12px;
cursor: pointer;
touch-action: manipulation;
}