diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-02-27 17:11:10 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-03-07 23:57:10 -0800 |
commit | 99c5251115b6814aa53a2023071027efbcd05b67 (patch) | |
tree | dfa5c43ffc5c84b085e031a7346d2a77064bb0c1 /mavigator-server/src/main/resources/assets/stylesheets/new.css | |
parent | 773bc081728bf770281a22c1700d05b1def75542 (diff) | |
download | mavigator-layout-classic.tar.gz mavigator-layout-classic.tar.bz2 mavigator-layout-classic.zip |
Implement layout wireframelayout-classic
Diffstat (limited to 'mavigator-server/src/main/resources/assets/stylesheets/new.css')
-rw-r--r-- | mavigator-server/src/main/resources/assets/stylesheets/new.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/mavigator-server/src/main/resources/assets/stylesheets/new.css b/mavigator-server/src/main/resources/assets/stylesheets/new.css new file mode 100644 index 0000000..50f352d --- /dev/null +++ b/mavigator-server/src/main/resources/assets/stylesheets/new.css @@ -0,0 +1,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%; +}
\ No newline at end of file |