X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.skinning%2Fcontent.parsoid.less;h=31bb31868213b4c13d597397de998f8576a0a74a;hb=0ea9d4ca33d152a11e57b1bccdcbb1f9716b3ba2;hp=74911b7597e1acdd99fba7b132b2c99091a65f54;hpb=c9bef3d160724e84b9c876615cceddffadef73bc;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.skinning/content.parsoid.less b/resources/src/mediawiki.skinning/content.parsoid.less index 74911b7597..31bb318682 100644 --- a/resources/src/mediawiki.skinning/content.parsoid.less +++ b/resources/src/mediawiki.skinning/content.parsoid.less @@ -15,7 +15,7 @@ } .mw-body-content a[rel~="mw:ExtLink"]:empty:after { - content: "[" counter(mw-NumberedExtLink) "]"; + content: "[" counter( mw-NumberedExtLink ) "]"; counter-increment: mw-NumberedExtLink; } @@ -38,7 +38,8 @@ span.reference { unicode-bidi: isolate; } -sup, sub { +sup, +sub { line-height: 1; } @@ -54,7 +55,7 @@ figure[typeof*='mw:Image'] { &.mw-halign-right { /* @noflip */ - margin: .5em 0 1.3em 1.4em; + margin: 0.5em 0 1.3em 1.4em; /* @noflip */ clear: right; /* @noflip */ @@ -63,7 +64,7 @@ figure[typeof*='mw:Image'] { &.mw-halign-left { /* @noflip */ - margin: .5em 1.4em 1.3em 0; + margin: 0.5em 1.4em 1.3em 0; /* @noflip */ clear: left; /* @noflip */ @@ -77,7 +78,7 @@ figure[typeof*='mw:Image'] { } &.mw-halign-center { - margin: 0 auto .5em auto; + margin: 0 auto 0.5em auto; display: table; clear: none; float: none; @@ -118,7 +119,7 @@ figure[typeof~='mw:Image/Frame'] { background-color: #f9f9f9; // Default to right alignment. This is needed since Parsoid only specifies the // alignment class when the alignment is explicitly set. - margin: .5em 0 1.3em 1.4em; + margin: 0.5em 0 1.3em 1.4em; clear: right; float: right; } @@ -132,4 +133,6 @@ figure[typeof~='mw:Image/Frame'] > *:first-child > img, /* Hide the caption for frameless and plain floated images */ figure[typeof~="mw:Image/Frameless"] > figcaption, -figure[typeof~="mw:Image"] > figcaption { display: none } +figure[typeof~="mw:Image"] > figcaption { + display: none; +}