Improve responsive css

This commit is contained in:
Frederic Guillot
2015-02-21 17:02:13 -05:00
parent 279ad3c17e
commit b9dd69853d
8 changed files with 60 additions and 6 deletions

View File

@@ -93,3 +93,11 @@ nav .active a {
padding-right: 10px;
font-size: 0.9em;
}
@media only screen and (max-width: 640px) {
.page-header-mobile li {
display: block;
margin-bottom: 5px;
}
}

View File

@@ -55,3 +55,11 @@
height: 18px;
}
}
@media only screen and (max-width: 640px) {
.hide-mobile {
display: none;
}
}

View File

@@ -27,9 +27,20 @@
line-height: 1.8em;
}
@media only screen and (max-width: 1024px) {
.sidebar {
width: 25%;
}
.sidebar-content {
margin-left: 30%;
width: 70%;
}
}
@media only screen and (max-width: 767px) {
.sidebar {
width: 96.5%;
width: 95%;
float: none;
}