-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
68 lines (66 loc) · 1.02 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
body {
margin: 0;
padding: 0;
overflow: hidden;
}
canvas {
margin: 0;
padding: 0;
}
.main {
position: relative;
}
.controls {
position: absolute;
top: 50vh;
left: 70vw;
width: 6rem;
height: 4rem;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: space-evenly;
z-index: 900;
/* background-color: #ddd; */
}
.controls button.key {
background-color: #eee;
width: 2rem;
font-size: 1.5rem;
font-weight: 600;
}
.one {
width: 100%;
display: flex;
justify-content: center;
}
.three {
width: 100%;
display: flex;
justify-content: space-between;
}
#warning-message {
width: 100%;
height: 100vh;
background-color: aquamarine;
font-size: 2rem;
display: none;
/* margin: 10rem; */
}
.text {
padding-top: 2rem;
text-align: center;
}
@media only screen and (orientation: portrait) {
.main {
display: none;
}
#warning-message {
display: block;
}
}
@media only screen and (orientation: landscape) {
#warning-message {
display: none;
}
}