Difference between revisions of "Template:Manchester/CSS"

m
Line 5: Line 5:
 
/********************************* menu bar formatting ********************************/
 
/********************************* menu bar formatting ********************************/
 
menu_ul{
 
menu_ul{
     color:green;
+
     color: #4CAF50;
 
     margin: -15px;
 
     margin: -15px;
 
     overflow: hidden;
 
     overflow: hidden;
Line 29: Line 29:
 
}
 
}
  
menu_li a:hover{
+
menu_li a:hover:not(.active){
 
     color:white;
 
     color:white;
 
     background-color:purple;
 
     background-color:purple;
 
}
 
}
  
menu_li .active {
+
.active {
     background-color: #4CAF50;
+
     background-color: white;
 
}
 
}
  
Line 197: Line 197:
  
 
   <menu_li><a href="https://2016.igem.org/Team:Manchester"><strong>Home</strong></a></menu_li>
 
   <menu_li><a href="https://2016.igem.org/Team:Manchester"><strong>Home</strong></a></menu_li>
   <menu_li><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></menu_li>
+
   <menu_li class="active"><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></menu_li>
 
   <menu_li><a href="https://2016.igem.org/Team:Manchester/Description"><strong>Project</strong></a></menu_li>
 
   <menu_li><a href="https://2016.igem.org/Team:Manchester/Description"><strong>Project</strong></a></menu_li>
  

Revision as of 16:33, 12 July 2016

Home Team Project