comparison 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
comparison
equal deleted inserted replaced
7693:78585199552a 8416:370689471a08
48 3.55rem) 48 3.55rem)
49 ); 49 );
50 } 50 }
51 51
52 * + * { margin-block-start: 1.2em;} 52 * + * { margin-block-start: 1.2em;}
53
54 /* shrink spacing between first and following paragraph in a list item
55 when the first paragraph is bold/strong. Try to tie the first paragraph
56 pseudo header closer to the following paragraph. */
57 li > p:has(strong):first-child
58 {
59 /* background: red; */
60 margin-block-end: -0.75em;
61 }
53 62
54 /* shrink spacing between list elements in tables of contents, 63 /* shrink spacing between list elements in tables of contents,
55 badge displays */ 64 badge displays */
56 div.toctree-wrapper * + *, div.contents * + *, div.release_info * { 65 div.toctree-wrapper * + *, div.contents * + *, div.release_info * {
57 margin-block-start: 0.25em; 66 margin-block-start: 0.25em;
187 because of privacy abusing people I can't change that 196 because of privacy abusing people I can't change that
188 value. So settle for darkgrey underline. 197 value. So settle for darkgrey underline.
189 */ 198 */
190 text-decoration-color: darkgrey; 199 text-decoration-color: darkgrey;
191 } 200 }
201
202 :is(h1,h2,h3,h4) > :link:hover { text-underline-offset: -0.1em; }
192 203
193 a.toc-backref { color: #000000; } 204 a.toc-backref { color: #000000; }
194 205
195 .header h1 { margin-left: 1em; } 206 .header h1 { margin-left: 1em; }
196 207
442 /* Shadow covers */ 453 /* Shadow covers */
443 linear-gradient(to right, #f5f4d8, #f5f4d8), 454 linear-gradient(to right, #f5f4d8, #f5f4d8),
444 linear-gradient(to right, #f5f4d8, #f5f4d8), 455 linear-gradient(to right, #f5f4d8, #f5f4d8),
445 /* Shadow */ 456 /* Shadow */
446 radial-gradient(farthest-side at 0px 50%, 457 radial-gradient(farthest-side at 0px 50%,
447 rgba(0, 0, 20, 0.5), rgba(255, 255, 255, 0)), 458 rgba(181, 181, 113, 0.75), rgba(255, 255, 255, 0)),
448 radial-gradient(farthest-side at 100% 50%, 459 radial-gradient(farthest-side at 100% 50%,
449 rgba(0, 0, 20, 0.5), rgba(255, 255, 255, 0)); 460 rgba(181, 181, 113, 0.75), rgba(255, 255, 255, 0));
450 /* square shadows */ 461 /* square shadows */
451 /* 462 /*
452 linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0)), 463 linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0)),
453 linear-gradient(to left, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0)); 464 linear-gradient(to left, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0));
454 */ 465 */
470 grid-gap: 0 1rem; /* no row gap */ 481 grid-gap: 0 1rem; /* no row gap */
471 } 482 }
472 ul.multicol > * { 483 ul.multicol > * {
473 margin-block-start: 0; /* remove spacing added by * + * here */ 484 margin-block-start: 0; /* remove spacing added by * + * here */
474 } 485 }
486 ul.multicol > li > p { /* remove spacing around paragraphs to tighten up list */
487 margin: 0;
488 }
475 489
476 div.file_insert { /* use to insert COPYING into license.txt */ 490 div.file_insert { /* use to insert COPYING into license.txt */
477 background: #f3f1cc; 491 background: #f3f1cc;
478 padding-inline: 0.5em; 492 padding-inline: 0.5em;
479 } 493 }
494
495 table.valign-top tbody td { vertical-align: top; }
496
497 .footnote-list {
498 border: lightgrey dotted 2px;
499 font-size: smaller;
500 margin-inline: 2em;
501 padding-inline: 1em;
502 }
503
504 aside.footnote > span + p { margin-block-start: unset; }
480 505
481 /* consider highlighting header element that is a target */ 506 /* consider highlighting header element that is a target */
482 /* 507 /*
483 :target > :is(h1,h2,h3,h4,h5,h6) { 508 :target > :is(h1,h2,h3,h4,h5,h6) {
484 background: rgb(254, 227, 227); 509 background: rgb(254, 227, 227);
485 outline: rgb(254, 227, 227) solid 3px; 510 outline: rgb(254, 227, 227) solid 3px;
486 padding: 0.3em; 511 padding: 0.3em;
487 } 512 }
488 */ 513 */
489 514
515 /* move the target off the top of the viewport by a little */
516 :target {
517 scroll-margin-block-start: 2em;
518 }

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