Template:Berkeley CSS
From 2010.igem.org
(Difference between revisions)
(31 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/CSS"> | <style type="text/CSS"> | ||
- | #mainMenu { | + | .shadow { |
- | + | -moz-box-shadow: 3px 3px 4px #000; | |
+ | -webkit-box-shadow: 3px 3px 4px #000; | ||
+ | box-shadow: 3px 3px 4px #000; | ||
+ | } | ||
+ | |||
+ | a:link, a:visited, | ||
+ | a:hover, a:active { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | div#mainMenu { | ||
+ | margin: 0px auto; | ||
+ | background: #334D66; | ||
+ | width: 100%; | ||
+ | float: left; | ||
} | } | ||
Line 11: | Line 25: | ||
margin: 0; | margin: 0; | ||
padding: 1px 5px; | padding: 1px 5px; | ||
+ | } | ||
+ | |||
+ | ul.dropdown a { | ||
+ | color: white; | ||
} | } | ||
Line 18: | Line 36: | ||
float: left; | float: left; | ||
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; | font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
+ | color: white; | ||
+ | background: #334D66; | ||
} | } | ||
ul.dropdown li { | ul.dropdown li { | ||
+ | float: left; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
vertical-align: middle; | vertical-align: middle; | ||
zoom: 1; | zoom: 1; | ||
- | + | min-width: 105px; | |
} | } | ||
Line 32: | Line 53: | ||
z-index: 599; | z-index: 599; | ||
cursor: default; | cursor: default; | ||
+ | background: #3366FF; | ||
} | } | ||
Line 40: | Line 62: | ||
left: 0; | left: 0; | ||
z-index: 598; | z-index: 598; | ||
- | + | background: #334D66; | |
} | } | ||
ul.dropdown ul li { | ul.dropdown ul li { | ||
- | float: | + | float: left; |
+ | min-width: 150px; | ||
} | } | ||
Latest revision as of 02:44, 26 October 2010