blob: 50f352d3bfaecd11c588074f4a8abb91b4bf265b (
plain) (
blame)
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
|
body {
background: black;
}
main {
width: 100vw;
height: 56.25vw; /* 100/56.25 = 1.778 */
max-height: 100vh;
max-width: 177.78vh; /* 16/9 = 1.778 */
margin: auto;
position: absolute;
top:0; bottom:0; /* vertical center */
left:0; right:0; /* horizontal center */
background: pink;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#mcp {
background: purple;
width: 100%;
height: 15%;
}
#mrow {
width: 100%;
height: 88.75%;
display: flex;
flex-direction: row;
justify-content: flex-start;
}
#ecam {
background: lightblue;
width: 20%;
height: 100%;
}
#primary {
background: orange;
width: 80%;
height: 100%;
}
#fms {
background: gray;
width: 100%;
height: 5%;
}
|