-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adds link to titles for navigating to anchors (#308)
- Loading branch information
Showing
2 changed files
with
9 additions
and
19 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,16 +1,8 @@ | ||
.anchor { | ||
.titleLink { | ||
color: inherit; | ||
text-decoration: none; | ||
font-size: 0.8em; | ||
padding: 0 0.5rem; | ||
align-self: baseline; | ||
|
||
/* Incase we want anchor tags after headings remove this!*/ | ||
display: none; | ||
} | ||
.anchor:visited, | ||
.anchor:link { | ||
color: var(--color-secondary1__tint4); | ||
} | ||
.anchor:hover { | ||
color: var(--color-primary); | ||
|
||
.titleLink:hover { | ||
color: inherit; | ||
} |
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
bbe4206
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
handbook – ./
handbook-variant1.vercel.app
handbook-git-main-variant1.vercel.app
handbook-ten.vercel.app
handbook.variant.no