diff options
Diffstat (limited to 'skins/Vector/skinStyles/mediawiki.sectionAnchor.less')
-rw-r--r-- | skins/Vector/skinStyles/mediawiki.sectionAnchor.less | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/skins/Vector/skinStyles/mediawiki.sectionAnchor.less b/skins/Vector/skinStyles/mediawiki.sectionAnchor.less new file mode 100644 index 00000000..6a748108 --- /dev/null +++ b/skins/Vector/skinStyles/mediawiki.sectionAnchor.less @@ -0,0 +1,45 @@ +@media screen { + .mw-headline-anchor { + margin-left: -16px; + width: 16px; + } + + .mw-content-ltr .mw-headline-anchor, + .mw-content-rtl .mw-content-ltr .mw-headline-anchor { + /* @noflip */ + margin-left: -16px; + /* @noflip */ + margin-right: 0; + } + + .mw-content-rtl .mw-headline-anchor, + .mw-content-ltr .mw-content-rtl .mw-headline-anchor { + /* @noflip */ + margin-left: 0; + /* @noflip */ + margin-right: -16px; + } +} + +@media screen and (min-width: 982px) { + .mw-headline-anchor { + margin-left: -20px; + width: 20px; + } + + .mw-content-ltr .mw-headline-anchor, + .mw-content-rtl .mw-content-ltr .mw-headline-anchor { + /* @noflip */ + margin-left: -20px; + /* @noflip */ + margin-right: 0; + } + + .mw-content-rtl .mw-headline-anchor, + .mw-content-ltr .mw-content-rtl .mw-headline-anchor { + /* @noflip */ + margin-left: 0; + /* @noflip */ + margin-right: -20px; + } +} |