1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Prevent the anchor of the heading from being awakened early

This commit is contained in:
Cotes Chung
2021-12-08 16:53:48 +08:00
parent 259d0deabc
commit 09742d40dd
3 changed files with 7 additions and 23 deletions

View File

@@ -11,12 +11,9 @@
}
%section {
padding-top: 3.5rem;
margin-top: -2.5rem;
#core-wrapper & {
line-height: 1.2;
margin-bottom: 1rem;
margin-top: 2.5rem;
margin-bottom: 2rem;
}
}
@@ -24,7 +21,7 @@
> a {
font-size: 70%;
visibility: hidden;
margin-left: 0.25rem;
margin-left: 0.5rem;
border-bottom: none !important;
opacity: 0;
transition: opacity 0.25s ease-in, visibility 0s ease-in 0.25s;