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

Line 25: Line 25:
 
.dropdown-content {
 
.dropdown-content {
 
     display: none;
 
     display: none;
     position: center;
+
     position: absolute;
 
     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;
}
+
    margin-left: 43.7px;
 
+
.dropdown-menu-center {
+
  left: 50%;
+
  right: auto;
+
  text-align: center;
+
  transform: translate(-50%, 0);
+
 
}
 
}
  

Revision as of 01:14, 19 August 2018