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

Add style for heading anchor

This commit is contained in:
Cotes Chung
2021-12-06 02:40:51 +08:00
parent 45adf4aac2
commit 1487ae5284
2 changed files with 41 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ h1 {
h2 {
@extend %heading;
@extend %section;
@extend %anchor;
@extend %anchor-relative;
font-size: 1.5rem;
}
@@ -62,7 +62,7 @@ h2 {
h3 {
@extend %heading;
@extend %section;
@extend %anchor;
@extend %anchor-relative;
font-size: 1.2rem;
}
@@ -1126,7 +1126,7 @@ $sidebar-display: "sidebar-display";
h1 {
margin-top: 2.2rem;
font-size: 1.55rem;
font-size: 1.75rem;
}
}