(92 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
/* 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 { | ||
− | color: # | + | display: flex; |
+ | justify-content: center; | ||
+ | background-color: #893939; /*this is the color behind menu buttons */ | ||
} | } | ||
.menu { | .menu { | ||
/*width:1500px;*/ | /*width:1500px;*/ | ||
− | |||
/*margin-left:20%;*/ | /*margin-left:20%;*/ | ||
+ | margin:0px auto; | ||
+ | |||
} | } | ||
.menu li { | .menu li { | ||
− | margin: 20x; | + | /* margin: 20x;*/ |
+ | margin:0px; | ||
list-style: none; | list-style: none; | ||
− | padding: | + | 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; |
+ | background-color: #893939; /*this is the color of menu buttons */ | ||
text-decoration: none; | text-decoration: none; | ||
− | + | /* border-radius: 15px 15px 15px 15px;*/ | |
} | } | ||
Line 42: | Line 49: | ||
.menu .current-item > a { | .menu .current-item > a { | ||
text-decoration: none; | text-decoration: none; | ||
− | + | /* color: #be740d;*/ | |
+ | color: orangered; | ||
+ | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
/*----- Top Level -----*/ | /*----- Top Level -----*/ | ||
Line 75: | Line 80: | ||
.sub-menu { | .sub-menu { | ||
− | + | /* font-size: 10px;*/ | |
− | + | ||
position: absolute; | position: absolute; | ||
− | top: | + | top: 60px; |
− | left: - | + | left: -20px; |
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: 10px;*/ | ||
display: inline-block; | display: inline-block; | ||
− | padding: | + | text-align: center; |
+ | padding: 2px 2px; | ||
} | } | ||
.sub-menu li a { | .sub-menu li a { | ||
− | padding: | + | /*font-family: 'Farsan', cursive;*/ |
− | display: | + | font-size: 16px; |
− | background: # | + | padding: 4px; |
+ | display: block; | ||
+ | background: #893939; /* color of submenu */ | ||
+ | /* background: #1b8b91; */ | ||
+ | } | ||
+ | li li{ | ||
+ | width: 100%; | ||
} | } | ||
.sub-menu li a:hover, | .sub-menu li a:hover, | ||
.sub-menu .current-item a {} | .sub-menu .current-item a {} | ||
− | + | ||
− | + | .menuSmall{ | |
− | . | + | display: none; |
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | @media screen and (max-width : 560px){ | |
− | + | ||
− | + | .menu-wrap { | |
− | + | display:none; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | . | + | .menuSmall{ |
− | display: | + | 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> | </style> | ||
<!--- THIS IS WHERE THE HTML BEGINS ---> | <!--- 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"> | |
− | + | <nav class="menu"> | |
− | + | <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/Team"> Team </a> | |
− | + | <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/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/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/Pictures"> Pictures </a> </li> | ||
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/GiantJamboree"> Giant Jamboree </a> </li> | |
− | + | ||
− | + | ||
− | + | ||
− | + | </ul> | |
+ | </li> | ||
+ | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Overview"> Project </a> | ||
+ | <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/Motivation"> Motivation </a></li> | ||
− | <li> <a href="https://2016.igem.org/Team:Freiburg/ | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Goals_Approach"> Approach </a></li> |
− | <li> <a href="https://2016.igem.org/Team:Freiburg/ | + | <li> <a href="https://2016.igem.org/Team:Freiburg/B_subtilis"> B. subtilis </a> |
− | + | <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> | ||
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/ | + | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Lab"> Lab </a> |
<ul class="sub-menu"> | <ul class="sub-menu"> | ||
− | <li> <a href="https://2016.igem.org/Team:Freiburg/ | + | <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> | <li> <a href="https://2016.igem.org/Team:Freiburg/Notebook"> Journal </a></li> | ||
− | + | </ul> | |
</li> | </li> | ||
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Results"> Results | + | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Results"> Results</a> |
<ul class="sub-menu"> | <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/Proof"> Proof of Concept </a></li> | ||
− | <li> <a href="https://2016.igem.org/Team:Freiburg/ | + | <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/Biobricks"> Biobricks </a></li> | ||
+ | <li> <a href="https://2016.igem.org/Team:Freiburg/Shampoo"> Extra </a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Safety"> Safety | + | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg/Safety"> Safety </a> |
<ul class="sub-menu"> | <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/Knockouts"> Knock Outs </a></li> | ||
− | <li> <a href="https://2016.igem.org/Team:Freiburg/Killswitch"> Kill Switch </a> | + | <li> <a href="https://2016.igem.org/Team:Freiburg/Killswitch"> Kill Switch </a></li> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | + | <li> <a href="https://2016.igem.org/Team:Freiburg/PR"> Public relations </a> | |
<ul class="sub-menu"> | <ul class="sub-menu"> | ||
− | <li> <a href="https://2016.igem.org/Team:Freiburg/Human_Practices"> | + | <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/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/Collaborations"> Collaborations </a></li> | ||
+ | <li> <a href="https://2016.igem.org/Team:Freiburg/Poster"> Poster </a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | + | </ul> | |
− | + | </nav> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</html> | </html> |
Latest revision as of 10:35, 3 November 2016