diff --git a/resources/components/common.less b/resources/components/common.less index 6a740c9c..b6c9f85e 100644 --- a/resources/components/common.less +++ b/resources/components/common.less @@ -511,6 +511,10 @@ a { overflow-wrap: break-word; } + p:first-of-type { + margin-top: 0; + } + h2 { font-size: @content-h2-size; } diff --git a/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less b/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less index 51b28369..6c47c0ae 100644 --- a/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less +++ b/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less @@ -73,6 +73,49 @@ } } +.multipageimage { + display: flex; + justify-content: center; + overflow: visible; + + .fullImageLink { + margin: 0 !important; + } + + > a > img { + margin: 0; + } + + tr { + display: flex; + flex-direction: column; + } + + .multipageimagenavbox { + margin-top: 0.8rem; + display: flex; + align-items: center; + justify-content: space-between; + + .thumb { + margin: 0 !important; + + &:first-of-type { + order: -1; + } + + .lazy { + filter: none !important; + } + } + + hr, + br { + display: none; + } + } +} + @media only screen and ( max-width: @screen2 ) { .fullImageLink { /* stylelint-disable unit-no-unknown */