foodsoft/public/stylesheets/nav.css

59 lines
1.4 KiB
CSS
Raw Normal View History

2009-01-06 11:49:19 +01:00
/* Navigation .... */
#nav {
position: relative;
height: 3em;
text-align: right;
margin-top: 5px; }
2009-01-06 11:49:19 +01:00
#nav ul {
padding: 0 0 0 0;
margin: -2.3em 0 0 0;
list-style: none; }
#nav ul li {
display: inline;
list-style: none;
padding: 0.3em 0 0.3em 0;
margin: 0 0 0 0.2em;
background: none;
vertical-align: middle; }
2009-01-06 11:49:19 +01:00
#nav ul li a {
margin: 0.1em 0 0 0;
text-align: center;
font-size: 1.1em;
font-weight: bold;
text-decoration: none;
color: #737272;
border: none;
background: #e3e3e3;
padding: 0.5em 1.2em 0.6em 1.2em;
2009-01-06 11:49:19 +01:00
margin-top: 0; }
#nav ul li a:hover {
color: #ed0606; }
2009-01-06 11:49:19 +01:00
#nav ul li ul {
display: none;
position: absolute;
margin: 0;
left: 0;
padding: 0.6em;
bottom: -1.4em;
right: 0em;
background: #ed0606; }
2009-01-06 11:49:19 +01:00
#nav ul li ul li {
border-left: 0.1em dotted white;
background: none; }
#nav ul li ul a, #nav ul li ul a:hover {
border: none;
background: none;
color: white;
2009-01-06 11:49:19 +01:00
font-style: normal;
font-size: 1em; }
#nav ul li.current a {
border: none;
border-bottom: none;
background: #ed0606;
2009-01-06 11:49:19 +01:00
padding-bottom: 0.6em;
color: white; }
2009-01-06 11:49:19 +01:00
#nav ul li.current ul {
display: inline; }
#nav ul li.current ul a {
background: none; }