-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
52 lines (43 loc) · 845 Bytes
/
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
html {
min-height: 100%; /* Look, it's not fixed anymore! */
display: flex;
flex-direction: column;
overflow: hidden;
justify-content: center;
align-items: center;
}
body {
flex-grow: 1;
background: black;
}
#canvas{
/* width: 50vw;
height: 80vh; */
width: 100%;
height: 100%;
background-color: black;
}
@media (orientation:landscape) {
.container-sm {
max-width: 80%;
height: 95vh;
}
.container {
max-width: 95%;
height: 95vh;
}
.centered {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
}
@media (orientation:portrait) {
.container-sm {
max-width: 100%;
height: 93vh;
}
}