Fossil SCM

Removed the duplicate copy of the SCSS input to the selector explosion in default/css.txt. It's getting too complex to maintain the duplication, and it's about to get worse. Linking it by reference now.

wyoung 2024-02-08 22:38 inskinerator-modern-backport
Commit f5a80cad6c9d3e51b55a51e477f8161902954c1bf245edb0dab955df4ab3edd0
1 file changed +6 -15
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -429,25 +429,16 @@
429429
.mainmenu {
430430
padding: 10px;
431431
}
432432
433433
/* 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;
444
- * }
445
- * }
446
- * }
447
- *
448
- * Generated by Inskinerator; see its override/modern/media.scss file. */
434
+ * to Fossil UI generated pages, nested formatting in forum posts, p
435
+ * within td cells, etc. It's easier to understand what this actually
436
+ * *says* by studying the override/modern/media.scss input file from
437
+ * the [Inskinerator](https://tangentsoft.com/inskinerator/) project.
438
+ * We generated the mess below from that, then sent it through a hand
439
+ * polishing pass. The tool's _raw_ output is even worse. */
449440
.artifact > .content > p,
450441
.artifact > .content > .markdown > p,
451442
.artifact > .content > .fossil-doc > p,
452443
.artifact > .content > ol, .artifact > .content > ul,
453444
.artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
454445
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -429,25 +429,16 @@
429 .mainmenu {
430 padding: 10px;
431 }
432
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;
444 * }
445 * }
446 * }
447 *
448 * Generated by Inskinerator; see its override/modern/media.scss file. */
449 .artifact > .content > p,
450 .artifact > .content > .markdown > p,
451 .artifact > .content > .fossil-doc > p,
452 .artifact > .content > ol, .artifact > .content > ul,
453 .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
454
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -429,25 +429,16 @@
429 .mainmenu {
430 padding: 10px;
431 }
432
433 /* This horror-show selector explosion lets us avoid applying indents
434 * to Fossil UI generated pages, nested formatting in forum posts, p
435 * within td cells, etc. It's easier to understand what this actually
436 * *says* by studying the override/modern/media.scss input file from
437 * the [Inskinerator](https://tangentsoft.com/inskinerator/) project.
438 * We generated the mess below from that, then sent it through a hand
439 * polishing pass. The tool's _raw_ output is even worse. */
 
 
 
 
 
 
 
 
 
440 .artifact > .content > p,
441 .artifact > .content > .markdown > p,
442 .artifact > .content > .fossil-doc > p,
443 .artifact > .content > ol, .artifact > .content > ul,
444 .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
445

Keyboard Shortcuts

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