Difference between revisions of "Template:CSS UCL5"

Line 444: Line 444:
 
/*menu*/
 
/*menu*/
  
nav {
+
.mainmenu {
 
   position: fixed;
 
   position: fixed;
 
   top: 0;
 
   top: 0;
Line 457: Line 457:
  
 
@media(min-width:1392px){
 
@media(min-width:1392px){
nav {
+
.mainmenu {
 
height:75px;
 
height:75px;
 
}
 
}
Line 463: Line 463:
  
 
@media(max-width:1110px){
 
@media(max-width:1110px){
nav {
+
.mainmenu {
 
height:100px;
 
height:100px;
 
}
 
}
Line 470: Line 470:
 
@media(max-width:606px){
 
@media(max-width:606px){
  
nav {
+
.mainmenu {
 
height:134px;
 
height:134px;
 
}
 
}
Line 477: Line 477:
 
/*
 
/*
 
@media(max-width:570px){
 
@media(max-width:570px){
nav {
+
.mainmenu {
 
height:163px;
 
height:163px;
 
}
 
}
Line 483: Line 483:
  
 
@media(max-width:511px){
 
@media(max-width:511px){
nav {
+
.mainmenu {
 
height:183px;
 
height:183px;
 
}
 
}
Line 496: Line 496:
 
/* CHANGE */
 
/* CHANGE */
 
@media(max-width: 606px){
 
@media(max-width: 606px){
nav {display:none;}
+
.mainmenu {display:none;}
nav ul {display:none;}
+
.mainmenu ul {display:none;}
 
#hidden-menu {display:block;}
 
#hidden-menu {display:block;}
 
}
 
}
Line 810: Line 810:
  
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
<nav>
+
<nav class="mainmenu">
 
<div id="menu" class="menu">
 
<div id="menu" class="menu">
 
 

Revision as of 21:41, 6 August 2015