From 4e7d0944373d68226a99a1906c3692b24e2b69eb Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 30 Oct 2023 02:58:22 -0500 Subject: [PATCH] fix(style): ensure header anchor is not overlapped by nav --- assets/style/style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/style/style.css b/assets/style/style.css index 03b47a4..db45a87 100644 --- a/assets/style/style.css +++ b/assets/style/style.css @@ -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;