(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | < | + | <head> |
− | + | ||
− | + | ||
− | + | ||
− | <!-- | + | <!-- |
+ | > CSS is inlined into the webpage for sake of speed | ||
+ | --> | ||
− | <style> | + | <!-- Banner CSS --> |
− | + | ||
+ | <style> | ||
+ | |||
+ | |||
+ | #content { | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | #bars_item img { | ||
+ | max-width: none; | ||
+ | } | ||
+ | |||
+ | #top_title { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #content { | ||
+ | margin-top: -18px; | ||
+ | } | ||
+ | |||
+ | #sideMenu { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .ucla-scroll-down { | ||
+ | display: block; | ||
+ | margin: 10px auto; | ||
+ | width: 50px; | ||
+ | } | ||
+ | .top-bar { | ||
+ | width: 100%; | ||
+ | } | ||
+ | #header-menu h2 { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | body { | ||
margin: 0; | margin: 0; | ||
margin-top: 16px; | margin-top: 16px; | ||
Line 20: | Line 60: | ||
#footer-bar { | #footer-bar { | ||
− | |||
width: 100%; | width: 100%; | ||
height: 3em; | height: 3em; | ||
− | |||
background-color: #00004d; | background-color: #00004d; | ||
+ | } | ||
+ | |||
+ | #sponsor-footer-bar { | ||
+ | width: 100%; | ||
+ | height: 3em; | ||
+ | background-color: darkgray; | ||
+ | } | ||
+ | |||
+ | #sponsor-footer-bar img { | ||
+ | display: inline-block; | ||
+ | height: 3em; | ||
+ | width: auto; | ||
} | } | ||
Line 73: | Line 123: | ||
.dropdown:hover { | .dropdown:hover { | ||
background-color: #001a66; | background-color: #001a66; | ||
+ | border-top-right-radius: 10px; | ||
+ | border-top-left-radius: 10px; | ||
} | } | ||
.dropdown:hover .dropdown-content { | .dropdown:hover .dropdown-content { | ||
background-color: #001a66; | background-color: #001a66; | ||
+ | border-bottom-right-radius: 10px; | ||
+ | border-bottom-left-radius: 10px; | ||
} | } | ||
Line 86: | Line 140: | ||
text-decoration: none; | text-decoration: none; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
+ | cursor: pointer; | ||
} | } | ||
Line 97: | Line 152: | ||
.dropdown:hover .dropdown-content { display: block; } | .dropdown:hover .dropdown-content { display: block; } | ||
+ | .dropdown-content a:last-child:hover { | ||
+ | border-bottom-left-radius: 10px; | ||
+ | border-bottom-right-radius: 10px; | ||
+ | } | ||
.dropdown-content a { | .dropdown-content a { | ||
Line 112: | Line 171: | ||
.dropdown-content a:hover { background-color: #001a33; } | .dropdown-content a:hover { background-color: #001a33; } | ||
+ | #project-header { | ||
+ | width: 100%; | ||
+ | height: 12em; | ||
+ | background-color: #1b1b32; | ||
+ | border-top: solid 1.5px white; | ||
+ | border-bottom: solid 1px white; | ||
+ | text-align: center; | ||
+ | } | ||
− | </style> | + | </style> |
+ | </head> | ||
+ | <link rel="stylesheet" href="https://2016.igem.org/Team:UCLA/core/customcss?action=raw&ctype=text/css" /> | ||
+ | <div id="header-bar"> | ||
+ | <div id="header-logo-ucla-container"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA"><img id="header-logo-ucla" src="https://static.igem.org/mediawiki/2016/8/8f/UCLA_iGEM_Logo.png"></a> | ||
+ | </div> | ||
+ | <div class="header-logo-general-container"> | ||
+ | <a target="_blank" href="https://2016.igem.org"><img class="header-logo-general" src="https://static.igem.org/mediawiki/2016/b/b2/T--UCLA--logowhite.png"></a> | ||
+ | </div> | ||
+ | <div id="header-menu-container"> | ||
+ | <ul id="header-menu"> | ||
− | < | + | <li class="dropdown"> |
+ | <a><h2>Projects</h2></a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Protein_Cages">Protein Cages</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Super_Soldier_Bacteria">Super Soldier Systems</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/InterLab">Interlab Study</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Parts"><h2>Parts</h2></a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Basic_Part">Basic Parts</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Composite_Part">Composite Parts</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Part_Collection">Part Collection</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li class="dropdown"> | ||
+ | <a><h2>Outreach</h2></a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/HP/Silver">Human Practices</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Collaborations">Collaborations</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li class="dropdown"> | ||
+ | <a><h2>Judging</h2></a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Medal_Requirements">Medal Requirements</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Safety">Safety</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li class="dropdown"> | ||
+ | <a><h2>Team</h2></a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Team">Meet the Team</a> | ||
+ | <a href="https://2016.igem.org/Team:UCLA/Attributions">Attributions</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <script> | ||
// This is the jquery part of your template. Try not modify any of this code since it makes your menu work. | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. | ||
Line 181: | Line 304: | ||
</script> | </script> | ||
+ | |||
</html> | </html> |
Latest revision as of 03:54, 20 October 2016