-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (68 loc) · 1.34 KB
/
style.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
html, body, menu, canvas{
padding: 0;
margin: 0;
max-height: 100vh;
overflow: hidden;
}
body {
display: flex;
flex-direction: row;
height: 100vh;
}
#controls {
display: flex;
gap: 10px;
justify-content: center;
align-items: center;
flex-direction: row;
width: calc(100svw - 40px);
height: fit-content;
position: fixed;
bottom: 0;
right: 0;
padding: 20px;
z-index: 10;
}
#main-controls {
display: flex;
gap: 10px;
justify-content: center;
align-items: center;
flex-direction: row;
width: calc(100svw - 40px);
height: fit-content;
position: fixed;
top: 0;
right: 0;
padding: 20px;
z-index: 10;
}
menu button {
width: 50px;
height: 50px;
margin: 0;
cursor: pointer;
padding: 12px 6px;
border: 1px solid rgb(255, 255, 255);
border-radius: 4px;
background: rgba(0, 0, 0, 0.1);
color: rgb(255, 255, 255);
font: 13px sans-serif;
text-align: center;
opacity: 0.5;
outline: none;
}
menu svg {
height: 24px;
width: 24px;
}
#VRButton {
display: none !important;
}
@media screen and (orientation: landscape) {
#controls {
flex-direction: column;
width: fit-content;
height: calc(100svh - 40px);
}
}