Difference between revisions of "Template:Freiburg/Menubar"

Line 113: Line 113:
 
     .sub-menu li a:hover,
 
     .sub-menu li a:hover,
 
     .sub-menu .current-item a {}
 
     .sub-menu .current-item a {}
 +
 +
@media screen and (max-width : 760px){
 +
/*Make dropdown links appear inline*/
 +
ul {
 +
position: static;
 +
display: none;
 +
}
 +
/*Create vertical spacing*/
 +
li {
 +
margin-bottom: 1px;
 +
}
 +
/*Make all menu links full width*/
 +
ul li, li a {
 +
width: 100%;
 +
}
 +
}
 +
 
</style>
 
</style>
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
<!--- THIS IS WHERE THE HTML BEGINS --->

Revision as of 21:50, 18 October 2016