Update deprecated device-width media queries (#120)

This commit is contained in:
Joseph Ting
2018-11-21 20:37:10 +09:00
committed by Luiz F. A. de Prá
parent d89edf3e1b
commit bab77656bb
8 changed files with 30 additions and 30 deletions

View File

@@ -24,7 +24,7 @@
list-style: none;
margin-bottom: 0;
margin-top: 0;
@media only screen and (max-device-width : 768px) {
@media only screen and (max-width : 768px) {
position: absolute;
top: 6.0rem;
right: 0;
@@ -43,7 +43,7 @@
float: left;
margin: 0;
position: relative;
@media only screen and (max-device-width : 768px) {
@media only screen and (max-width : 768px) {
float: none !important;
text-align: center;
a, span {
@@ -56,7 +56,7 @@
}
}
.menu-separator {
@media only screen and (max-device-width : 768px) {
@media only screen and (max-width : 768px) {
border-top: 2px solid $fg-color;
margin: 0 8.0rem;
span {
@@ -67,7 +67,7 @@
}
#menu-toggle {
display: none;
@media only screen and (max-device-width : 768px) {
@media only screen and (max-width : 768px) {
&:checked + label {
color: $alt-bg-color;
}
@@ -80,7 +80,7 @@
}
.menu-button {
display: none;
@media only screen and (max-device-width : 768px) {
@media only screen and (max-width : 768px) {
display: block;
font-size: 2.4rem;
font-weight: 400;