From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- .../Vector/skinStyles/jquery.ui/jquery.ui.core.css | 2 +- .../Vector/skinStyles/mediawiki.sectionAnchor.less | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 skins/Vector/skinStyles/mediawiki.sectionAnchor.less (limited to 'skins/Vector/skinStyles') diff --git a/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css b/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css index 2e088ca1..d4f7db3b 100644 --- a/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css +++ b/skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css @@ -14,7 +14,7 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; border-collapse: collapse; } .ui-helper-clearfix:after { clear: both; } .ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } 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; + } +} -- cgit v1.2.2