diff doc/_static/style.css @ 8400:c99e37d270b3

doc: move #target a 2em from top of viewport. Make sure there is a little space between top of viewport and the element selected with a #fragment. This looks cleaner.
author John Rouillard <rouilj@ieee.org>
date Wed, 16 Jul 2025 20:02:11 -0400
parents f061e614320a
children 93f9d8622111
line wrap: on
line diff
--- a/doc/_static/style.css	Wed Jul 16 20:00:07 2025 -0400
+++ b/doc/_static/style.css	Wed Jul 16 20:02:11 2025 -0400
@@ -512,3 +512,7 @@
 }
 */
 
+/* move the target off the top of the viewport by a little */
+:target {
+  scroll-margin-block-start: 2em;
+}

Roundup Issue Tracker: http://roundup-tracker.org/