fix(style): ensure header anchor is not overlapped by nav
This commit is contained in:
parent
544532d795
commit
4e7d094437
@ -199,8 +199,10 @@ img {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.anchor:visited, .anchor:link, .anchor:active {
|
||||
color: var(--boatYellow2)
|
||||
.anchor:visited,
|
||||
.anchor:link,
|
||||
.anchor:active {
|
||||
color: var(--boatYellow2);
|
||||
}
|
||||
|
||||
h1,
|
||||
@ -254,6 +256,11 @@ a:visited {
|
||||
color: var(--oniViolet);
|
||||
}
|
||||
|
||||
/* Ensure header anchor, when clicked, is not hidden by Navbar */
|
||||
a.anchor {
|
||||
scroll-margin-top: 60px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: var(--sumiInk1);
|
||||
padding: 10px;
|
||||
|
Loading…
Reference in New Issue
Block a user