Template:UCSF/MainHeader
From 2013.igem.org
(Difference between revisions)
(70 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<!--Main Head from Calgary 2012--> | <!--Main Head from Calgary 2012--> | ||
<html> | <html> | ||
+ | |||
<head> | <head> | ||
<!--CSS styles: global--> | <!--CSS styles: global--> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | + | /*** | |
Minimal header: removes the search bar and header image and readjusts font colours in the menus. | Minimal header: removes the search bar and header image and readjusts font colours in the menus. | ||
- | |||
Thanks a lot to the 2011 Brown-Stanford, 2012 Lethbridge iGEM and 2012 Calgary teams for snippets of their code! | Thanks a lot to the 2011 Brown-Stanford, 2012 Lethbridge iGEM and 2012 Calgary teams for snippets of their code! | ||
Check out their wikis at: | Check out their wikis at: | ||
Line 34: | Line 34: | ||
div#top-section{ /*the div containing the entire top bar*/ | div#top-section{ /*the div containing the entire top bar*/ | ||
height: 20px; | height: 20px; | ||
- | margin-bottom: 0px; | + | margin-bottom: 0px !important; |
border: none; | border: none; | ||
} | } | ||
Line 80: | Line 80: | ||
.left-menu ul li, .right-menu ul li a{ | .left-menu ul li, .right-menu ul li a{ | ||
background: none; | background: none; | ||
- | color: # | + | color: #ffffff !important; |
} | } | ||
Line 106: | Line 106: | ||
border: 0; | border: 0; | ||
font-weight: 400; | font-weight: 400; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 138: | Line 130: | ||
<!--desktop--> | <!--desktop--> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | + | /*====== | |
Desktop Styling | Desktop Styling | ||
Thanks a lot to the 2012 Calgary team for snippets of their code! | Thanks a lot to the 2012 Calgary team for snippets of their code! | ||
Check out their wiki at: | Check out their wiki at: | ||
https://2012.igem.org/Team:Calgary | https://2012.igem.org/Team:Calgary | ||
- | |||
======*/ | ======*/ | ||
Line 167: | Line 158: | ||
+ | } | ||
+ | |||
+ | /*To be moved to JQ block*/ | ||
+ | #menu-icon{ | ||
+ | display: none; | ||
} | } | ||
Line 180: | Line 176: | ||
position: relative; | position: relative; | ||
} | } | ||
- | #nav > li a{ | + | #nav > li a{ |
- | + | padding: 0 15px; | |
- | } | + | } |
- | #nav > li{ | + | #nav > li{ |
- | + | background: transparent; | |
- | } | + | } |
/*submenu*/ | /*submenu*/ | ||
#nav li ul { | #nav li ul { | ||
position: absolute; | position: absolute; | ||
- | width: | + | width: auto; |
display: none; | display: none; | ||
} | } | ||
- | #nav li:hover ul { | + | #nav li:hover ul { |
- | + | display: block; | |
- | } | + | } |
- | + | ||
/*sub-submenu*/ | /*sub-submenu*/ | ||
#nav li ul ul{ | #nav li ul ul{ | ||
- | margin-left: | + | margin-left: 255px; |
margin-top: -15px; | margin-top: -15px; | ||
} | } | ||
- | #nav li:hover ul ul{ | + | #nav li:hover ul ul{ |
- | + | display: none; | |
- | } | + | } |
#nav li:hover ul, #nav li li:hover ul{ | #nav li:hover ul, #nav li li:hover ul{ | ||
- | + | display: block; | |
} | } | ||
#nav a{ | #nav a{ | ||
Line 213: | Line 208: | ||
color: white; | color: white; | ||
} | } | ||
- | #nav li a{ | + | #nav li a{ |
- | + | line-height: 1.4em; /*centers the text vertically*/ | |
- | + | font-size: 2em; | |
- | } | + | } |
- | #nav ul li > a{ | + | #nav ul li > a{ |
- | + | width: 225px; | |
- | } | + | } |
- | + | /*color change after rollover*/ | |
- | /*color change after rollover*/ | + | #nav li a:hover, #nav li li a.drop:hover::after{ |
- | #nav li a:hover, #nav li li a.drop:hover::after{ | + | display: block; |
- | + | text-decoration: none; | |
- | + | color: #4e9600; | |
- | + | } | |
- | } | + | |
#nav li ul li ul{ | #nav li ul li ul{ | ||
margin-top: -32px; | margin-top: -32px; | ||
position: absolute; | position: absolute; | ||
} | } | ||
- | + | /*submenu and sub-submenu*/ | |
- | /*submenu and sub-submenu*/ | + | #nav li ul li ul li a, #nav li ul li a{ |
- | #nav li ul li ul li a, #nav li ul li a{ | + | font-size: 1.7em; |
- | + | } | |
- | } | + | |
#nav li li a.drop:after{ | #nav li li a.drop:after{ | ||
- | + | content: '>'; | |
- | + | padding-left: 20px; | |
- | + | color: #BBB; | |
- | + | display: inline; | |
- | + | float: right; | |
- | } | + | } |
/***End nav styling***/ | /***End nav styling***/ | ||
Line 274: | Line 267: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/*hub page CSS*/ | /*hub page CSS*/ | ||
a.hublink{ | a.hublink{ | ||
Line 562: | Line 341: | ||
<body> | <body> | ||
+ | |||
+ | <header> | ||
<!-- | <!-- | ||
<a id="css-full" href="#default">Full View</a> | <a id="css-full" href="#default">Full View</a> | ||
Line 571: | Line 352: | ||
<ul id="nav"> | <ul id="nav"> | ||
<li><a href="https://2013.igem.org/Team:UCSF" id="homelink">Home</a></li> | <li><a href="https://2013.igem.org/Team:UCSF" id="homelink">Home</a></li> | ||
- | + | ||
- | + | <li><a class="drop" id="projectlink">Project</a> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<ul> | <ul> | ||
<li> | <li> | ||
- | <a class=" | + | <a class="dropheader" href="https://2013.igem.org/Team:UCSF/Project/Background">Background</a></li> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a class="drop" | + | <a class="drop" id="projectlink">CRISPRi Conjugation</a> |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:UCSF/Project/Conjugation/Design">Project Design</a></li> | |
- | + | ||
- | + | <li><a href="https://2013.igem.org/Team:UCSF/Project/Conjugation/Data">Data</a></li> | |
- | + | </ul> | |
- | + | ||
- | + | ||
- | + | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a class="drop" | + | <a class="drop" id="projectlink">CRISPRi Circuit</a> |
- | + | <ul> | |
- | + | <li><a href="https://2013.igem.org/Team:UCSF/Project/Circuit/Design">Circuit Design</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:UCSF/Project/Conjugation/Promoter">Promoter Engineering</a></li> | |
- | + | <li><a class="dropheader" href="https://2013.igem.org/Team:UCSF/Project/Circuit/Data">Data</a></li> | |
- | + | ||
- | + | </ul> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</li> | </li> | ||
- | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a class="drop" href="https://2013.igem.org/Team:UCSF/ | + | |
- | + | ||
- | + | <li><a class="drop" id="projectlink">Modeling</a> | |
+ | <ul> | ||
+ | |||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Modeling2">Conjugation Modeling</a></li> | ||
+ | |||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Modeling">Circuit Modeling</a></li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | <li><a class="drop" id="outreachlink">Human Practices</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Exploratorium">Exploratorium</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/ALHS Project">Lincoln High</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Materials">Materials</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Collaborations">Collaborations</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | |||
+ | <li><a class="drop" id="notebooklink">Protocols</a> | ||
<ul> | <ul> | ||
- | + | <li><a href="https://2013.igem.org/Team:UCSF/Protocols">General Protocols</a></li> | |
- | + | <li><a href="https://2013.igem.org/Team:UCSF/Protocols2">Project Protocols</a></li> | |
- | + | ||
<ul> | <ul> | ||
<li><a href="https://2012.igem.org/Team:UCSF/Protocols">General Protocols</a></li> | <li><a href="https://2012.igem.org/Team:UCSF/Protocols">General Protocols</a></li> | ||
Line 636: | Line 414: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a class="drop" id="outreachlink"> | + | <li><a class="drop" id="outreachlink">Judging</a> |
+ | |||
+ | <ul> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Project/Attribute">Attributions</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Project/Accomplish">Accomplishments</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Project/Implications">Implications</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Parts">Parts</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Safety">Safety</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | <li><a class="drop" id="team">Team</a> | ||
<ul> | <ul> | ||
- | <li><a href="https:// | + | <li><a class="dropheader" href="https://2013.igem.org/Team:UCSF/About Us">About Us</a></li> |
- | <li><a href="https:// | + | <li><a href="https://2013.igem.org/Team:UCSF/Team">Members</a></li> |
+ | |||
+ | <li><a href="https://2013.igem.org/Team:UCSF/Advisors">Advisors</a></li> | ||
+ | <li><a class="dropheader" href="https://2013.igem.org/Team:UCSF/Mentors&Instructors">Mentors</a></li> | ||
+ | <li><a class="dropheader" href="https://igem.org/Team.cgi?year=2013&team_name=UCSF">Profile</a></li> | ||
+ | <li><a class="dropheader" href="https://2013.igem.org/Team:UCSF/ContactUs">Contact Us</a></li> | ||
+ | |||
</ul> | </ul> | ||
</li> | </li> | ||
+ | |||
+ | |||
<li><a href="https://2013.igem.org" target="_blank">iGEM</a></li> | <li><a href="https://2013.igem.org" target="_blank">iGEM</a></li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | </header> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 23:59, 28 October 2013