X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.skinning%2Fcontent.parsoid.less;h=3f3383753479fec1d33c411d44694ebb2f985759;hb=c6ad2554f40f8ebbe9e38ac64ea933076f348729;hp=27ecb1a4c799e2535c5163a46226b9cb7bb1fbde;hpb=733993fa54ecd9d55e52c88ed44be343b9a8abed;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.skinning/content.parsoid.less b/resources/src/mediawiki.skinning/content.parsoid.less index 27ecb1a4c7..3f33837534 100644 --- a/resources/src/mediawiki.skinning/content.parsoid.less +++ b/resources/src/mediawiki.skinning/content.parsoid.less @@ -55,7 +55,7 @@ figure[ typeof*='mw:Audio' ] { &.mw-halign-right { /* @noflip */ - margin: 0.5em 0 1.3em 1.4em; + margin: 0 0 0.5em 0.5em; /* @noflip */ clear: right; /* @noflip */ @@ -64,7 +64,7 @@ figure[ typeof*='mw:Audio' ] { &.mw-halign-left { /* @noflip */ - margin: 0.5em 1.4em 1.3em 0; + margin: 0 0.5em 0.5em 0; /* @noflip */ clear: left; /* @noflip */ @@ -116,6 +116,15 @@ figure[ typeof~='mw:Audio/Frame' ] { clear: right; float: right; + &.mw-halign-left { + /* @noflip */ + margin: 0.5em 1.4em 1.3em 0; + } + &.mw-halign-right { + /* @noflip */ + margin: 0.5em 0 1.3em 1.4em; + } + > *:first-child { > img, > video { @@ -126,6 +135,7 @@ figure[ typeof~='mw:Audio/Frame' ] { > figcaption { display: block; + word-break: break-word; /* In mw-core the font-size is duplicated, 94% in thumbiner * and again 94% in thumbcaption. 88.4% for font size of the