a | b/v3/css/derived.css | ||
---|---|---|---|
1 | html { |
||
2 | box-sizing: border-box; |
||
3 | } |
||
4 | *, *:before, *:after { |
||
5 | box-sizing: inherit; |
||
6 | } |
||
7 | |||
8 | body { |
||
9 | margin: 0; |
||
10 | height: 100vh; |
||
11 | overflow: hidden; |
||
12 | } |
||
13 | |||
14 | .top-nav { |
||
15 | height: 40px; |
||
16 | border-bottom: 1px solid #eee; |
||
17 | padding: 5px; |
||
18 | } |
||
19 | |||
20 | .main-area { |
||
21 | position: absolute; |
||
22 | top: 40px; |
||
23 | bottom: 0; |
||
24 | left: 0; |
||
25 | width: 100vw; |
||
26 | } |
||
27 | |||
28 | .viewer-container { |
||
29 | width: 100%; |
||
30 | height: 100%; |
||
31 | } |