feat: new style fix nav

This commit is contained in:
Dillon
2019-08-22 01:22:33 +08:00
parent 87857b2002
commit a46456ef0a
6 changed files with 20 additions and 30 deletions

View File

@@ -5,7 +5,7 @@
width: 100%;
max-width: 780px;
margin: 0 auto;
padding-top: 2rem;
padding-top: 6rem;
@import "_post";
@import "_posts";

View File

@@ -49,7 +49,7 @@
border-left: 1px solid $global-border-color;
word-wrap: break-word;
box-sizing: border-box;
top: 120px;
top: 200px;
.post-toc-title {
font-weight: 400;
@@ -152,6 +152,13 @@
}
.post-content {
a.post-title-target:target {
display: block;
position: relative;
top: -60px;
visibility: hidden;
}
h2,
h3,
h4,