fix(toc): fix toc link bug

This commit is contained in:
Dillon
2020-02-21 11:11:56 +08:00
parent 41a14bc2dc
commit a4116f14a7
12 changed files with 183 additions and 177 deletions

View File

@@ -1,6 +1,7 @@
html {
font-family: $global-font-family;
font-size: 16px;
width:100%;
}
/* scrollbar, only support webkit */

View File

@@ -2,8 +2,7 @@
.page {
max-width: 780px;
.post-toc {
width: 300px;
#toc-auto {
margin-left: 800px;
}
}
@@ -13,8 +12,7 @@
.page {
max-width: 680px;
.post-toc {
width: 240px;
#toc-auto {
margin-left: 700px;
}
}
@@ -24,8 +22,7 @@
.page {
max-width: 560px;
.post-toc {
width: 180px;
#toc-auto {
margin-left: 580px;
}
}
@@ -41,11 +38,11 @@
.page {
max-width: 80%;
.post-toc {
#toc-auto {
display: none;
}
.post-toc-mobile {
#toc-static {
display: block;
}
}