fix(style): ensure header anchor is not overlapped by nav

This commit is contained in:
Price Hiller 2023-10-30 02:58:22 -05:00
parent 544532d795
commit 4e7d094437
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -199,8 +199,10 @@ img {
text-decoration: none; text-decoration: none;
} }
.anchor:visited, .anchor:link, .anchor:active { .anchor:visited,
color: var(--boatYellow2) .anchor:link,
.anchor:active {
color: var(--boatYellow2);
} }
h1, h1,
@ -254,6 +256,11 @@ a:visited {
color: var(--oniViolet); color: var(--oniViolet);
} }
/* Ensure header anchor, when clicked, is not hidden by Navbar */
a.anchor {
scroll-margin-top: 60px;
}
blockquote { blockquote {
background-color: var(--sumiInk1); background-color: var(--sumiInk1);
padding: 10px; padding: 10px;