Fossil SCM

Added yet another special-case handler for the new skin's @media screen indent applicator. We were handling wiki embedded docs before, but we weren't handling the /wiki pages themselves. These appear with a top-level body class of "wiki", not "doc".

wyoung 2024-02-08 22:18 inskinerator-modern-backport
Commit a1ebcb230ac1ab149a0e44d64f14f9be5eb496ef35ebbe7409a72264ccee4ecf
1 file changed +11 -2
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -433,11 +433,11 @@
433433
/* This horror-show selector explosion lets us avoid applying indents
434434
* to Fossil UI generated pages, nested formatting in forum posts,
435435
* paragraphs within tables, etc. What this actually *says* is far
436436
* simpler than it looks; the equivalent SCSS is merely:
437437
*
438
- * .artifact, .dir, .doc {
438
+ * .artifact, .dir, .doc, .wiki {
439439
* > .content, // wiki docs have no inner container
440440
* > .content > .fossil-doc, // container for HTML embedded docs
441441
* > .content > markdown { // ditto for MD outside forum, tickets…
442442
* > div, > p, > ol, > ul, > table {
443443
* margin-left: 50pt; margin-right: 50pt;
@@ -470,11 +470,20 @@
470470
.doc > .content > ol, .doc > .content > ul,
471471
.doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
472472
.doc > .content > .fossil-doc > ol, .doc > .content > .fossil-doc > ul,
473473
.doc > .content > table,
474474
.doc > .content > .markdown > table,
475
- .doc > .content > .fossil-doc > table {
475
+ .doc > .content > .fossil-doc > table,
476
+ .wiki > .content > p,
477
+ .wiki > .content > .markdown > p,
478
+ .wiki > .content > .fossil-doc > p,
479
+ .wiki > .content > ol, .wiki > .content > ul,
480
+ .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul,
481
+ .wiki > .content > .fossil-doc > ol, .wiki > .content > .fossil-doc > ul,
482
+ .wiki > .content > table,
483
+ .wiki > .content > .markdown > table,
484
+ .wiki > .content > .fossil-doc > table {
476485
margin-left: 50pt;
477486
margin-right: 50pt;
478487
}
479488
480489
/* Code blocks and such get extra indent. We need a selector explosion
481490
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -433,11 +433,11 @@
433 /* This horror-show selector explosion lets us avoid applying indents
434 * to Fossil UI generated pages, nested formatting in forum posts,
435 * paragraphs within tables, etc. What this actually *says* is far
436 * simpler than it looks; the equivalent SCSS is merely:
437 *
438 * .artifact, .dir, .doc {
439 * > .content, // wiki docs have no inner container
440 * > .content > .fossil-doc, // container for HTML embedded docs
441 * > .content > markdown { // ditto for MD outside forum, tickets…
442 * > div, > p, > ol, > ul, > table {
443 * margin-left: 50pt; margin-right: 50pt;
@@ -470,11 +470,20 @@
470 .doc > .content > ol, .doc > .content > ul,
471 .doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
472 .doc > .content > .fossil-doc > ol, .doc > .content > .fossil-doc > ul,
473 .doc > .content > table,
474 .doc > .content > .markdown > table,
475 .doc > .content > .fossil-doc > table {
 
 
 
 
 
 
 
 
 
476 margin-left: 50pt;
477 margin-right: 50pt;
478 }
479
480 /* Code blocks and such get extra indent. We need a selector explosion
481
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -433,11 +433,11 @@
433 /* This horror-show selector explosion lets us avoid applying indents
434 * to Fossil UI generated pages, nested formatting in forum posts,
435 * paragraphs within tables, etc. What this actually *says* is far
436 * simpler than it looks; the equivalent SCSS is merely:
437 *
438 * .artifact, .dir, .doc, .wiki {
439 * > .content, // wiki docs have no inner container
440 * > .content > .fossil-doc, // container for HTML embedded docs
441 * > .content > markdown { // ditto for MD outside forum, tickets…
442 * > div, > p, > ol, > ul, > table {
443 * margin-left: 50pt; margin-right: 50pt;
@@ -470,11 +470,20 @@
470 .doc > .content > ol, .doc > .content > ul,
471 .doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
472 .doc > .content > .fossil-doc > ol, .doc > .content > .fossil-doc > ul,
473 .doc > .content > table,
474 .doc > .content > .markdown > table,
475 .doc > .content > .fossil-doc > table,
476 .wiki > .content > p,
477 .wiki > .content > .markdown > p,
478 .wiki > .content > .fossil-doc > p,
479 .wiki > .content > ol, .wiki > .content > ul,
480 .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul,
481 .wiki > .content > .fossil-doc > ol, .wiki > .content > .fossil-doc > ul,
482 .wiki > .content > table,
483 .wiki > .content > .markdown > table,
484 .wiki > .content > .fossil-doc > table {
485 margin-left: 50pt;
486 margin-right: 50pt;
487 }
488
489 /* Code blocks and such get extra indent. We need a selector explosion
490

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button