Difference between revisions of "Template:NYU-AD-Header"
Line 65: | Line 65: | ||
} | } | ||
− | . | + | .list { |
background:#397886; | background:#397886; | ||
width: 100%; | width: 100%; | ||
Line 78: | Line 78: | ||
} | } | ||
− | + | .list-item a, .dropdown-list-item a { | |
text-decoration: none; | text-decoration: none; | ||
opacity: 0.9; | opacity: 0.9; | ||
Line 84: | Line 84: | ||
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 98: | Line 98: | ||
transition: all 0.2s; | transition: all 0.2s; | ||
} | } | ||
− | a:visited{ | + | .dropdown-list-item { |
+ | width: 90px; | ||
+ | margin-right: 0px; | ||
+ | } | ||
+ | .list-item a:visited, .dropdown-list-item a:visited{ | ||
color: #F6F6F6; | color: #F6F6F6; | ||
} | } | ||
− | + | .dropdown1:hover > a,.dropdown2:hover > a { | |
opacity: 1; | opacity: 1; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | + | .dropdown-list { | |
padding: 0; | padding: 0; | ||
position: absolute; | position: absolute; | ||
Line 126: | Line 130: | ||
-transition: opacity 0.2s; | -transition: opacity 0.2s; | ||
} | } | ||
− | + | .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; | ||
Line 147: | Line 147: | ||
<img class="logo" src="https://static.igem.org/mediawiki/2015/1/15/NYU-AD_temp_logo.jpg"> | <img class="logo" src="https://static.igem.org/mediawiki/2015/1/15/NYU-AD_temp_logo.jpg"> | ||
<p class="title">Exterminator Coli<p> | <p class="title">Exterminator Coli<p> | ||
− | <ul class=" | + | <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><a href="https://2015.igem.org/Team:NYU-AD/Description">Description</a></li> | + | <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="#">Attributions</a></li> | + | <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:33, 9 September 2015