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 --- skins/Vector/components/common.less | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'skins/Vector/components/common.less') diff --git a/skins/Vector/components/common.less b/skins/Vector/components/common.less index ac4b8509..088b373e 100644 --- a/skins/Vector/components/common.less +++ b/skins/Vector/components/common.less @@ -50,16 +50,14 @@ body { } h1, - h2, - #firstHeading { + h2 { font-family: @content-heading-font-family; line-height: @heading-line-height; margin-bottom: 0.25em; padding: 0; } - h1, - #firstHeading { + h1 { font-size: @content-heading-font-size; } @@ -98,6 +96,27 @@ body { font-size: 100%; /* (reset) */ font-family: @content-font-family; } + + .firstHeading { + /* Change the default from mediawiki.skinning CSS to let indicators float into heading area */ + overflow: visible; + } + + .mw-indicators { + float: right; + line-height: @content-line-height; + font-size: @content-font-size; + /* Ensure that this is displayed on top of .mw-body-content and clickable */ + position: relative; + z-index: 1; + } + + .mw-indicator { + display: -moz-inline-block; + display: inline-block; + zoom: 1; + *display: inline; + } } /* Hide empty portlets */ @@ -107,7 +126,7 @@ div.emptyPortlet { ul { list-style-type: disc; - .list-style-image('images/bullet-icon.png'); + .list-style-image-svg('images/bullet-icon.svg', 'images/bullet-icon.png'); } pre, .mw-code { @@ -123,12 +142,9 @@ pre, .mw-code { font-size: 140%; } -.redirectMsg img { - vertical-align: text-bottom; -} - .mw-body-content { position: relative; line-height: @content-line-height; font-size: @content-font-size; + z-index: 0; } -- cgit v1.2.2