From ceeb0b43e6348db02089cd642bf4e7a54bc480ce Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sun, 3 Feb 2008 14:08:16 +0000 Subject: [PATCH 1/1] Reformat second menu bar to make it look slightly nicer. --- media/style/main.css | 30 ++++++++++++++++++++++++++++-- templates/base.html | 14 +++++++------- 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/media/style/main.css b/media/style/main.css index e00704b..14aa3ed 100644 --- a/media/style/main.css +++ b/media/style/main.css @@ -41,8 +41,6 @@ body #page #headerbar #menu { margin-right: 0; text-align: right; width: 100%; - border-top: thin solid #bababa; - border-bottom: thin solid #bababa; background: url(../img/menu-back.png); padding-top: 0.3em; padding-bottom: 0.3em; @@ -65,6 +63,34 @@ body #page #headerbar #menu ul li a:visited { text-decoration: none; } +body #page #content #submenu { + font-size: 100%; + margin-right: -0.8em; + margin-left: -0.8em; + text-align: left; + background: black; + padding-top: 0.2em; + padding-bottom: 0.2em; + top: 0; + left: 0; + position: relative; +} + +body #page #content #submenu ul { + display: inline; + font-size: 90%; +} + +body #page #content #submenu ul li, +body #page #content #submenu ul li a, +body #page #content #submenu ul li a:visited { + display: inline; + margin: 0; + color: #9a9a9a; + font-weight: bold; + text-decoration: none; +} + body #page #headerbar #menu ul li { padding-left: 1em; padding-right: 1em; diff --git a/templates/base.html b/templates/base.html index 06cc632..f76b66a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,15 +26,15 @@
{% block submenu %} - {% endblock %} {% block content %} {{ content }} -- 2.39.5