Fixed navigation menu spacing and alignment.

svn: r15014
This commit is contained in:
Rob G. Healey 2010-04-04 03:44:49 +00:00
parent cded0bcf9e
commit 1106d15cdc

View File

@ -199,56 +199,55 @@ p#user_header {
background-color:#542; background-color:#542;
} }
/* Navigation /* Navigation / SubNavigation
----------------------------------------------------- */ ----------------------------------------------------- */
#navigation, #subnavigation { div#navigation, div#subnavigation {
margin:0; width: 100%;
padding:0; margin: 0;
padding: 0;
border: solid 2px #000;
} }
#navigation ul, #subnavigation ul { div#navigation ul, div#subnavigation ul {
list-style:none; list-style:none;
min-width:770px; min-width: 900px;
height:32px; height: 24px;
margin:0; margin:0;
padding:0 0 0 5px; padding: 0px 0px 0px 9px;
background-color:#A97; border-bottom: solid 2px #000;
border-bottom:solid 1px #542;
} }
#navigation ul li, #subnavigation ul li { div#navigation ul li, div#subnavigation ul li {
margin:0; float: left;
float:left;
} }
#navigation ul li a, #subnavigation ul li a { div#navigation ul li:first-child, div#subnavigation ul li:first-child {
display:block; margin-left: 10px;
float:left; }
font:normal 16px/100% serif; div#navigation ul li:after, div#subnavigation ul li:after {
color:#542; content: "| ";
}
div#navigation ul li a, div#subnavigation ul li a {
bakground-color: #A97;
display: block;
padding: 4px 8px 4px 8px;
float: left;
font: .8em bold italic small-caps verdana, serif;
color: #000;
text-decoration:none; text-decoration:none;
margin:0; margin:0;
padding:6px 10px;
} }
#navigation ul li a:hover, #subnavigation ul li a:hover { div#navigation ul li a:hover, div#subnavigation ul li a:hover {
background-color:#C1B398; background-color: #FFF;
border-bottom:solid 1px #542; color: #453619;
} }
#navigation ul li.CurrentSection a, #subnavigation ul li.CurrentSection a { div#navigation ul li.CurrentSection a,
font-size:19px; div#subnavigation ul li.CurrentSection a {
margin-top:-6px; background-color: #C1B398;
padding-top:11px; color: #000;
padding-bottom:8px;
border-right:solid 1px #542;
border-left:solid 1px #542;
border-bottom:solid 1px #FFF;
background-color:#FFF;
} }
#navigation ul li.CurrentSection a:hover { div#navigation ul li.CurrentSection a:hover,
background-color:#FFF; div#subnavigation ul li.CurrentSection a:hover {
background-color: #000;
color: #FFF;
} }
#subnavigation ul li.CurrentSection a {
border-width:0 0 1px 0;
}
/* Alphabet Navigation /* Alphabet Navigation
----------------------------------------------------- */ ----------------------------------------------------- */
div#alphabet { div#alphabet {