Difference between revisions of "Template:Freiburg/Menubar"

 
(7 intermediate revisions by 2 users not shown)
Line 114: Line 114:
 
     .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){
 
@media screen and (max-width : 560px){
/*Make dropdown links appear inline*/
+
 
+
    .menu-wrap {
/*Create vertical spacing*/
+
        display:none;
.menu li {
+
    }
margin-bottom: 1px;
+
 
}
+
    .menuSmall{
/*Make all menu links full width*/
+
        display: block;
.menu ul li, li a {
+
    }
width: 100%;
+
 
}
+
}
 +
 
 
      
 
      
 
@font-face {
 
@font-face {
Line 161: Line 166:
 
     font-style: italic;
 
     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">
 
<div class="menu-wrap">
Line 176: Line 185:
 
                         <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>
 
                 </ul>
 
             </li>
 
             </li>
Line 214: Line 227:
 
                         <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>

Latest revision as of 10:35, 3 November 2016