Difference between revisions of "Template:Manchester/CSS1"

m
m
Line 7: Line 7:
 
     width:95%;
 
     width:95%;
 
}
 
}
 
 
  
 
/********************************* menu bar formatting ********************************/
 
/********************************* menu bar formatting ********************************/
Line 15: Line 13:
 
     margin-left: -10px;
 
     margin-left: -10px;
 
     margin-top:-15px;
 
     margin-top:-15px;
    overflow: hidden;
 
 
     background-color: orange;
 
     background-color: orange;
    position: fixed;
 
 
     display:inline-table;
 
     display:inline-table;
 
     width: 81.8%;
 
     width: 81.8%;
Line 31: Line 27:
 
nav ul li {
 
nav ul li {
 
     float: left;
 
     float: left;
    display: block;
 
 
}
 
}
  
Line 51: Line 46:
 
}
 
}
  
nav ul li a:hover{
+
nav ul > li a:hover{
 
     color: black;
 
     color: black;
 
     background-color:orange;
 
     background-color:orange;
Line 62: Line 57:
 
     position: absolute;
 
     position: absolute;
 
     top: 100%;
 
     top: 100%;
 +
    width: 50px;
 +
    margin-left: 50px;
 +
    text-align: center;
 +
    border-radius: 0px;
 +
    padding: 0;
 +
}
  
 +
 +
 +
nav ul li a:hover ul {
 +
    display: none;
 +
   
 
}
 
}
 +
 +
nav ul:after {
 +
content: ""; clear: both; display: block;
 +
}
  
 
.active {
 
.active {
Line 252: Line 262:
  
 
       <ul>
 
       <ul>
         <li><<a href="https://2016.igem.org/Team:Manchester/Team">Team</a></li>
+
         <li><a href="https://2016.igem.org/Team:Manchester/Team">Team</a></li>
 
         <li><a href="https://2016.igem.org/Team:Manchester/Collaborations">Collaborations</a></li>
 
         <li><a href="https://2016.igem.org/Team:Manchester/Collaborations">Collaborations</a></li>
 
       </ul>
 
       </ul>

Revision as of 00:06, 17 July 2016