summaryrefslogtreecommitdiff
path: root/skins/Vector/skinStyles
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-06-04 07:31:04 +0200
committerPierre Schmitz <pierre@archlinux.de>2015-06-04 07:58:39 +0200
commitf6d65e533c62f6deb21342d4901ece24497b433e (patch)
treef28adf0362d14bcd448f7b65a7aaf38650f923aa /skins/Vector/skinStyles
parentc27b2e832fe25651ef2410fae85b41072aae7519 (diff)
Update to MediaWiki 1.25.1
Diffstat (limited to 'skins/Vector/skinStyles')
-rw-r--r--skins/Vector/skinStyles/jquery.ui/jquery.ui.core.css2
-rw-r--r--skins/Vector/skinStyles/mediawiki.sectionAnchor.less45
2 files changed, 46 insertions, 1 deletions
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;
+ }
+}