Team:Paris Bettencourt/Menu
From 2013.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
/* drop up | /* drop up | ||
http://www.pmob.co.uk/temp/dropup3.htm | http://www.pmob.co.uk/temp/dropup3.htm | ||
http://www.youtube.com/watch?v=EENF7HNS1co | http://www.youtube.com/watch?v=EENF7HNS1co | ||
*/ | */ | ||
- | |||
/* Navigation Menu */ | /* Navigation Menu */ | ||
+ | .navmenubkg { | ||
+ | position:fixed; | ||
+ | display:block; | ||
+ | z-index:50; | ||
+ | top:0; | ||
+ | height:40px; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | background:rgb(228,36,62); | ||
+ | } | ||
+ | .navmenubkg2 { | ||
+ | position:fixed; | ||
+ | display:none; | ||
+ | z-index:50; | ||
+ | top:40px; | ||
+ | height:65px; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | background:rgb(250,247,186); | ||
+ | } | ||
#navmenubox { | #navmenubox { | ||
- | |||
padding:0; | padding:0; | ||
- | margin:0 | + | margin:0 auto; |
- | + | ||
width:1000px; | width:1000px; | ||
- | height: | + | height:40px; |
z-index:100; | z-index:100; | ||
display:block; | display:block; | ||
- | background: | + | background:transparent; |
color:rgb(250,247,186); | color:rgb(250,247,186); | ||
text-align:center; | text-align:center; | ||
- | line-height: | + | line-height:40px; |
} | } | ||
.sidelogos { | .sidelogos { | ||
- | + | float:left; | |
- | + | display:block; | |
- | margin: | + | margin-left:auto; |
height:100%; | height:100%; | ||
width:40px; | width:40px; | ||
+ | } | ||
+ | .sidelogos a { | ||
+ | display:block; | ||
+ | top:0; | ||
+ | bottom:0; | ||
} | } | ||
#pblogo{ | #pblogo{ | ||
- | |||
- | |||
} | } | ||
#pgmap{ | #pgmap{ | ||
- | |||
- | |||
} | } | ||
#fbnoticon{ | #fbnoticon{ | ||
- | |||
- | |||
} | } | ||
#twnoticon{ | #twnoticon{ | ||
- | |||
- | |||
} | } | ||
#pblogo img, #pgmap:hover img{ | #pblogo img, #pgmap:hover img{ | ||
Line 58: | Line 71: | ||
} | } | ||
#twitapp, #fbapp { | #twitapp, #fbapp { | ||
- | + | display:none; | |
- | + | width:250px; | |
- | + | height:auto; | |
- | + | top:40px; | |
- | + | border-radius:3px; | |
- | + | /*border: 1px solid rgb(30,39,43);*/ | |
- | + | background: rgb(255,255,255); | |
- | + | z-index:100; | |
- | + | ||
- | + | ||
} | } | ||
#fbapp{ | #fbapp{ | ||
- | + | margin-left:-210px; | |
} | } | ||
- | ul#nav { | + | #twitapp{ |
- | + | margin-left:-170px; | |
+ | border:none; | ||
+ | } | ||
+ | ul#nav { | ||
+ | display:block; | ||
+ | float:left; | ||
padding:0; | padding:0; | ||
margin:0; | margin:0; | ||
list-style: none; | list-style: none; | ||
height:100%; | height:100%; | ||
- | width: | + | width:840px; |
- | + | ||
background:none; | background:none; | ||
- | line-height: | + | line-height:40px; |
z-index:100; | z-index:100; | ||
font-family: 'Yanone Kaffeesatz', sans-serif; | font-family: 'Yanone Kaffeesatz', sans-serif; | ||
+ | } | ||
+ | ul#nav a { | ||
+ | display:block; | ||
+ | top:0; | ||
+ | bottom:0; | ||
} | } | ||
ul#nav ul { | ul#nav ul { | ||
Line 90: | Line 110: | ||
list-style:none; | list-style:none; | ||
background:none; | background:none; | ||
- | line-height: | + | line-height:40px; |
z-index:100; | z-index:100; | ||
} | } | ||
Line 98: | Line 118: | ||
margin:0; | margin:0; | ||
width:118px; | width:118px; | ||
- | height: | + | height:40px; |
- | font-size: | + | font-size:16px; |
font-weight:600; | font-weight:600; | ||
- | border-left:1px solid | + | border-left:1px solid rgba(250,247,186,0.5); |
- | border-right:1px solid | + | border-right:1px solid rgba(250,247,186,0.5); |
background:none; | background:none; | ||
font-weight:normal; | font-weight:normal; | ||
Line 125: | Line 145: | ||
} | } | ||
#nav li ul { | #nav li ul { | ||
- | display: | + | display:block; |
+ | margin:0 auto; | ||
padding:0; | padding:0; | ||
list-style: none; | list-style: none; | ||
- | + | width:1000px; | |
- | + | height:65px; | |
- | + | ||
- | height: | + | |
- | + | ||
border:none; | border:none; | ||
- | background: | + | background:transparent; |
color:rgb(250,247,186); | color:rgb(250,247,186); | ||
z-index:100; | z-index:100; | ||
Line 143: | Line 161: | ||
float:left; | float:left; | ||
background:none; | background:none; | ||
- | height: | + | height:65px; |
- | width: | + | width:118px; |
- | + | color: rgb(30,39,43); | |
- | border-bottom:none; | + | background-color:rgb(250,247,186); |
+ | border:1px solid rgba(228,36,62,0.5); | ||
+ | border-top:none; | ||
+ | border-bottom:none; | ||
z-index:100; | z-index:100; | ||
} | } | ||
- | #nav li:hover | + | #nav li:hover .navmenubkg2 { |
display:block; | display:block; | ||
} | } | ||
- | #nav li | + | #nav li .navmenubkg2:hover { |
display:block; | display:block; | ||
} | } | ||
ul#nav li:hover li a, ul#nav li.over li a { | ul#nav li:hover li a, ul#nav li.over li a { | ||
- | |||
- | |||
font-weight:normal; | font-weight:normal; | ||
} | } | ||
ul#nav li li:hover, ul#nav li li.over, ul#nav li li:hover a, ul#nav li li.over a { | ul#nav li li:hover, ul#nav li li.over, ul#nav li li:hover a, ul#nav li li.over a { | ||
- | |||
- | |||
font-weight:bold; | font-weight:bold; | ||
} | } | ||
Line 170: | Line 187: | ||
<body> | <body> | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
- | + | <div class="navmenubkg"> | |
- | + | <div id="navmenubox"> | |
- | + | <div id="pblogo" class="sidelogos"> | |
- | + | <a href="https://2013.igem.org/Team:Paris_Bettencourt" title="Home Page"> | |
- | + | <img src="https://static.igem.org/mediawiki/2013/5/5d/PB_miniLogo.gif" height="40px" width="40px"/> | |
- | + | </a> | |
- | + | </div> | |
- | + | <div id="pgmap" class="sidelogos"> | |
- | + | <a href="https://2013.igem.org/Team:Paris_Bettencourt/Site_Map" title="Site Map"> | |
- | + | <img src="https://static.igem.org/mediawiki/2013/5/5d/PB_miniLogo.gif" height="40px" width="40px"/> | |
- | + | </a> | |
- | + | </div> | |
- | + | <ul id="nav"> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Project/Overview" title="Project Overview">PROJECT</a> | |
- | + | <div class="navmenubkg2"> | |
- | + | <ul> | |
- | + | <li style="margin-left:21px"> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Project/Phage_Sensor" title="Phage Sensor">DETECT</a> </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Project/Drug_Screening" title="Drug Screening">TARGET</a> </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Project/TB-ception" title="TB-ception">INFILTRATE</a> </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Project/Trojan_Horse" title="Trojan Horse">SABOTAGE</a> </li> | |
- | + | </ul> | |
- | + | </div> | |
- | + | </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Achievements" title="Achievements">ACHIEVEMENTS</a> | |
- | + | <div class="navmenubkg2"></div> | |
- | + | </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Parts" title="Submitted Parts">PARTS</a> | |
- | + | <div class="navmenubkg2"></div> | |
- | + | </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Human_Practice/Overview" title="Human Practice Overview">HUMAN PRACTICE</a> | |
- | + | <div class="navmenubkg2"></div> | |
- | + | </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Human_Practice/Safety" title="Safety">SAFETY</a> | |
- | + | <div class="navmenubkg2"></div> | |
- | + | </li> | |
- | + | <li> <a href="" title="">NOTEBOOK</a> | |
- | + | <div class="navmenubkg2"> | |
- | + | <ul> | |
- | + | <li style="margin-left:611px"> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Notebook" title="Day Notes">DAY NOTES</a> </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Protocols" title="Protocols">PROTOCOLS</a> </li> | |
- | + | </ul> | |
- | + | </div> | |
- | + | </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Team" title="Team">TEAM</a> | |
- | + | <div class="navmenubkg2"> | |
- | + | <ul> | |
- | + | <li style="margin-left:611px"> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Contact" title="Contact">CONTACT</a> </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Attributions" title="Attributions">ATTRIBUTIONS</a> </li> | |
- | + | <li> <a href="https://2013.igem.org/Team:Paris_Bettencourt/Acknowledgements" title="Acknowledgements">ACKNOWLEDGEMENTS</a></li> | |
- | + | </ul> | |
- | + | </div> | |
- | + | </li> | |
- | + | </ul> | |
- | + | <div id="twnoticon" class="sidelogos"> | |
- | + | <a href="http://twitter.com/iGEM_Paris" target="_blank"> | |
- | + | <img src="https://static.igem.org/mediawiki/2013/f/f4/PB_Tweeter-logo2.gif" height="40px" width="40px"/> | |
- | + | <div id="twitapp"> | |
- | + | <a class="twitter-timeline" | |
- | + | width="250" height="400" | |
- | + | data-dnt="true" | |
- | + | href="https://twitter.com/iGEM_Paris" | |
- | + | data-widget-id="368144501119795201"> | |
+ | @iGEM_Paris</a> | ||
+ | </div> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div id="fbnoticon" class="sidelogos"> | ||
+ | <a href="http://www.facebook.com/ParisiGEM2013" target="_blank"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/6/60/PB_Logofacebook.gif" height="40px" width="40px"/> | ||
+ | <div id="fbapp"> | ||
+ | <div class="fb-like-box" data-href="https://www.facebook.com/ParisiGEM2013" data-width="250" data-height="400" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="true" data-show-border="true"></div> | ||
+ | </div> | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | ||
- | |||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); | <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); |
Revision as of 18:36, 30 August 2013