From 80b6958023cc51dd7f2182bd8597218c216160ac Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 31 Dec 2008 14:24:22 -0800 Subject: [PATCH] Nested lists need to be in
  • s themselves. Also add link styling to the navbar. * Decorator.css.php * docs/decoratortest.html --- Decorator.css.php | 27 +++++++++++++++++---------- docs/decoratortest.html | 8 +++++--- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/Decorator.css.php b/Decorator.css.php index a835df9..e585984 100644 --- a/Decorator.css.php +++ b/Decorator.css.php @@ -350,7 +350,6 @@ table .alt2 color: rgb(203, 234, 148); text-indent: 10px; - height: 50px; line-height: 50px; background-image: url(/DecoratorResources/nav-section.jpg); @@ -372,21 +371,18 @@ table .alt2 } /* Navigation items list */ -#nav ul ul +#nav ul li ul { margin: 0px; - - border-width: 0px 0px 1px 0px; - border-color: rgb(0, 0, 0); - border-style: solid; } /* Navigation items */ -#nav ul ul li +#nav ul li ul li { border: none; padding: 2px 4px 2px 10px; + margin: 0px; height: auto; @@ -399,18 +395,29 @@ table .alt2 background-image: none; } - #nav ul ul li:first-child + #nav ul li ul li:first-child { padding-top: 10px; } - #nav ul ul li:last-child + #nav ul li ul li:last-child { padding-bottom: 10px; } + + #nav ul li ul li a + { + text-decoration: none; + color: rgb(0, 0, 0); + } + + #nav ul li ul li a:hover + { + font-style: italic; + } /* Selected navigation items */ -#nav ul ul li.selected +#nav ul li ul li.selected { font-weight: bold; font-style: italic; diff --git a/docs/decoratortest.html b/docs/decoratortest.html index 5f5e921..9b4fb28 100644 --- a/docs/decoratortest.html +++ b/docs/decoratortest.html @@ -17,11 +17,13 @@