forked from tomayac/chrome-dino-gamepad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrex-runner.css
More file actions
71 lines (61 loc) · 1.01 KB
/
trex-runner.css
File metadata and controls
71 lines (61 loc) · 1.01 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
:root {
color-scheme: dark light;
--primary-bg: rgb(255, 255, 255);
--primary-fg: #000;
}
:focus:not(:focus-visible) {
outline: none;
}
.dark-mode {
--primary-bg: #020202;
--primary-fg: #fff;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: var(--primary-bg);
color: var(--primary-fg);
}
.controller {
position: absolute;
top: 1rem;
}
.interstitial-wrapper {
width: 600px;
height: 150px;
}
#offline-resources {
display: none;
}
#dark-mode-toggle {
border: none;
background: none;
position: fixed;
top: 30px;
right: 30px;
font-size: 20px;
cursor: pointer;
color: transparent;
text-shadow: 0 0 0 #bbb;
}
#fullscreen-toggle {
border: none;
background: none;
position: fixed;
top: 25px;
right: 75px;
font-size: 30px;
cursor: pointer;
color: transparent;
text-shadow: 0 0 0 #bbb;
}
*:-webkit-full-screen {
background-color: var(--primary-bg);
}
html,
body {
background-color: var(--primary-bg);
}