Difference between revisions of "Template:Manchester/CSS1"

m
m
Line 5: Line 5:
 
     background-color:#111;
 
     background-color:#111;
 
     margin-left: -15px;
 
     margin-left: -15px;
 +
    margin-right: 15px;
 
}
 
}
  
Line 38: Line 39:
 
     position: fixed;
 
     position: fixed;
 
     display:inline-block;
 
     display:inline-block;
     width: 1099.5px;
+
     width: 100%;
 
     top: 5px;
 
     top: 5px;
 
     left: 5px;
 
     left: 5px;
 +
    right; 5px;
 
     font-size:20px;
 
     font-size:20px;
 
     list-style-type: none;
 
     list-style-type: none;
Line 85: Line 87:
 
}
 
}
 
      
 
      
 +
.dropbtn {
 +
    display: none;
 +
    position: absolute;
 +
}
 +
 +
.dropbtn li a {
 +
    color: white;
 +
    background-color: orange;
 +
    padding: 12px 16px;
 +
    text-decoration: none;
 +
    display: block;
 +
}   
 +
 +
.dropbtn li a:hover {
 +
    color: black;
 +
    width: 100%;
 +
}
 +
 +
.dropdown_content:hover .dropbtn{
 +
    display: block;
 +
}
 +
 +
.dropdown_content:hover{
 +
    background: light-orange;
 +
}
 +
  
 
/********************************* CONTENT OF THE PAGE ********************************/
 
/********************************* CONTENT OF THE PAGE ********************************/
Line 215: Line 243:
 
   <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></li>
 
   <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Team"><strong>Team</strong></a></li>
 
   <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>
   <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Description"><strong>Parts</strong></a></li>
+
   <li class="dr
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Safety"<strong>Safety</strong></a></li>
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Attributions"><strong>Attribution</strong></a></li>
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Human_Practices"><strong>Human Practices</strong></a></li>
+
  <li class="dropdown_content"><a href="https://2016.igem.org/Team:Manchester/Model"><strong>Awards</strong></a></li>
+
</ul>
+
 
+
 
+
</body>
+
 
+
</html>
+

Revision as of 16:56, 16 July 2016