Difference between revisions of "Template:MIT-Header"
(43 intermediate revisions by 3 users not shown) | |||
Line 14: | Line 14: | ||
} | } | ||
+ | .headerimage { | ||
+ | position: relative; | ||
+ | top:26px; | ||
+ | margin: auto; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | |||
+ | } | ||
#globalWrapper, #content { /*-- changes default wiki settings --*/ | #globalWrapper, #content { /*-- changes default wiki settings --*/ | ||
Line 22: | Line 30: | ||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
+ | } | ||
+ | |||
+ | /*Title fonts*/ | ||
+ | #title, .subtitle{ | ||
+ | margin: 40px; | ||
+ | text-align: center; | ||
+ | font-family: 'Permanent Marker', cursive; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | .subtitle{ | ||
+ | font-size: 30px; | ||
+ | } | ||
+ | |||
+ | #title{ | ||
+ | font-size: 40px; | ||
+ | } | ||
+ | |||
+ | /*Text font for regular paragraph text on all pages*/ | ||
+ | .text{ | ||
+ | font-size: 15px; | ||
+ | font-family: 'Cantarell', sans-serif; | ||
} | } | ||
Line 34: | Line 64: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.navmenu { | .navmenu { | ||
position:fixed; | position:fixed; | ||
Line 56: | Line 74: | ||
align : center; | align : center; | ||
} | } | ||
− | #mainLogo { | + | #mainLogo { |
− | + | ||
} | } | ||
#navmenubox { | #navmenubox { | ||
Line 128: | Line 145: | ||
color: white; | color: white; | ||
position:relative; | position:relative; | ||
− | |||
top : 12px; | top : 12px; | ||
font-size : 16px; | font-size : 16px; | ||
height : 40px; | height : 40px; | ||
− | |||
vertical-align : middle; | vertical-align : middle; | ||
padding : 0; | padding : 0; | ||
Line 139: | Line 154: | ||
#nav li ul{ | #nav li ul{ | ||
vertical-align : bottom; | vertical-align : bottom; | ||
− | |||
} | } | ||
#nav li ul li { | #nav li ul li { | ||
Line 145: | Line 159: | ||
height : 60px; | height : 60px; | ||
vertical-align : top; | vertical-align : top; | ||
− | width : | + | width : 200px; |
− | background : rgba(0,0,0,0. | + | background : rgba(0,0,0,0.65); |
padding : 15px 0; | padding : 15px 0; | ||
color : rgb(0,0,0); | color : rgb(0,0,0); | ||
border-bottom: 1px solid rgba(255,255,255,.2); | border-bottom: 1px solid rgba(255,255,255,.2); | ||
+ | display: block; | ||
} | } | ||
#nav ul{ | #nav ul{ | ||
Line 157: | Line 172: | ||
left: 0; | left: 0; | ||
right: 0; | right: 0; | ||
− | + | visibility:hidden; | |
− | -moz-transition: . | + | -moz-transition: .0s all .0s; |
− | -webkit-transition: . | + | -webkit-transition: .0s all .0s; |
− | transition: . | + | transition: .0s all .0s; |
} | } | ||
#nav li:hover ul{ | #nav li:hover ul{ | ||
+ | visibility: visible; | ||
+ | overflow: visible; | ||
max-height:30em; | max-height:30em; | ||
} | } | ||
Line 168: | Line 185: | ||
text-decoration:none; | text-decoration:none; | ||
display:block; | display:block; | ||
− | + | font-weight : bold; | |
− | + | color : white; | |
− | + | vertical-align : middle; | |
} | } | ||
#nav li:hover a { | #nav li:hover a { | ||
Line 180: | Line 197: | ||
#nav li ul li .liste:hover { | #nav li ul li .liste:hover { | ||
color : #ccff00; | color : #ccff00; | ||
+ | } | ||
+ | .side-by-side{ | ||
+ | display: inline; | ||
+ | } | ||
+ | #nav li ul div{ | ||
+ | display: inline; | ||
} | } | ||
</style> | </style> | ||
− | |||
<div class="navmenu"> | <div class="navmenu"> | ||
<div id="navmenubox"> | <div id="navmenubox"> | ||
− | <ul id="nav" class = "col-md- | + | <ul id="nav" class = "col-md-10"> |
<!--<li> | <!--<li> | ||
<a id = "mainLogo" href="https://2015.igem.org/Team:MIT" title="MIT iGEM" target="_blank"><img src="https://static.igem.org/mediawiki/2015/6/61/Team-MIT-MainLogo1.png" height="45px"> | <a id = "mainLogo" href="https://2015.igem.org/Team:MIT" title="MIT iGEM" target="_blank"><img src="https://static.igem.org/mediawiki/2015/6/61/Team-MIT-MainLogo1.png" height="45px"> | ||
Line 193: | Line 215: | ||
--> | --> | ||
<li><a href="https://2015.igem.org/Team:MIT">Home</a></li> | <li><a href="https://2015.igem.org/Team:MIT">Home</a></li> | ||
− | <li><a href="https:// | + | |
+ | <li><a href="https://2015.igem.org/Team:MIT/Project"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png">Project</a> | ||
<ul> | <ul> | ||
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Chutch">C. Hutchinsonii</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/BiodieselProduction">Biodiesel Production</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Coculture">The Co-Culture</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Parts">Parts</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Circuit">Circuit</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Modeling">Modeling</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Signaling">Signaling</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
− | <li><a href="https:// | + | <li><a href="https://2015.igem.org/Team:MIT/Practices"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Policy + Practice</a> |
<ul> | <ul> | ||
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Practices">Practices</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Economics">Economics</a></li> |
− | + | ||
− | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | <li><a href="https:// | + | <li><a href="https://2015.igem.org/Team:MIT/Notebooks"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png">Notebooks</a> |
<ul> | <ul> | ||
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/WetlabDrylab">Wetlab/Drylab</a></li> |
− | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Protocols">Protocols</a></li> | |
− | <li><a class = liste href="https:// | + | </ul> |
− | + | </li> | |
− | + | <li><a href="https://2015.igem.org/Team:MIT/Team"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png">About Us</a> | |
− | + | ||
<ul> | <ul> | ||
− | <li><a class = liste href="https://2015.igem.org/Team:MIT/Team"> | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Team">Team Bios</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Acknowledgements">Acknowledgements</a></li> |
− | <li><a class = liste href="https:// | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Attributions">Attributions</a></li> |
− | <li><a class = liste href="https://igem.org/Team | + | <li><a class = liste href="https://2015.igem.org/Team:MIT/Medals">Medals</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
− | <li><a href="https://2014.igem.org/Team:MIT/ | + | <li><a href="https://2015.igem.org/Team:MIT/Outreach"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Externals</a> |
− | + | <ul> | |
+ | <li><a class = liste href="https://2015.igem.org/Team:MIT/Collaborations">Collaborations</a></li> | ||
+ | <li><a class = liste href="https://2014.igem.org/Team:MIT/InterlabStudy">Interlab Study</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
</ul> | </ul> | ||
− | <div class= "col-md- | + | <div class= "col-md-2"> |
<div id = "logos"> | <div id = "logos"> | ||
<div id="twittericon" class="sidelogos"> | <div id="twittericon" class="sidelogos"> | ||
Line 267: | Line 291: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('div #twittericon').mouseover(function(){ | $('div #twittericon').mouseover(function(){ | ||
− | + | div = $('#twitapp'); | |
− | + | div.show(); | |
}).mouseout(function(){ | }).mouseout(function(){ | ||
− | + | div.hide(); | |
}); | }); | ||
}); | }); |
Latest revision as of 21:53, 11 September 2015