diff options
author | Dominik Juelg <djuelg@gmx.de> | 2016-09-26 19:00:38 +0300 |
---|---|---|
committer | Dominik Juelg <djuelg@gmx.de> | 2016-09-26 19:00:38 +0300 |
commit | 83386d304c4960e97c0cba535fb2e743192a2a70 (patch) | |
tree | ca4891e4d37bfa726305463d56f73c77f170ed1b | |
parent | afe6a2485d099844eb31497e621c453b6982aa15 (diff) |
improved start screen
-rwxr-xr-x | layouts/partials/start-screen.svg | 2 | ||||
-rw-r--r-- | static/css/default.css | 39 |
2 files changed, 2 insertions, 39 deletions
diff --git a/layouts/partials/start-screen.svg b/layouts/partials/start-screen.svg index c766bab..376bd9d 100755 --- a/layouts/partials/start-screen.svg +++ b/layouts/partials/start-screen.svg @@ -3,7 +3,7 @@ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-160 0 4600 2245.7" - preserveAspectRatio="xMidYMin slice"> + preserveAspectRatio="xMidYMin meet"> <defs id="defs3522"> <filter id="a" color-interpolation-filters="sRGB"> diff --git a/static/css/default.css b/static/css/default.css index 98f0129..1597f3d 100644 --- a/static/css/default.css +++ b/static/css/default.css @@ -19,7 +19,7 @@ .start-screen { display: block; width: 98vw; - height: 96vh; + height: 98vh; min-height: 400px; text-align: center; margin: 0 auto; @@ -165,43 +165,6 @@ } } - -@media only screen and (min-aspect-ratio: 16/6) { - .start-screen { - width: 66vw; - height: 96vh; - } -} - -@media only screen and (min-aspect-ratio: 16/7) and (max-aspect-ratio: 16/6) { - .start-screen { - width: 74vw; - height: 96vh; - } -} - -@media only screen and (min-aspect-ratio: 16/9) and (max-aspect-ratio: 16/7) { - .start-screen { - width: 90vw; - height: 96vh; - } -} - -@media only screen and (min-aspect-ratio: 16/12) and (max-aspect-ratio: 16/9) { - .start-screen { - width: 98vw; - height: 96vh; - } -} - -@media only screen and (max-aspect-ratio: 16/12) { - .start-screen { - width: 74vw; - height: 96vh; - } -} - - /* Playground page classes */ .playground-header-container { height: 140px; |