From 32848667698ab75649c7115e2dab8f5a8a223b3a Mon Sep 17 00:00:00 2001 From: Jan Paul Posma Date: Thu, 28 Apr 2011 21:34:55 +0000 Subject: [PATCH] Moved the tab break from the link to the span. This allows for multiple icons, as icons overwrite this link image and thus wouldn't have a tab break. This was originally solved for the watchlist star by using a right margin, so this one is removed to prevent double borders. --- skins/vector/screen.css | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/skins/vector/screen.css b/skins/vector/screen.css index bb93bc78f6..1b36c1e74c 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -165,10 +165,6 @@ div#mw-head h5 { height: 1.9em; padding-left: 0.5em; padding-right: 0.5em; - /* @embed */ - background-image: url(images/tab-break.png); - background-position: bottom right; - background-repeat: no-repeat; color: #0645ad; cursor: pointer; font-size: 0.8em; @@ -177,6 +173,10 @@ div#mw-head h5 { div.vectorTabs li > a { display: block; } + div.vectorTabs li.icon a { + background-position: bottom right; + background-repeat: no-repeat; + } /* OVERRIDDEN BY COMPLIANT BROWSERS */ div.vectorTabs span a { display: inline-block; @@ -188,6 +188,13 @@ div#mw-head h5 { float: left; display: block; } + div.vectorTabs span { + display: inline-block; + /* @embed */ + background-image: url(images/tab-break.png); + background-position: bottom right; + background-repeat: no-repeat; + } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited{ color: #333333; @@ -1166,10 +1173,6 @@ div#bodyContent { } /* Watch/Unwatch Icon Styling */ -#ca-unwatch.icon, -#ca-watch.icon { - margin-right:1px; -} #ca-unwatch.icon a, #ca-watch.icon a { margin: 0; -- 2.20.1