summaryrefslogtreecommitdiff
path: root/skins/Vector/components/common.less
diff options
context:
space:
mode:
Diffstat (limited to 'skins/Vector/components/common.less')
-rw-r--r--skins/Vector/components/common.less34
1 files changed, 25 insertions, 9 deletions
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;
}