From 467f0c6b93155bf4744cacb275023cff53f7599c Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 22 Nov 2013 08:31:59 +0100 Subject: [PATCH] Slightly better tabs --- public_html/media/css/tabs.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/public_html/media/css/tabs.css b/public_html/media/css/tabs.css index 70196b2c..b8329313 100644 --- a/public_html/media/css/tabs.css +++ b/public_html/media/css/tabs.css @@ -1,6 +1,6 @@ .tabs ul { list-style-type: none; - margin: 0 0 1em 0; + margin: -4px 0 1em 0; padding: 0; border-bottom: 1px solid #ccc; } @@ -11,18 +11,17 @@ .tabs li a { display: inline-block; padding: 0.5em 1em; - margin-bottom: -1px; -} - -.tabs li a { - border: 1px solid white; + margin: 5px 0 -1px 0; + vertical-align: middle; + border: 1px none; border-bottom: 1px solid #ccc; color: silver; } .tabs li.selected a { border: 1px solid #ccc; - border-bottom: 1px solid white; + border-bottom: none; color: inherit; + background: white; } .tabs li a:focus {