Difference between revisions of "Template:NYU-AD-Header2"
Line 3: | Line 3: | ||
<head> | <head> | ||
<style> | <style> | ||
− | + | #globalWrapper,#content{ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
width: 99.5%; | width: 99.5%; | ||
− | + | } | |
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
#main-container{ | #main-container{ | ||
width: 100%; | width: 100%; | ||
Line 42: | Line 32: | ||
position: fixed; | position: fixed; | ||
float:right; | float:right; | ||
− | padding-top: | + | padding-top: 15px; |
− | top: - | + | top:-1px; |
+ | left: -1px; | ||
+ | |||
+ | |||
} | } | ||
#header-container .arrow { | #header-container .arrow { | ||
Line 65: | Line 58: | ||
} | } | ||
} | } | ||
− | + | .list { | |
text-align: right; | text-align: right; | ||
display: inline; | display: inline; | ||
Line 76: | Line 69: | ||
} | } | ||
− | + | .list-item a { | |
text-decoration: none; | text-decoration: none; | ||
opacity: 0.9; | opacity: 0.9; | ||
Line 82: | Line 75: | ||
font-family: Helvetica, Arial, sans-serif; | font-family: Helvetica, Arial, sans-serif; | ||
} | } | ||
− | + | .list-item, .dropdown-list-item { | |
font: bold 12px/18px sans-serif; | font: bold 12px/18px sans-serif; | ||
display: inline-block; | display: inline-block; | ||
Line 96: | Line 89: | ||
transition: all 0.2s; | transition: all 0.2s; | ||
} | } | ||
− | + | .dropdown-list-item { | |
− | + | width: 90px; | |
+ | margin-right: 0px; | ||
+ | } | ||
+ | .list-item:hover > a { | ||
opacity: 1; | opacity: 1; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | + | .dropdown-list { | |
padding: 0; | padding: 0; | ||
position: absolute; | position: absolute; | ||
Line 121: | Line 117: | ||
-transition: opacity 0.2s; | -transition: opacity 0.2s; | ||
} | } | ||
− | + | .dropdown-list-item { | |
left:0; | left:0; | ||
text-shadow: 0 -1px 0 #000; | text-shadow: 0 -1px 0 #000; | ||
} | } | ||
− | + | .dropdown-list-item:hover{ | |
background: #2B2B2B; | background: #2B2B2B; | ||
border-radius:5px; | border-radius:5px; | ||
} | } | ||
− | + | .list-item:hover .dropdown-list { | |
display: block; | display: block; | ||
opacity: 1; | opacity: 1; | ||
visibility: visible; | visibility: visible; | ||
} | } | ||
− | a:visited { | + | .list-item a:visited , .dropdown-list-item a:visited{ |
color: white; | color: white; | ||
} | } | ||
− | a:hover { | + | .list-item a:hover , .dropdown-list-item a:hover{ |
color: #66cccc; | color: #66cccc; | ||
} | } | ||
Line 146: | Line 142: | ||
<div id="main-container"> | <div id="main-container"> | ||
<div id="header-container"> | <div id="header-container"> | ||
− | <p class="title">Exterminator Coli< | + | <p class="title">Exterminator Coli<p> |
− | <ul | + | <ul class="list"> |
− | <li class=" | + | <li class="list-item"> <a href="#">Home</a></li> |
− | <li class=" | + | <li class="list-item"> |
<a href="#" data-toggle="dropdown">Project <span class="arrow">▼</span><i class="icon-arrow"></i></a> | <a href="#" data-toggle="dropdown">Project <span class="arrow">▼</span><i class="icon-arrow"></i></a> | ||
− | <ul class="dropdown- | + | <ul class="dropdown-list"> |
− | + | <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Description">Description</a></li> | |
− | <li><a href="https://2015.igem.org/Team:NYU-AD/Experiments">Experiments & Protocols</a></li> | + | <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Experiments">Experiments & Protocols</a></li> |
− | <li><a href="https://2015.igem.org/Team:NYU-AD/Results">Results</a></li> | + | <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Results">Results</a></li> |
− | <li><a href="https://2015.igem.org/Team:NYU-AD/Design">Design</a></li> | + | <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Design">Design</a></li> |
+ | |||
</ul> | </ul> | ||
</li> | </li> | ||
− | <li class=" | + | <li class="list-item"> |
<a href="#" data-toggle="dropdown">Achievements<span class="arrow">▼</span><i class="icon-arrow"></i></a> | <a href="#" data-toggle="dropdown">Achievements<span class="arrow">▼</span><i class="icon-arrow"></i></a> | ||
− | <ul class="dropdown- | + | <ul class="dropdown-list"> |
− | <li><a href="#">Parts</a></li> | + | <li class="dropdown-list-item"><a href="#">Parts</a></li> |
− | <li><a href="#">Results</a></li> | + | <li class="dropdown-list-item"><a href="#">Results</a></li> |
− | <li><a href="#">Medal Fulfillment</a></li> | + | <li class="dropdown-list-item"><a href="#">Medal Fulfillment</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
− | <li class=" | + | <li class="list-item"> |
<a href="#" data-toggle="dropdown">Notebook <span class="arrow">▼</span><i class="icon-arrow"></i></a> | <a href="#" data-toggle="dropdown">Notebook <span class="arrow">▼</span><i class="icon-arrow"></i></a> | ||
− | <ul class="dropdown- | + | <ul class="dropdown-list"> |
− | <li><a href="#">Day Notes</a></li> | + | <li class="dropdown-list-item"><a href="#">Day Notes</a></li> |
− | <li><a href="#">Protocols</a></li> | + | <li class="dropdown-list-item"><a href="#">Protocols</a></li> |
− | <li><a href="#">Bibliography</a></li> | + | <li class="dropdown-list-item"><a href="#">Bibliography</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
− | <li class=" | + | <li class="list-item"> <a href="#">Modelling</a></li> |
− | <li class=" | + | <li class="list-item"> |
<a href="#" data-toggle="dropdown">About Us <span class="arrow">▼</span><i class="icon-arrow"></i></a> | <a href="#" data-toggle="dropdown">About Us <span class="arrow">▼</span><i class="icon-arrow"></i></a> | ||
− | <ul class="dropdown- | + | <ul class="dropdown-list"> |
− | <li><a href="#">Meet The Team</a></li> | + | <li class="dropdown-list-item"><a href="#">Meet The Team</a></li> |
− | <li><a href="#">Advisors</a></li> | + | <li class="dropdown-list-item"><a href="#">Advisors</a></li> |
− | <li><a href=" | + | <li class="dropdown-list-item"><a href="#">Attributions</a></li> |
− | <li><a href="#">Gallery</a></li> | + | <li class="dropdown-list-item"><a href="#">Gallery</a></li> |
</ul> | </ul> | ||
</li> | </li> |
Revision as of 10:54, 9 September 2015