feat(style): improve toc style (#167)

This commit is contained in:
Dillon
2020-03-16 10:59:51 +08:00
committed by GitHub
parent bf7c4b5173
commit 212e67c2a5
14 changed files with 28 additions and 45 deletions

View File

@@ -1,7 +1,8 @@
html {
font-family: $global-font-family;
font-size: $global-font-size;
font-weight: $global-font-weight;
font-display: swap;
font-size: $global-font-size;
line-height: $global-line-height;
width:100%;
}

View File

@@ -1,30 +1,12 @@
@media only screen and (max-width: 1800px) {
.page {
max-width: 780px;
#toc-auto {
margin-left: 800px;
}
}
}
@media only screen and (max-width: 1440px) {
.page {
max-width: 680px;
#toc-auto {
margin-left: 700px;
}
max-width: 56%;
}
}
@media only screen and (max-width: 1200px) {
.page {
max-width: 560px;
#toc-auto {
margin-left: 580px;
}
max-width: 52%;
}
}