Update 'style.css'

This commit is contained in:
Dominik V. Salonen 2018-03-14 18:50:46 +00:00
parent b242cb8970
commit 7882e13be5
1 changed files with 10 additions and 14 deletions

View File

@ -43,20 +43,6 @@ a:hover {
max-height: 50vh; 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 { #main-container {
background-color: #3b3b3b; background-color: #3b3b3b;
margin-top: 10px; margin-top: 10px;
@ -70,6 +56,16 @@ a:hover {
box-shadow: 3px 3px 7px rgba(0,0,0,0.25); 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 { #navbar {
width: 100%; width: 100%;
/* Whitespace hack */ /* Whitespace hack */