Difference between revisions of "Template:Manchester/CSS1"

m
m
Line 12: Line 12:
 
/********************************* menu bar formatting ********************************/
 
/********************************* menu bar formatting ********************************/
 
nav ul{
 
nav ul{
 +
    position: relative;
 
     margin-left: -10px;
 
     margin-left: -10px;
 
     margin-top:-15px;
 
     margin-top:-15px;
Line 17: Line 18:
 
     background-color: orange;
 
     background-color: orange;
 
     position: fixed;
 
     position: fixed;
     display:inline;
+
     display:inline-table;
 
     width: 81.8%;
 
     width: 81.8%;
     top: 5px;
+
     top: 12px;
 
     left: 5px;
 
     left: 5px;
 
     right: 5px;
 
     right: 5px;
Line 25: Line 26:
 
     list-style-type: none;
 
     list-style-type: none;
 
     box-shadow: 2px 2px 2px black;
 
     box-shadow: 2px 2px 2px black;
 +
    border-radius: 10px;
 
}
 
}
  
Line 55: Line 57:
 
     border-right: 1px solid black;
 
     border-right: 1px solid black;
 
     border-left: 1px solid black;
 
     border-left: 1px solid black;
 +
}
 +
 +
nav ul ul{
 +
    position: absolute;
 +
    top: 100%;
 +
 
}
 
}
  
Line 243: Line 251:
 
   <li ><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></li>
 
   <li ><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></li>
  
 
+
      <ul>
 +
        <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>
 +
      </ul>
  
 
   <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Description"><strong>Project</strong></a></li>
 
   <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Description"><strong>Project</strong></a></li>

Revision as of 23:46, 16 July 2016