diff --git a/style.css b/style.css index 6b66938..b015d24 100755 --- a/style.css +++ b/style.css @@ -66,6 +66,13 @@ a:hover { box-shadow: 3px 3px 7px rgba(0,0,0,0.25); } +#page { + width: 100%; + padding: 15px 5px 8px 5px; + height: calc(40vh - 50px); + overflow-y: auto; +} + @media only screen and (max-device-width: 600px), only screen and (max-device-height: 800px) { #content { margin-top: 5vh; @@ -74,6 +81,10 @@ a:hover { #main-container { max-height: 60vh; } + + #page { + height: calc(50vh - 40px); + } } #navbar { @@ -82,13 +93,6 @@ a:hover { font-size: 0; text-align: center; } - -#page { - width: 100%; - padding: 15px 5px 8px 5px; - height: calc(40vh - 50px); - overflow-y: auto; -} #splits { text-align: center;