Template:Freiburg2013 Template
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 2: | Line 2: | ||
<head> | <head> | ||
- | <style type="text/css"> | + | <style type="text/css"> |
.firstHeading { /* Gets rid of the default iGEM picture*/ | .firstHeading { /* Gets rid of the default iGEM picture*/ | ||
height:2px; | height:2px; | ||
Line 17: | Line 17: | ||
border-right-width:0px; | border-right-width:0px; | ||
padding: 0px 5px 0px 5px; | padding: 0px 5px 0px 5px; | ||
- | + | ||
} | } | ||
#footer-box { | #footer-box { | ||
- | + | ||
background:none; | background:none; | ||
border:none; | border:none; | ||
Line 29: | Line 29: | ||
display: table-cell; | display: table-cell; | ||
background: transparent; | background: transparent; | ||
- | margin-left: | + | margin-top:90px; |
+ | margin-left: 200px; | ||
margin-right: 230px; | margin-right: 230px; | ||
} | } | ||
Line 49: | Line 50: | ||
#top-section | #top-section | ||
{ | { | ||
- | heigth: | + | heigth:0px; |
width: 100%; | width: 100%; | ||
margin:0px; | margin:0px; | ||
Line 64: | Line 65: | ||
display:none; | display:none; | ||
} | } | ||
- | #search-controls { | + | #search-controls { |
display:none; | display:none; | ||
margin-top:0px; | margin-top:0px; | ||
Line 75: | Line 76: | ||
body { | body { | ||
width:100%; | width:100%; | ||
- | background: #FFFFFF ; | + | background: #FFFFFF ; |
padding: 0; | padding: 0; | ||
- | margin: | + | margin-top:-80px; |
} | } | ||
#navbar img { | #navbar img { | ||
Line 87: | Line 88: | ||
#bild span {visibility:visible;} | #bild span {visibility:visible;} | ||
- | |||
- | |||
- | |||
#menu { | #menu { | ||
Line 133: | Line 131: | ||
#menu a:hover { | #menu a:hover { | ||
background: #C0C0C0; | background: #C0C0C0; | ||
+ | |||
} | } | ||
Line 140: | Line 139: | ||
} | } | ||
- | + | #navbar ul { | |
position: absolute; | position: absolute; | ||
z-index: 500; | z-index: 500; | ||
} | } | ||
- | # | + | #navbar ul ul { position: absolute; top: 10px; left: 50%; } |
- | + | #navbar ul, | |
- | + | #navbar li:hover ul ul, | |
- | + | #navbar ul li:hover ul ul | |
{display: none; | {display: none; | ||
} | } | ||
- | + | #navbar li:hover ul, | |
- | + | #navbar ul li:hover ul, | |
- | + | #navbar ul ul li:hover ul, | |
- | {display: block; | + | #navbar li:hover img |
- | + | {display: block; | |
+ | visibility:visible; | ||
+ | margin: 0; | ||
+ | padding: 0; } | ||
Line 176: | Line 178: | ||
#header {padding-top:0px;} | #header {padding-top:0px;} | ||
- | |||
Line 182: | Line 183: | ||
- | + | #Fusszeile { | |
+ | clear: both; | ||
+ | font-size: 0.9em; | ||
+ | margin: 0; padding: 0.1em; | ||
+ | text-align: center; | ||
+ | |||
+ | } | ||
#right {float:right; | #right {float:right; | ||
Line 190: | Line 197: | ||
width:70%;} | width:70%;} | ||
- | |||
- | |||
- | |||
</style> | </style> | ||
- | + | <script> | |
+ | sfHover = function() | ||
+ | { | ||
+ | var sfEls = document.getElementById("navbar").getElementsByTagName("li"); | ||
+ | for (var i=0; i<sfEls.length; i++) | ||
+ | { | ||
+ | sfEls[i].onmouseover=function() | ||
+ | { | ||
+ | this.className+=" hover"; | ||
+ | } | ||
+ | sfEls[i].onmouseout=function() | ||
+ | { | ||
+ | this.className=this.className.replace(new RegExp(" hover\\b"), ""); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | if (window.attachEvent) window.attachEvent("onload", sfHover); | ||
+ | </script> | ||
Line 204: | Line 225: | ||
<div id="logo"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/></div> | <div id="logo"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/></div> | ||
- | <div id="offwiki"><a href="https://2013.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%"/ | + | <div id="offwiki"><a href="https://2013.igem.org/Main_Page"></a><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%"/></div> |
</div> | </div> | ||
Line 212: | Line 233: | ||
<li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg">Home</a> | <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg">Home</a> | ||
</li> | </li> | ||
- | <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/ | + | <li><a href="https://2013.igem.org/Team:Freiburg/Team">Team</a><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/> |
<ul> | <ul> | ||
<li><a href="https://2013.igem.org/Team:Freiburg/Team2">Members</a></li> | <li><a href="https://2013.igem.org/Team:Freiburg/Team2">Members</a></li> | ||
Line 277: | Line 298: | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | <div id="Text"> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
</body> | </body> |
Revision as of 19:22, 27 June 2013