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

Line 16: Line 16:
  
 
.dropdown {
 
.dropdown {
     position: relative;
+
     position: fixed;
 
     display: inline-block;
 
     display: inline-block;
 
     text-align: center;
 
     text-align: center;
Line 23: Line 23:
 
.dropdown-content {
 
.dropdown-content {
 
     display: none;
 
     display: none;
     position: inline-block;
+
     position: relative;
 
     background-color: #45827A;
 
     background-color: #45827A;
 
     width: 120px;
 
     width: 120px;
Line 49: Line 49:
 
.dropdown:hover .dropbtn {background-color: #3e8e41;}
 
.dropdown:hover .dropbtn {background-color: #3e8e41;}
  
.sticky {
 
  position: fixed;
 
  top: 0;
 
  width: 100%;
 
}
 
 
.sticky + .content {
 
  padding-top: 60px;
 
}
 
  
 
</style>
 
</style>

Revision as of 00:21, 19 August 2018