X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.skinning%2Fcontent.css;h=d4c93fd2667d1d9823094b625bb4ac43efd85500;hb=69ae945e8d39972a07bea89ddb64bc0189b43ac2;hp=563db0098de9f5029030a308e09194831ea413b7;hpb=4d0d2dd13670ba9059e37136039908a7a86a1dd7;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.skinning/content.css b/resources/src/mediawiki.skinning/content.css index 563db0098d..d4c93fd266 100644 --- a/resources/src/mediawiki.skinning/content.css +++ b/resources/src/mediawiki.skinning/content.css @@ -89,7 +89,7 @@ table.toc td { display: table-cell; /* Text decorations are not propagated to the contents of inline blocks and inline tables, - according to , and 'display: table-cell' + according to , and 'display: table-cell' generates an inline table when used without any parent table-rows and tables. */ text-decoration: inherit; @@ -99,8 +99,8 @@ table.toc td { .tocnumber { padding-left: 0; padding-right: 0.5em; + color: #222; } - /* @noflip */ .mw-content-ltr .tocnumber { padding-left: 0; @@ -254,8 +254,9 @@ div.tleft { margin: .5em 1.4em 1.3em 0; } -/* Hide elements that are marked as "empty" according to legacy Tidy rules +/* Hide elements that are marked as "empty" according to legacy Tidy rules, + * except if a client script removes the mw-hide-empty-elt class from the body */ -.mw-empty-elt, .mw-empty-li { +body.mw-hide-empty-elt .mw-empty-elt { display: none; }