feat(style): improve toc style (#167)
This commit is contained in:
@@ -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%;
|
||||
}
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user