Difference between revisions of "Template:Freiburg/MenubarTest"
(10 intermediate revisions by 2 users not shown) | |||
Line 364: | Line 364: | ||
#notebook-sub{ | #notebook-sub{ | ||
display: none; | display: none; | ||
− | left: | + | left: 76%; |
+ | width: 120px; | ||
} | } | ||
Line 410: | Line 411: | ||
.navsub2 { | .navsub2 { | ||
− | background-color: # | + | background-color: #1962AB; |
opacity: 1; | opacity: 1; | ||
} | } | ||
.navsub2before { | .navsub2before { | ||
− | background-color: # | + | background-color: #1962AB; |
border-top-right-radius: 8px; | border-top-right-radius: 8px; | ||
opacity: 0.6; | opacity: 0.6; | ||
Line 447: | Line 448: | ||
opacity: 0; | opacity: 0; | ||
} | } | ||
+ | |||
+ | /* avoid space to content box */ | ||
+ | .content_background_wrapper{ | ||
+ | padding-top: 20px; | ||
+ | } | ||
+ | |||
} | } | ||
Line 551: | Line 558: | ||
#smallnav a#pull:after { | #smallnav a#pull:after { | ||
content:""; | content:""; | ||
− | background: url(' | + | background: url('https://static.igem.org/mediawiki/2015/e/e0/Freiburg_menu_button_white.png') no-repeat; |
+ | background-size: auto 90%; | ||
width: 30px; | width: 30px; | ||
height: 30px; | height: 30px; | ||
Line 557: | Line 565: | ||
position: absolute; | position: absolute; | ||
right: 15px; | right: 15px; | ||
− | top: | + | top: 5px; |
} | } | ||
Line 570: | Line 578: | ||
background: url(https://static.igem.org/mediawiki/2015/1/15/Freiburg_icon_home_white_03.png) no-repeat; | background: url(https://static.igem.org/mediawiki/2015/1/15/Freiburg_icon_home_white_03.png) no-repeat; | ||
background-position: left; | background-position: left; | ||
− | background-size: auto | + | background-size: auto 100%; |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
padding-left: 40px; | padding-left: 40px; | ||
Line 819: | Line 827: | ||
}); | }); | ||
− | + | /*Fix for when a link targets an id -> check the position on pageload*/ | |
+ | $(window).scroll(); | ||
}); | }); | ||
Line 872: | Line 881: | ||
<li class="chip_gap"><a href="https://2015.igem.org/Team:Freiburg/Project/Overview"></a></li> | <li class="chip_gap"><a href="https://2015.igem.org/Team:Freiburg/Project/Overview"></a></li> | ||
<li><a class="navsub1" href="https://2015.igem.org/Team:Freiburg/Project/Overview">Introduction</a></li> | <li><a class="navsub1" href="https://2015.igem.org/Team:Freiburg/Project/Overview">Introduction</a></li> | ||
− | <li><a class="navsub1" href="https://2015.igem.org/Team:Freiburg/Project/System"> | + | <li><a class="navsub1" href="https://2015.igem.org/Team:Freiburg/Project/System">Overview</a></li> |
<li><a class="navsub1" href="https://2015.igem.org/Team:Freiburg/Project/Diagnostics">Diagnostics today</a></li> | <li><a class="navsub1" href="https://2015.igem.org/Team:Freiburg/Project/Diagnostics">Diagnostics today</a></li> | ||
<li><a class="navsub1 subsubmenu" href="#">The DiaCHIP</a> | <li><a class="navsub1 subsubmenu" href="#">The DiaCHIP</a> | ||
Line 924: | Line 933: | ||
<ul> | <ul> | ||
<li><a class="navsub2" href="https://2015.igem.org/Team:Freiburg/Project/Classic_vs_Gibson">Gibson</a></li> | <li><a class="navsub2" href="https://2015.igem.org/Team:Freiburg/Project/Classic_vs_Gibson">Gibson</a></li> | ||
− | <li><a class="navsub2" href="https://2015.igem.org/Team:Freiburg/Project/Coli_Strains" | + | <li><a class="navsub2" href="https://2015.igem.org/Team:Freiburg/Project/Coli_Strains">E.coli Strains</a></li> |
</ul> | </ul> | ||
</li> | </li> |
Latest revision as of 22:07, 16 September 2015