feat: new mobile toc

This commit is contained in:
Dillon
2019-08-20 03:01:15 +08:00
parent f4cda2e602
commit 3d8efd6319
5 changed files with 109 additions and 24 deletions

View File

@@ -1,10 +1,10 @@
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
.navbar {
display: none;
display: none !important;
}
.post-toc {
display: none;
display: none !important;
}
.navbar-mobile {
@@ -149,13 +149,25 @@
.post-toc {
margin-left: 580px !important;
}
.navbar-mobile {
display: none !important;
}
.post-toc-mobile {
display: none !important;
}
}
/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
.navbar-mobile {
display: none;
display: none !important;
}
.post-toc-mobile {
display: none !important;
}
}
@@ -163,4 +175,11 @@
@media only screen and (min-width: 1824px) {
/* Styles */
.navbar-mobile {
display: none !important;
}
.post-toc-mobile {
display: none !important;
}
}