diff doc/_static/style.css @ 8416:370689471a08 issue2550923_computed_property

merge from default branch accumulated changes since Nov 2023
author John Rouillard <rouilj@ieee.org>
date Sun, 17 Aug 2025 16:12:25 -0400
parents c99e37d270b3
children 93f9d8622111
line wrap: on
line diff
--- a/doc/_static/style.css	Sun Nov 05 11:38:18 2023 -0500
+++ b/doc/_static/style.css	Sun Aug 17 16:12:25 2025 -0400
@@ -51,6 +51,15 @@
 
 * + * { margin-block-start: 1.2em;}
 
+/* shrink spacing between first and following paragraph in a list item
+   when the first paragraph is bold/strong. Try to tie the first paragraph
+   pseudo header closer to the following paragraph. */
+li > p:has(strong):first-child
+ {
+    /* background: red; */
+    margin-block-end: -0.75em;
+}
+
 /* shrink spacing between list elements in tables of contents,
    badge displays */
 div.toctree-wrapper * + *, div.contents * + *, div.release_info * {
@@ -190,6 +199,8 @@
     text-decoration-color: darkgrey;
 }
 
+:is(h1,h2,h3,h4) > :link:hover { text-underline-offset: -0.1em; }
+
 a.toc-backref { color: #000000; }
 
 .header h1 { margin-left: 1em; }
@@ -444,9 +455,9 @@
        linear-gradient(to right, #f5f4d8, #f5f4d8),
        /* Shadow */
        radial-gradient(farthest-side at 0px 50%,
-		       rgba(0, 0, 20, 0.5), rgba(255, 255, 255, 0)),
+		       rgba(181, 181, 113, 0.75), rgba(255, 255, 255, 0)),
        radial-gradient(farthest-side at 100% 50%,
-		       rgba(0, 0, 20, 0.5), rgba(255, 255, 255, 0));
+		       rgba(181, 181, 113, 0.75), rgba(255, 255, 255, 0));
     /* square shadows */
     /*
     linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0)),
@@ -472,12 +483,26 @@
 ul.multicol > * {
   margin-block-start: 0; /* remove spacing added by * + * here */
 }
+ul.multicol > li > p { /* remove spacing around paragraphs to tighten up list */
+    margin: 0;
+}
 
 div.file_insert { /* use to insert COPYING into license.txt */
     background: #f3f1cc;
     padding-inline: 0.5em;
 }
 
+table.valign-top tbody td { vertical-align: top; }
+
+.footnote-list {
+  border: lightgrey dotted 2px;
+  font-size: smaller;
+  margin-inline: 2em;
+  padding-inline: 1em;
+}
+
+aside.footnote > span + p { margin-block-start: unset; }
+
 /* consider highlighting header element that is a target */
 /*
 :target > :is(h1,h2,h3,h4,h5,h6) {
@@ -487,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/