forked from Bitcoindefi/OpenAO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
72 lines (64 loc) · 1.6 KB
/
Copy pathglobals.css
File metadata and controls
72 lines (64 loc) · 1.6 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
@import "tailwindcss";
:root {
--background: #020617;
--foreground: #ededed;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow-x: hidden;
overflow-y: auto;
background: var(--background);
color: var(--foreground);
color-scheme: dark;
font-family: Arial, Helvetica, sans-serif;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}
.game-shell {
position: fixed;
inset: 0;
overflow: hidden;
background:
radial-gradient(circle at top, rgba(15, 118, 110, 0.2), transparent 35%),
radial-gradient(circle at bottom, rgba(245, 158, 11, 0.12), transparent 30%),
linear-gradient(180deg, #020617, #02030a);
user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
touch-action: none;
}
.game-shell:fullscreen {
background: #02030a;
}
.game-shell::backdrop {
background: #02030a;
}
html.game-targeting,
html.game-targeting body,
html.game-targeting body *,
html.game-targeting body *:hover,
html.game-targeting body *:active,
html.game-targeting body *:focus,
html.game-targeting body *::before,
html.game-targeting body *::after {
cursor: crosshair !important;
}
/* Full screen optimization for mobile */
@media screen and (max-width: 768px) {
.game-shell {
position: fixed;
top: 0;
left: 0;
-webkit-overflow-scrolling: touch;
}
}