-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add visual hint to local anchors
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
.sidebar .chapter-item { | ||
padding-left: 10px; | ||
} | ||
.content main a[href^="."]::after, | ||
.content main a[href^="#"]::after { | ||
content: "⇲"; | ||
} | ||
.content main h1 a[href^="#"]::after, | ||
.content main h2 a[href^="#"]::after, | ||
.content main h3 a[href^="#"]::after, | ||
.content main h4 a[href^="#"]::after, | ||
.content main h5 a[href^="#"]::after, | ||
.content main h6 a[href^="#"]::after { | ||
content: ""; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters