From 7f25bd9c17c3f02a75dd15221c621bc2aade8d76 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Fri, 11 Jun 2010 22:01:19 +0000 Subject: [PATCH] SimpleSearch - switching several css rules from ems to px to ensure consistent rendering across browsers --- includes/DefaultSettings.php | 2 +- skins/vector/main-ltr.css | 10 +++++----- skins/vector/main-rtl.css | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index aff47628af..02ec8cd179 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1537,7 +1537,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches do not keep obsolete copies of global * styles. */ -$wgStyleVersion = '288'; +$wgStyleVersion = '289'; /** * This will cache static pages for non-logged-in users to reduce diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index 2156179fe1..a30ff7fd4d 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -347,7 +347,7 @@ div#mw-head h5 { margin-top: 0.4em; } div#simpleSearch { - margin-top: 0.5em; + margin-top: 0.65em; position: relative; border: solid 1px #AAAAAA; background-color: white; @@ -356,15 +356,15 @@ div#mw-head h5 { background-repeat: repeat-x; } div#simpleSearch label { - font-size: 0.8em; + font-size: 13px; top: 0.25em; } div#simpleSearch input#searchInput { margin: 0; border-width: 0; - padding: 0.25em; + padding: 3px; line-height: 1em; - font-size: 0.8em; + font-size: 13px; width: 14em; background-color: transparent; } @@ -373,7 +373,7 @@ div#mw-head h5 { margin: 0; padding: 0; width: 1.75em; - height: 1.5em; + height: 16px; border: none; cursor: pointer; background-color: transparent; diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 333e0bc957..df76f434f6 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -347,7 +347,7 @@ div#mw-head h5 { margin-top: 0.4em; } div#simpleSearch { - margin-top: 0.5em; + margin-top: 0.65em; position: relative; border: solid 1px #AAAAAA; background-color: white; @@ -356,15 +356,15 @@ div#mw-head h5 { background-repeat: repeat-x; } div#simpleSearch label { - font-size: 0.8em; + font-size: 13px; top: 0.25em; } div#simpleSearch input#searchInput { margin: 0; border-width: 0; - padding: 0.25em; + padding: 3px; line-height: 1em; - font-size: 0.8em; + font-size: 13px; width: 14em; background-color: transparent; } @@ -373,7 +373,7 @@ div#mw-head h5 { margin: 0; padding: 0; width: 1.75em; - height: 1.5em; + height: 16px; border: none; cursor: pointer; background-color: transparent; -- 2.20.1