Template:Team:SheffieldNav
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<style type="text/css"> | <style type="text/css"> | ||
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/ | ||
- | |||
- | |||
.mainNavigation ul {display:inline;} | .mainNavigation ul {display:inline;} | ||
Line 34: | Line 32: | ||
float: left; | float: left; | ||
} | } | ||
- | .mainNavigation ul li:hover | + | .mainNavigation ul li:hover { |
background: #4b545f; | background: #4b545f; | ||
+ | } | ||
+ | .mainNavigation ul li:hover a{ | ||
color: #fff; | color: #fff; | ||
} | } | ||
.mainNavigation ul li a { | .mainNavigation ul li a { | ||
- | display: block; padding: 20px 25px; | + | display: block; |
- | color: #757575; text-decoration: none; | + | padding: 20px 25px; |
+ | color: #757575; | ||
+ | text-decoration: none; | ||
} | } | ||
.mainNavigation ul ul { | .mainNavigation ul ul { | ||
- | background: #5f6975; | + | background: #5f6975; |
+ | padding: 0; | ||
position: absolute; | position: absolute; | ||
+ | margin:0px; | ||
} | } | ||
- | |||
- | |||
- | |||
.mainNavigation ul ul li { | .mainNavigation ul ul li { | ||
float: none; | float: none; | ||
Line 58: | Line 59: | ||
padding: 15px 30px; | padding: 15px 30px; | ||
color: #fff; | color: #fff; | ||
- | } | + | } |
+ | .mainNavigation ul ul li a:hover { | ||
+ | background: #4b545f; | ||
+ | } | ||
.mainNavigation ul ul ul { | .mainNavigation ul ul ul { | ||
position: absolute; left: 100%; top:0; | position: absolute; left: 100%; top:0; | ||
Line 73: | Line 77: | ||
<li><a href="https://2014.igem.org/Team:Sheffield/team"> TEAM </a> | <li><a href="https://2014.igem.org/Team:Sheffield/team"> TEAM </a> | ||
<ul> | <ul> | ||
- | <li><a href=" | + | <li><a href="#"> MEET THE TEAM </a></li> |
- | <li><a href=" | + | <li><a href="#"> OFFICIAL TEAM PROFILE </a></li> |
- | <li><a href=" | + | <li><a href="#"> GALLERY </a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
<li><a href="https://2014.igem.org/Team:Sheffield/project"> PROJECT </a> | <li><a href="https://2014.igem.org/Team:Sheffield/project"> PROJECT </a> | ||
<ul> | <ul> | ||
- | <li><a href=" | + | <li><a href="#"> BACKGROUND </a></li> |
- | <li><a href=" | + | <li><a href="#"> BIOSENSOR </a></li> |
- | <li><a href=" | + | <li><a href="#"> ENZYME SYNTHESIS </a></li> |
- | <li><a href=" | + | <li><a href="#"> ENZYME SECRETION </a></li> |
- | <li><a href=" | + | <li><a href="#"> SAFETY </a></li> |
</ul> | </ul> | ||
</li> | </li> |
Revision as of 23:31, 11 September 2014