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".
Commit
a1ebcb230ac1ab149a0e44d64f14f9be5eb496ef35ebbe7409a72264ccee4ecf
Parent
9a9276d69326d94…
1 file changed
+11
-2
+11
-2
| --- skins/default/css.txt | ||
| +++ skins/default/css.txt | ||
| @@ -433,11 +433,11 @@ | ||
| 433 | 433 | /* This horror-show selector explosion lets us avoid applying indents |
| 434 | 434 | * to Fossil UI generated pages, nested formatting in forum posts, |
| 435 | 435 | * paragraphs within tables, etc. What this actually *says* is far |
| 436 | 436 | * simpler than it looks; the equivalent SCSS is merely: |
| 437 | 437 | * |
| 438 | - * .artifact, .dir, .doc { | |
| 438 | + * .artifact, .dir, .doc, .wiki { | |
| 439 | 439 | * > .content, // wiki docs have no inner container |
| 440 | 440 | * > .content > .fossil-doc, // container for HTML embedded docs |
| 441 | 441 | * > .content > markdown { // ditto for MD outside forum, tickets… |
| 442 | 442 | * > div, > p, > ol, > ul, > table { |
| 443 | 443 | * margin-left: 50pt; margin-right: 50pt; |
| @@ -470,11 +470,20 @@ | ||
| 470 | 470 | .doc > .content > ol, .doc > .content > ul, |
| 471 | 471 | .doc > .content > .markdown > ol, .doc > .content > .markdown > ul, |
| 472 | 472 | .doc > .content > .fossil-doc > ol, .doc > .content > .fossil-doc > ul, |
| 473 | 473 | .doc > .content > table, |
| 474 | 474 | .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 { | |
| 476 | 485 | margin-left: 50pt; |
| 477 | 486 | margin-right: 50pt; |
| 478 | 487 | } |
| 479 | 488 | |
| 480 | 489 | /* Code blocks and such get extra indent. We need a selector explosion |
| 481 | 490 |
| --- 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 |