Template:Team:UGA-Georgia/Templates/Header
From 2013.igem.org
(Difference between revisions)
m |
|||
(9 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | [[Image: | + | [[Image:Uga_igem_logo_complete.png|top]] |
<html> | <html> | ||
Line 160: | Line 160: | ||
} | } | ||
</script> | </script> | ||
+ | |||
+ | <html> | ||
+ | <head> | ||
+ | <title>CSS: drop down menu example</title> | ||
<style> | <style> | ||
- | + | body { | |
- | padding: 0; | + | margin: 0; |
- | + | padding: 0; | |
- | background: | + | font: 60% Arial; |
- | + | background: #C0C0C0; | |
- | + | ||
} | } | ||
- | + | #navigation { | |
- | + | margin: 0; | |
- | margin:0; | + | padding: 0 1em; |
- | padding:0; | + | background: #000; |
- | list-style:none; | + | height: 3em; |
+ | list-style: none; | ||
} | } | ||
- | + | #navigation > li { | |
- | + | float: left; | |
- | + | height: 100%; | |
- | + | margin-right: 0.5em; | |
- | + | padding: 0 0.6em; | |
} | } | ||
- | + | #navigation > li > a { | |
- | + | float: left; | |
- | float:left; | + | height: 100%; |
- | + | color: #F8F8F8; | |
- | + | text-decoration: none; | |
- | + | line-height: 3; | |
- | + | font-weight: bold; | |
- | + | text-transform: uppercase; | |
- | + | ||
} | } | ||
- | + | #navigation > li > a:hover { | |
- | + | color: red; | |
- | + | text-decoration: underline; | |
- | + | ||
- | + | ||
} | } | ||
- | . | + | #navigation > li.sub { |
- | + | position: relative; | |
} | } | ||
- | . | + | #navigation > li.sub ul { |
- | + | width: 10em; | |
+ | margin: 0; | ||
+ | padding: 0.5em 0; | ||
+ | list-style: none; | ||
+ | background: #008000; | ||
+ | position: absolute; | ||
+ | top: -1000em; | ||
} | } | ||
- | . | + | #navigation > li.sub ul li { |
- | + | width: 90%; | |
+ | margin: 0 auto 0.3em auto; | ||
} | } | ||
- | + | #navigation > li.sub ul li a { | |
- | + | height: 100%; | |
+ | display: block; | ||
+ | padding: 0.4em; | ||
+ | color: #fff; | ||
+ | font-weight: bold; | ||
+ | text-decoration: none; | ||
} | } | ||
- | . | + | #navigation > li.sub ul li a:hover { |
- | + | background: #008000; | |
- | + | color: #FF0000; | |
- | + | text-decoration: underline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #navigation > li.sub:hover ul { | |
- | + | top: 3em; | |
- | . | + | |
- | + | ||
- | top: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | </style> | ||
+ | </head> | ||
- | + | <body> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <ul id="navigation"> | |
- | + | ||
- | + | ||
- | + | <li><a href="https://2013.igem.org/Team:UGA-Georgia">Home</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Plan">Plan</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Protocol">Protocols</a></li> | |
- | + | <li class="sub"> | |
- | </ | + | |
- | </ | + | <a href="#">Notebook</a> |
- | < | + | |
- | < | + | <ul> |
+ | |||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/NotebookE.coli">E. coli</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/NotebookMethanococcus">Methanococcus</a></li> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Results">Results</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Parts">Parts</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Safety">Safety</a></li> | ||
+ | <li class="sub"> | ||
+ | <a href="#">Outreach</a> | ||
+ | |||
+ | <ul> | ||
+ | |||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Outreach/EngineeringSeminar">Engineering Seminar</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Outreach/ClarkeMiddleSchool">Clarke Middle School</a></li> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/humanpractice">Human Practice</a></li> | ||
+ | <li class="sub"> | ||
+ | <a href="#">The Team</a> | ||
+ | |||
+ | <ul> | ||
+ | |||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Team">Meet The Team</a></li> | ||
+ | <li><a href="https://igem.org/Team.cgi">Official Team Profile</a></li> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="https://2013.igem.org/Team:UGA-Georgia/Acknowledgements">Acknowledgements</a></li> | ||
+ | </ul> | ||
- | < | + | </body> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</html> | </html> |
Latest revision as of 23:01, 25 September 2013