From 08ca5c410b2a5b44642b7030ea5c4d0a433a6aeb Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Sun, 23 Oct 2011 14:50:29 +0000 Subject: [PATCH] CSS tweaks to fix formatting when viewed with large default font sizes (up to 16pt font). PR: 91539 Submitted by: Greg 'groggy' Lehey (grog%lemis @ com) Reviewed by: remko Output reviewed by: dougb, linimon, eadler No objection from: silence on -www@ --- en/layout/css/layout.css | 8 ++++---- en/layout/css/navigation.css | 9 ++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/en/layout/css/layout.css b/en/layout/css/layout.css index 6c72f5dccc..2ae5ae996e 100644 --- a/en/layout/css/layout.css +++ b/en/layout/css/layout.css @@ -1,7 +1,7 @@ /* * FreeBSD.org - Layout Styles * - * $FreeBSD$ + * $FreeBSD: www/en/layout/css/layout.css,v 1.12 2011/06/12 08:45:47 simon Exp $ */ /* Container Definitions */ @@ -40,7 +40,7 @@ border: 0px; padding: 0px; top: 0px; - margin: 0px; + margin-left: -4%; float: left; } @@ -51,8 +51,8 @@ #HEADERLOGORIGHT, #headerlogoright { position: relative; border: 0px; - padding: 0px; - margin: 0px; + padding-left: 0px; + margin-right: -4%; float: right; } diff --git a/en/layout/css/navigation.css b/en/layout/css/navigation.css index a42f1afe69..d855c48ee6 100644 --- a/en/layout/css/navigation.css +++ b/en/layout/css/navigation.css @@ -1,7 +1,7 @@ /* * FreeBSD.org - Navigation (and List) Styles * - * $FreeBSD: www/en/layout/css/navigation.css,v 1.6 2008/01/16 02:10:22 murray Exp $ + * $FreeBSD: www/en/layout/css/navigation.css,v 1.7 2009/07/06 22:09:22 danger Exp $ */ /* Site Navigation */ @@ -74,11 +74,14 @@ /* New drop-down menu implementation */ #MENU { - width: 100%; + width: 122%; float: left; height: 29px; font-size: 0.9em; - margin: 5px 0 2px 0; + clear: both; + margin-left: -1%; + margin-right: -5%; + margin-top: 5px; font-weight: bold; }