-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (105 loc) · 1.73 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
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
119
120
121
122
123
124
125
126
body {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
font-family: 'Calibri', sans-serif;
}
canvas {
background-color: black;
display: block;
}
:fullscreen canvas {
width: 100vw;
max-height: 90vh;
}
:fullscreen #fullscreen-button {
display: none;
}
img {
width: 720px;
height: 480px;
}
#start-container {
position: relative;
}
#canvas-container {
position: relative;
}
#start-button {
left: 50%;
top: 50px;
transform: translateX(-50%);
}
#restart-button {
bottom: 16px;
right: 16px
}
#fullscreen-button {
height: 20px;
width: 20px;
object-fit: contain;
cursor: pointer;
position: absolute;
right: 5px;
top:5px;
}
.button {
z-index: 1;
position: absolute;
background-color: #FFA100;
font-size: 50px;
cursor: pointer;
transition: all 250ms ease-in-out;
border: 1px solid black
}
.button:hover {
background-color: #FFDF00;
}
#controls {
color: white;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
position: absolute;
bottom: 0;
left: 10px;
right: 200px;
z-index: 1;
}
#controls img {
height: 20px;
width: 20px;
object-fit: contain;
}
.control-item {
display: flex;
flex-direction: column;
align-items: center;
}
@media (max-width: 720px) {
canvas {
width: 100%;
}
#start-container img {
width: 100%;
}
}
@media (max-height: 480px) {
canvas {
height: 100vh;
}
#start-container img {
height: 100vh;
}
#start-button {
top: 32px
}
h1 {
display: none;
}
}
.d-none {
display: none !important;
}