Difference between revisions of "Template:AFCM-Egypt"

Line 22: Line 22:
 
}
 
}
  
.igem_2017_menu_wrapper a {
+
.container {
 +
    overflow: hidden;
 +
    background-color: #333;
 +
    font-family: Arial;
 +
}
 +
 
 +
.container a {
 
     float: left;
 
     float: left;
 
     font-size: 16px;
 
     font-size: 16px;
Line 31: Line 37:
 
}
 
}
  
.submenu_wrapper{
+
.dropdown {
 
     float: left;
 
     float: left;
 
     overflow: hidden;
 
     overflow: hidden;
 
 
}
 
}
  
.submenu_wrapper .dropbtn {
+
.dropdown .dropbtn {
 
     font-size: 16px;     
 
     font-size: 16px;     
 
     border: none;
 
     border: none;
Line 46: Line 51:
 
}
 
}
  
.igem_2017_menu_wrapper a:hover, .submenu_wrapper:hover .dropbtn{
+
.container a:hover, .dropdown:hover .dropbtn {
 
     background-color: red;
 
     background-color: red;
 
}
 
}
  
.submenu_button {
+
.dropdown-content {
 
     display: none;
 
     display: none;
 
     position: absolute;
 
     position: absolute;
Line 59: Line 64:
 
}
 
}
  
.submenu_button a {
+
.dropdown-content a {
 
     float: none;
 
     float: none;
     color: white;
+
     color: black;
 
     padding: 12px 16px;
 
     padding: 12px 16px;
 
     text-decoration: none;
 
     text-decoration: none;
Line 68: Line 73:
 
}
 
}
  
.submenu_button a:hover {
+
.dropdown-content a:hover {
 
     background-color: #ddd;
 
     background-color: #ddd;
 
}
 
}
  
.submenu_wrapper:hover .submenu_button {
+
.dropdown:hover .dropdown-content {
 
     display: block;
 
     display: block;
 
}
 
}

Revision as of 04:46, 9 August 2017