From 58f3df6fefd7886f4a6765343354eb6e32503b1e Mon Sep 17 00:00:00 2001 From: Francesca Ciceri Date: Tue, 1 Mar 2011 19:43:23 +0100 Subject: [PATCH] Modified langContainer and langSelector to uniform it with the one present on www.d.o, and added a small tweak to avoid right sidebar overlapping footer; closes bug #612772 --- static/debian.css | 19 ++++++++----------- static/debpkg.css | 1 + 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/static/debian.css b/static/debian.css index 9bf6a63..6aeb222 100644 --- a/static/debian.css +++ b/static/debian.css @@ -832,15 +832,16 @@ div.tabular table > td:fist-child, table.tabular > td:fist-child, table.vendors } #langSelector { - color: #0035c7; - text-decoration: underline; +/* color: #0035c7; + text-decoration: underline; */ } #langSelector:hover { - cursor: pointer; - text-decoration: none; +/* cursor: pointer; + text-decoration: none; */ } #langContainer { - #background-color: #f5f6f7; + padding-top: 0.5em; +/* #background-color: #f5f6f7; background-color: white; background-image:url('Pics/gradient-flipped.png'); background-position: bottom; @@ -850,16 +851,12 @@ div.tabular table > td:fist-child, table.tabular > td:fist-child, table.vendors left: -1em; border-bottom: 1px solid #dfdfe0; margin-right: -1em; - min-width: 100%; /* make it reach the right edge if only a few + min-width: 100%; */ /* make it reach the right edge if only a few languages are available */ - padding: 0.5em 1em 1em 1em; -} + } #langContainer a { margin-right: 1em; } -#pageLang { - position: relative; -} #pageLang:hover #langContainer { display: block; } diff --git a/static/debpkg.css b/static/debpkg.css index 9b7e6d3..95830bb 100644 --- a/static/debpkg.css +++ b/static/debpkg.css @@ -24,6 +24,7 @@ #footer { padding-right: 10px; margin-left: 52px; + clear: both; /* added because right sidebar overlaps footer */ } #pnavbar { font-size: 0.75em; -- 2.39.2