Team:Frankfurt/NavBarTemp/NavCss
From 2013.igem.org
(Difference between revisions)
(104 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <style type="text/css" > | + | <html> |
- | * | + | <head> |
- | + | ||
- | # | + | <title> Team: iGEM Frankfurt - 2012.igem.org </title> |
- | + | <style type="text/css"> | |
- | + | ||
- | + | ||
- | + | /* Adapted from iGEM British Columbia 2011 who adapted from TU Delft 2010's Pieter van Boheemen's Wiki Hacks and 2011 Queens_Canada Wiki code - START Wiki Hacks */ | |
- | + | /* | |
- | + | iGEM Frankfurt colors logo: | |
- | + | Main blue: #1c63b7 | |
+ | Light blue for the yeast cell: #589ce8 | ||
+ | Green: #00a000 | ||
+ | */ | ||
+ | |||
+ | #top-section { | ||
+ | border: none; | ||
+ | height: 0px; | ||
+ | width: 975px; | ||
+ | margin: 0; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | border-bottom: none; | ||
+ | margin-bottom: 0; | ||
+ | padding: 0; | ||
+ | font-size: 10pt; | ||
} | } | ||
- | + | ||
- | # | + | #menubar.left-menu { |
- | + | background-color: #1c63b7; | |
+ | width: 975px; | ||
+ | float: left; | ||
+ | border: none; | ||
} | } | ||
- | + | ||
- | # | + | #menubar.left-menu a { |
- | + | font-family: Tahoma, Geneva, sans-serif; | |
- | + | color: white; | |
+ | border: none; | ||
} | } | ||
- | + | ||
- | # | + | #menubar.right-menu { |
- | + | background-color: #1c63b7; | |
- | + | width:300px; | |
- | + | float:left; | |
- | + | border: none; | |
- | + | ||
- | + | ||
} | } | ||
- | + | #menubar.right-menu a { | |
- | # | + | font-family: Tahoma, Geneva, sans-serif; |
- | + | color: white; | |
+ | border: none; | ||
} | } | ||
- | + | ||
- | + | .right-menu ul { | |
- | + | border: none; | |
- | + | width: 300px; | |
+ | color: white; | ||
} | } | ||
- | + | ||
- | # | + | #search-controls { |
- | + | display: none; | |
- | + | margin-top: 0px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | # | + | #content { |
- | + | background-color: white; | |
- | + | border: none; | |
+ | color: black; | ||
+ | line-height: 1.5em; | ||
+ | padding-bottom: none; | ||
+ | margin-bottom: none; | ||
+ | font-family: Tahoma, Geneva, sans-serif; | ||
+ | font-smooth: always; | ||
} | } | ||
+ | |||
+ | .firstHeading { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #contentSub { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #footer-box { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #footer { | ||
+ | display: none; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | #catlinks { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #toc { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | background-color: #adcbe1; | ||
+ | text-align: justify; | ||
+ | box-shadow: 6px 6px 6px #277f0a; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* END Wiki Hacks */ | ||
+ | #menu{ | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 10px 0 0 0; | ||
+ | list-style: none; | ||
+ | background: #1C86EE; | ||
+ | background: -moz-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #1C86EE),color-stop(1, #1c63b7)); | ||
+ | background: -webkit-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: -o-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: -ms-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: linear-gradient(#1c63b7, #1C86EE); | ||
+ | -moz-border-radius: 50px; | ||
+ | border-radius: 50px; | ||
+ | -moz-box-shadow: 0 2px 1px #9c9c9c; | ||
+ | -webkit-box-shadow: 0 2px 1px #9c9c9c; | ||
+ | box-shadow: 0 2px 1px #9c9c9c; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #menu li{ | ||
+ | float: left; | ||
+ | padding: 0 0 10px 0; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #menu a{ | ||
+ | float: left; | ||
+ | height: 25px; | ||
+ | padding: 0 25px; | ||
+ | color: #7FFF00 ; | ||
+ | text-transform: uppercase; | ||
+ | font: bold 12px/25px Arial, Helvetica; | ||
+ | text-decoration: none; | ||
+ | text-shadow: 0 1px 0 #000; | ||
+ | } | ||
+ | |||
+ | #menu li:hover > a{ | ||
+ | color: #1c63b7 ; | ||
+ | } | ||
+ | |||
+ | *html #menu li a:hover{ /* IE6 */ | ||
+ | color: #1c63b7 ; | ||
+ | } | ||
+ | |||
+ | #menu li:hover > ul{ | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | /* Sub-menu */ | ||
+ | |||
+ | #menu ul{ | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | top: 35px; | ||
+ | left: 0; | ||
+ | z-index: 99999; | ||
+ | background: #1c63b7; | ||
+ | background: -moz-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #1C86EE),color-stop(1, #1c63b7)); | ||
+ | background: -webkit-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: -o-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: -ms-linear-gradient(#1c63b7, #1C86EE); | ||
+ | background: linear-gradient(#1c63b7, #1C86EE); | ||
+ | -moz-border-radius: 5px; | ||
+ | border-radius: 5px; | ||
+ | } | ||
+ | |||
+ | #menu ul li{ | ||
+ | float: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | display: block; | ||
+ | -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777; | ||
+ | -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777; | ||
+ | box-shadow: 0 1px 0 #111111, 0 2px 0 #777777; | ||
+ | } | ||
+ | |||
+ | #menu ul li:last-child{ | ||
+ | -moz-box-shadow: none; | ||
+ | -webkit-box-shadow: none; | ||
+ | box-shadow: none; | ||
+ | } | ||
+ | |||
+ | #menu ul a{ | ||
+ | padding: 10px; | ||
+ | height: auto; | ||
+ | line-height: 1; | ||
+ | display: block; | ||
+ | white-space: nowrap; | ||
+ | float: none; | ||
+ | text-transform: none; | ||
+ | } | ||
+ | |||
+ | *html #menu ul a{ /* IE6 */ | ||
+ | height: 10px; | ||
+ | width: 150px; | ||
+ | } | ||
+ | |||
+ | *:first-child+html #menu ul a{ /* IE7 */ | ||
+ | height: 10px; | ||
+ | width: 150px; | ||
+ | } | ||
+ | |||
+ | #menu ul a:hover{ | ||
+ | background: #00CD00 ; | ||
+ | background: -moz-linear-gradient(#00EE00 , #00CD00); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, from(#00EE00), to(#00CD00)); | ||
+ | background: -webkit-linear-gradient(#00EE00, #00CD00); | ||
+ | background: -o-linear-gradient(#00EE00, #00CD00); | ||
+ | background: -ms-linear-gradient(#00EE00, #00CD00); | ||
+ | background: linear-gradient(#00EE00, #00CD00); | ||
+ | } | ||
+ | |||
+ | #menu ul li:first-child a{ | ||
+ | -moz-border-radius: 5px 5px 0 0; | ||
+ | -webkit-border-radius: 5px 5px 0 0; | ||
+ | border-radius: 5px 5px 0 0; | ||
+ | } | ||
+ | |||
+ | #menu ul li:first-child a:after{ | ||
+ | content: ''; | ||
+ | position: absolute; | ||
+ | left: 30px; | ||
+ | top: -8px; | ||
+ | width: 0; | ||
+ | height: 0; | ||
+ | border-left: 5px solid transparent; | ||
+ | border-right: 5px solid transparent; | ||
+ | border-bottom: 8px solid #444; | ||
+ | } | ||
+ | |||
+ | #menu ul li:first-child a:hover:after{ | ||
+ | border-bottom-color: #04acec; | ||
+ | } | ||
+ | |||
+ | #menu ul li:last-child a{ | ||
+ | -moz-border-radius: 0 0 5px 5px; | ||
+ | -webkit-border-radius: 0 0 5px 5px; | ||
+ | border-radius: 0 0 5px 5px; | ||
+ | } | ||
+ | |||
+ | /* Clear floated elements */ | ||
+ | #menu:after{ | ||
+ | visibility: hidden; | ||
+ | display: block; | ||
+ | font-size: 0; | ||
+ | content: " "; | ||
+ | clear: both; | ||
+ | height: 0; | ||
+ | } | ||
+ | |||
+ | h1 { | ||
+ | color: #1c63b7; | ||
+ | font-size: 40px; | ||
+ | margin-bottom: 0.8px; | ||
+ | padding-bottom:0.35em; | ||
+ | line-height: 1.1em; | ||
+ | font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | } | ||
+ | |||
+ | h2 { | ||
+ | color: #1c63b7; | ||
+ | font-size: 30px; | ||
+ | line-height: 1.1em; | ||
+ | margin-bottom: 0.8em; | ||
+ | padding-bottom:0.35em; | ||
+ | font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | } | ||
+ | |||
+ | h3 { | ||
+ | color: #1c63b7; | ||
+ | font-size: 20px; | ||
+ | margin-bottom: 1em; | ||
+ | padding-left:20px; | ||
+ | padding-bottom:0.35em; | ||
+ | font-weight: normal; | ||
+ | line-height: 0.8em; | ||
+ | font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | } | ||
+ | |||
+ | .shadow { | ||
+ | box-shadow: 0px 0px 18px #1c63b7; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | <div class="shadow"> | ||
+ | <map name="headermap"> | ||
+ | <area shape="rect" coords="1,100,950,200" href="http://www.uni-frankfurt.de/" /> | ||
+ | </map> | ||
+ | |||
+ | <div id="wrap"> | ||
+ | <div id="header"><img align="center" style="margin-bottom:0px; margin-top:20px; margin-left: 20px; padding:0;width: 90%" src="https://static.igem.org/mediawiki/2013/e/e7/IGEM-LOGO.png" usemap="#headermap" alt="iGEM Frankfurt Header"> </div> | ||
+ | <div id="left"> | ||
+ | |||
+ | <ul id="menu"> | ||
+ | <li><a href="/Team:Frankfurt">Home</a></li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropdown-toggle" data-toggle="dropdown" href="#">Team <b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Team/WhoWeAre">Who we are</a></li> | ||
+ | <li><a href="https://igem.org/Team.cgi?year=2013&team_name=Frankfurt">Official Team Profile</a></li> | ||
+ | |||
+ | <li><a href="mailto:seb.roy@t-online.de">Contact us</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropdown-toggle" data-toggle="dropdown" href="#">Project <b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Project/Description">Description</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Project/Methods">Methods </a></li> | ||
+ | <li class="divider"></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Project/Results">Results </a></li> | ||
+ | <li><a href="/Team:Frankfurt/Biobricks">Biobricks</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Project/Perspectives">Perspectives </a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Project/Organism">Organisms</a></li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropdown-toggle" data-toggle="dropdown" href="#">Notebook<b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Notebook/Protocol">Protocols</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Notebook/Labwork">Labwork</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/Notebook/Safety">Safety</a></li> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropdown-toggle" data-toggle="dropdown" >Human Practices<b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2013.igem.org/Team:Frankfurt/HumanPractices/NoS">Night of Science</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="/Team:Frankfurt/Attributions">Attributions</a></li> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | </body> | ||
+ | |||
+ | </html> |
Latest revision as of 21:40, 4 October 2013