Team:Brown/templates/header
From 2010.igem.org
(Difference between revisions)
(16 intermediate revisions not shown) | |||
Line 22: | Line 22: | ||
#content { font-family: "Trebuchet MS", Helvetica, sans-serif; font-size: 1.14em; width: 949px;} | #content { font-family: "Trebuchet MS", Helvetica, sans-serif; font-size: 1.14em; width: 949px;} | ||
#footer-box {width: 949px;} | #footer-box {width: 949px;} | ||
+ | h1 { background: #DFE4EB; color: black; text-align:center; } | ||
h2 { background: #DFE4EB; border:0;border-top: 1px solid #B1BECF; color: black; font-weight:bold; } | h2 { background: #DFE4EB; border:0;border-top: 1px solid #B1BECF; color: black; font-weight:bold; } | ||
.panel img { width: 200px } /*bottom boxes width */ | .panel img { width: 200px } /*bottom boxes width */ | ||
Line 71: | Line 72: | ||
ul#nav li > a { background: #fff; color: black; z-index:500;} | ul#nav li > a { background: #fff; color: black; z-index:500;} | ||
ul#nav li:hover > a { color: #fff; background: #260603; z-index:500;} /* Menu subitem hover text */ | ul#nav li:hover > a { color: #fff; background: #260603; z-index:500;} /* Menu subitem hover text */ | ||
- | ul#nav > li > a { color:#000; background: # | + | ul#nav > li > a { color:#000; background: #DFE4EB; border: 0.1em solid #000000; font-weight:bold; font-variant: small-caps; text-align:center; z-index:500;} /*menu text properties*/ |
ul#nav > li:hover > a { } | ul#nav > li:hover > a { } | ||
- | ul# | + | ul#nav2, ul#nav2 ul { padding:0; margin:0; list-style-type: none; list-style-image: none;} |
- | ul# | + | ul#nav2 { position:centre; left: 3px;} |
- | ul# | + | ul#nav2 ul { display: none;} |
- | ul# | + | ul#nav2 li {float:left; position:relative; margin-bottom: 0;} |
- | ul# | + | ul#nav2 a { |
display:block; | display:block; | ||
width:12em; | width:12em; | ||
Line 89: | Line 90: | ||
text-indent:0.5em; | text-indent:0.5em; | ||
} | } | ||
- | ul# | + | ul#nav2 li:hover > ul { |
display:block; | display:block; | ||
position:absolute; | position:absolute; | ||
Line 95: | Line 96: | ||
top:0; | top:0; | ||
} | } | ||
- | ul# | + | ul#nav2 > li:hover > ul { |
left:0; | left:0; | ||
top:2.4em; /* ul#nav a height + 2*(ul#nav > li > ul border-width) */ | top:2.4em; /* ul#nav a height + 2*(ul#nav > li > ul border-width) */ | ||
} | } | ||
- | ul# | + | ul#nav2 > li { |
- | border: 0.5em solid # | + | border: 0.5em solid #632D2D; |
background: #003366; | background: #003366; | ||
} | } | ||
- | ul# | + | ul#nav2 > li:first-child { |
-moz-border-radius-topleft: 0.0em; | -moz-border-radius-topleft: 0.0em; | ||
} | } | ||
- | ul# | + | ul#nav2 > li:last-child { |
-moz-border-radius-topright: 0.0em; | -moz-border-radius-topright: 0.0em; | ||
} | } | ||
- | ul# | + | ul#nav2 li > ul { |
border: 0.2em solid #000; | border: 0.2em solid #000; | ||
-moz-border-radius: 0.2em; | -moz-border-radius: 0.2em; | ||
} | } | ||
- | ul# | + | ul#nav2 li > a { background: #fff; color: black;} |
- | ul# | + | ul#nav2 li:hover > a { color: #fff; background: #260603;} /* Menu subitem hover text */ |
- | ul# | + | ul#nav2 > li > a { color:#fff; background: #212121; border: 0.1em solid #000000; font-weight:bold; font-variant: small-caps; text-align:center;} /*menu text properties*/ |
- | ul# | + | ul#nav2 > li:hover > a { } |
Latest revision as of 08:57, 27 October 2010