-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
118 lines (103 loc) · 1.65 KB
/
styles.css
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
117
118
* {
box-sizing: border-box;
touch-action: manipulation;
user-select: none;
}
html, body, main {
height: 100%;
}
body {
background: #000 url('assets/logo_white.png') 50% 50% no-repeat;
background-size: 158px 19px;
color: #fff;
font-family: sans-serif;
margin: 0;
overflow: hidden;
}
main {
display: flex;
place-items: center;
}
canvas {
aspect-ratio: 320 / 480;
display: block;
height: revert !important;
margin: 0 auto;
max-width: 100%;
max-height: 100%;
object-fit: contain;
width: revert !important;
}
.alert {
bottom: 0;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 10;
}
#settings {
background: #fff;
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
padding: 0 15vw;
}
#settings button {
background: #000;
border: 0;
color: #fff;
font-size: 20px;
padding: 20px 0;
position: relative;
}
[data-sound]:before {
background: red;
content: '';
display: block;
height: 20px;
left: 20px;
margin-top: -10px;
position: absolute;
top: 50%;
width: 20px;
}
.active:before {
background: green;
}
#permission,
#mobile {
align-items: center;
background: #000;
display: flex;
font-size: 20px;
flex-direction: column;
gap: 20px;
justify-content: center;
padding: 0 15vw;
text-align: center;
}
#permission button {
background: #fff;
border: 0;
color: #000;
font-size: 20px;
padding: 20px 0;
width: 100%;
}
#mobile {
display: none;
}
@media (min-width: 768px), (orientation: landscape) {
#mobile {
display: grid;
place-items: center;
}
}
[hidden] {
display: none !important;
}
#p5_loading {
display: none;
}