From 7882e13be56a54164d4ddfdd8a63541b7c2f81e2 Mon Sep 17 00:00:00 2001 From: "Dominik V. Salonen" Date: Wed, 14 Mar 2018 18:50:46 +0000 Subject: [PATCH] Update 'style.css' --- style.css | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/style.css b/style.css index 9624be3..b286044 100755 --- a/style.css +++ b/style.css @@ -42,20 +42,6 @@ a:hover { margin-top: 25vh; max-height: 50vh; } - -@media only screen and (max-device-width: 600px) { - #content { - margin-top: 5vh; - max-height: 65vh; - } -} - -@media only screen and (max-device-height: 600px) { - #content { - margin-top: 5vh; - max-height: 65vh; - } -} #main-container { background-color: #3b3b3b; @@ -69,6 +55,16 @@ a:hover { width: 100%; box-shadow: 3px 3px 7px rgba(0,0,0,0.25); } + +@media only screen and (max-device-width: 600px), only screen and (max-device-height: 600px) { + #content { + margin-top: 5vh; + } + + #main-container { + max-height: 65vh; + } +} #navbar { width: 100%;