(119 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
<style> | <style> | ||
− | |||
/********************************* MENU ********************************/ | /********************************* MENU ********************************/ | ||
/* Wrapper for the menu */ | /* Wrapper for the menu */ | ||
− | |||
/* Remove margins and padding from the list, and add a black background color */ | /* Remove margins and padding from the list, and add a black background color */ | ||
− | + | ||
+ | /* | ||
.clearfix:after { | .clearfix:after { | ||
− | display:block; | + | display: block; |
− | clear:both; | + | clear: both; |
} | } | ||
− | + | */ | |
/*----- Menu Outline -----*/ | /*----- Menu Outline -----*/ | ||
+ | |||
.menu-wrap { | .menu-wrap { | ||
− | + | display: flex; | |
− | + | justify-content: center; | |
− | color: # | + | background-color: #893939; /*this is the color behind menu buttons */ |
} | } | ||
− | + | ||
.menu { | .menu { | ||
/*width:1500px;*/ | /*width:1500px;*/ | ||
− | + | /*margin-left:20%;*/ | |
− | + | margin:0px auto; | |
− | + | ||
} | } | ||
− | + | ||
.menu li { | .menu li { | ||
− | margin:20x; | + | /* margin: 20x;*/ |
− | list-style:none; | + | margin:0px; |
+ | list-style: none; | ||
+ | padding: 20px 4px; | ||
} | } | ||
− | + | ||
.menu a { | .menu a { | ||
− | font-size: | + | font-size: 22px; |
− | font-family: ' | + | font-family: 'Days One', sans-serif; |
font-weight: bold; | font-weight: bold; | ||
letter-spacing: 3px; | letter-spacing: 3px; | ||
− | transition:all linear 0.15s; | + | transition: all linear 0.15s; |
− | color: | + | /* color: #aba5aa; this is the color of menu text */ |
− | background-color: # | + | color: #be740d; |
− | text-decoration:none; | + | background-color: #893939; /*this is the color of menu buttons */ |
− | /* | + | text-decoration: none; |
− | + | /* border-radius: 15px 15px 15px 15px;*/ | |
} | } | ||
+ | |||
+ | .menu li:hover > a, | ||
+ | .menu .current-item > a { | ||
+ | text-decoration: none; | ||
+ | /* color: #be740d;*/ | ||
+ | color: orangered; | ||
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*----- Top Level -----*/ | /*----- Top Level -----*/ | ||
+ | |||
.menu > ul > li { | .menu > ul > li { | ||
− | float:left; | + | float: left; |
− | display:inline-block; | + | display: inline-block; |
− | position:relative; | + | position: relative; |
− | font-size:12px; | + | font-size: 12px; |
− | + | ||
− | + | ||
} | } | ||
− | + | ||
.menu > ul > li > a { | .menu > ul > li > a { | ||
− | padding: | + | padding: 12px 22px; |
− | display:inline-block; | + | display: inline-block; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | .menu > ul > li:hover > a, .menu > ul > .current-item > a { | + | .menu > ul > li:hover > a, |
− | + | .menu > ul > .current-item > a { | |
− | margin-bottom:-5px; | + | margin-bottom: -5px; |
} | } | ||
− | + | /*----- SubMenu Level -----*/ | |
− | /*----- | + | |
.menu li:hover .sub-menu { | .menu li:hover .sub-menu { | ||
− | z-index:1; | + | z-index: 1; |
− | opacity:1; | + | opacity: 1; |
} | } | ||
− | + | ||
.sub-menu { | .sub-menu { | ||
− | + | /* font-size: 10px;*/ | |
− | + | position: absolute; | |
− | position:absolute; | + | top: 60px; |
− | top: | + | left: -20px; |
− | left: | + | z-index: -1; |
− | z-index:-1; | + | opacity: 0; |
− | opacity:0; | + | transition: opacity linear 0.15s; |
− | transition:opacity linear 0.15s; | + | padding: 0px; |
− | /* | + | /* display: flex;*/ |
− | /* | + | /* justify-content: center;*/ |
} | } | ||
− | + | ||
.sub-menu li { | .sub-menu li { | ||
− | + | /* width: 100%;*/ | |
− | /* font-size: | + | /* font-size: 10px;*/ |
+ | display: inline-block; | ||
+ | text-align: center; | ||
+ | padding: 2px 2px; | ||
} | } | ||
− | + | ||
.sub-menu li a { | .sub-menu li a { | ||
− | padding: | + | /*font-family: 'Farsan', cursive;*/ |
− | display: | + | font-size: 16px; |
+ | padding: 4px; | ||
+ | display: block; | ||
+ | background: #893939; /* color of submenu */ | ||
+ | /* background: #1b8b91; */ | ||
} | } | ||
+ | li li{ | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .sub-menu li a:hover, | ||
+ | .sub-menu .current-item a {} | ||
− | . | + | .menuSmall{ |
− | + | display: none; | |
} | } | ||
+ | @media screen and (max-width : 560px){ | ||
+ | |||
+ | .menu-wrap { | ||
+ | display:none; | ||
+ | } | ||
+ | .menuSmall{ | ||
+ | display: block; | ||
+ | } | ||
− | + | } | |
+ | |||
+ | @font-face { | ||
+ | font-family: 'Londrina Sketch'; | ||
+ | src: url(https://static.igem.org/mediawiki/2016/a/a5/T--Freiburg--Font_LondrinaSketch.ttf) format('truetype'); | ||
+ | font-weight: bold; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: 'Gloria Hallelujah'; | ||
+ | src: url(https://static.igem.org/mediawiki/2016/f/f1/T--Freiburg--Font-Gloria_Hallelujah.ttf) format('truetype'); | ||
+ | font-weight: bold; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: 'Baloo Paaji'; | ||
+ | src: url(https://static.igem.org/mediawiki/2016/b/b1/T--Freiburg--Fonts_BalooPaani.ttf) format('truetype'); | ||
+ | font-weight: bold; | ||
+ | font-style: italic; | ||
+ | } | ||
− | + | @font-face { | |
+ | font-family: 'Farsan'; | ||
+ | src: url(https://static.igem.org/mediawiki/2016/6/61/T--Freiburg--Font-Farsan.ttf) format('truetype'); | ||
+ | font-weight: bold; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: 'Days One'; | ||
+ | src: url(https://static.igem.org/mediawiki/2016/5/52/T--Freiburg--Fonts_DaysOne.ttf) format('truetype'); | ||
+ | font-weight: bold; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | <!--- THIS IS WHERE THE HTML BEGINS ---> | ||
<!-- This tells the browser that your page is responsive --> | <!-- This tells the browser that your page is responsive --> | ||
− | < | + | <div class="menuSmall"> |
− | + | <h5> <a href=" https://2016.igem.org/Team:Freiburg/sitemap"> Menu </a> </h5> | |
− | < | + | </div> |
− | </ | + | |
− | + | <div class="menu-wrap"> | |
− | + | ||
− | + | ||
− | <div class="menu-wrap" > | + | |
<nav class="menu"> | <nav class="menu"> | ||
− | |||
− | |||
<ul class="clearfix"> | <ul class="clearfix"> | ||
− | + | <!--li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg">Home </a> </li--> | |
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg">Home </a> </li> | + | <li class="menu_item"> <a href=" https://2016.igem.org/Team:Freiburg/Team"> Team </a> |
− | + | ||
− | + | ||
− | <li class="menu_item" > | + | |
− | + | ||
<ul class="sub-menu"> | <ul class="sub-menu"> | ||
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Attributions"> Attributions </a> </li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Achievements"> Achievements </a> </li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Pictures"> Pictures </a> </li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/GiantJamboree"> Giant Jamboree </a> </li> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</ul> | </ul> | ||
</li> | </li> | ||
− | + | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Overview"> Project </a> | |
− | <li class="menu_item"> | + | |
− | + | ||
<ul class="sub-menu"> | <ul class="sub-menu"> | ||
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Motivation"> Motivation </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Goals_Approach"> Approach </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/B_subtilis"> B. subtilis </a> | |
− | <li> <a href="https://2016.igem.org/Team:Freiburg/ | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Surface_Display"> Microbial surface display |
+ | </a> | ||
+ | <li> <a href="https://2016.igem.org/Team:Freiburg/Targeted Drug Delivery"> Targeted Drug Delivery</a> </ul> | ||
+ | </li> | ||
+ | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Lab"> Lab </a> | ||
+ | <ul class="sub-menu"> | ||
+ | <li> <a href="https://2016.igem.org/Team:Freiburg/Experiments"> Methods </a></li> | ||
+ | <li> <a href="https://2016.igem.org/Team:Freiburg/Notebook"> Journal </a></li> | ||
</ul> | </ul> | ||
− | + | </li> | |
− | + | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Results"> Results</a> | |
− | + | <ul class="sub-menu"> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Proof"> Proof of Concept </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Binding"> Binding </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Delivery"> Delivery </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Production_Nanocillus"> Nanocillus </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Biobricks"> Biobricks </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Shampoo"> Extra </a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Safety"> Safety </a> | |
− | + | <ul class="sub-menu"> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Knockouts"> Knock Outs </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Killswitch"> Kill Switch </a></li> | |
− | + | </ul> | |
− | <ul class="sub-menu"> | + | </li> |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/PR"> Public relations </a> | |
− | + | <ul class="sub-menu"> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Human_Practices"> Human Practice </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Integrated_Practices"> Integrated </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Collaborations"> Collaborations </a></li> | |
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Poster"> Poster </a></li> | |
+ | </ul> | ||
+ | </li> | ||
</ul> | </ul> | ||
</nav> | </nav> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Latest revision as of 10:35, 3 November 2016