Difference between revisions of "Template:British Columbia/Header"

Line 14: Line 14:
 
     text-align: center;
 
     text-align: center;
 
     margin-top: -1000px;
 
     margin-top: -1000px;
 +
    margin-left: 50px;
 
}
 
}
  
Line 24: Line 25:
 
.dropdown-content {
 
.dropdown-content {
 
     display: none;
 
     display: none;
     position: relative;
+
     position: center;
 
     background-color: #45827A;
 
     background-color: #45827A;
 
     width: 120px;
 
     width: 120px;
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
     z-index: 1;
 
     z-index: 1;
    text-align: center;
+
}
 +
 
 +
.dropdown-menu-center {
 +
  left: 50%;
 +
  right: auto;
 +
  text-align: center;
 +
  transform: translate(-50%, 0);
 
}
 
}
  
 
.dropdown-content a {
 
.dropdown-content a {
 
     color: white;
 
     color: white;
     font-family:GeosansLight;
+
     font-family: GeosansLight;
 
     font-size: 15px;
 
     font-size: 15px;
 
     letter-spacing: 1px;
 
     letter-spacing: 1px;
Line 44: Line 51:
 
}
 
}
  
.dropdown-content a:hover {background-color: #ddd;}
+
.dropdown-content a:hover {background-color: #22645B;}
  
 
.dropdown:hover .dropdown-content {display: block;}
 
.dropdown:hover .dropdown-content {display: block;}
  
.dropdown:hover .dropbtn {background-color: #3e8e41;}
+
.dropdown:hover .dropbtn {background-color: #C4DFDD;}
  
  

Revision as of 00:55, 19 August 2018