Difference between revisions of "Template:Manchester/Navbar"

Line 74: Line 74:
 
     background-color: #ffffff;
 
     background-color: #ffffff;
 
}
 
}
 +
</style>
  
 
#nav {
 
#nav {
Line 137: Line 138:
 
     background-color: #d9d9d9;
 
     background-color: #d9d9d9;
 
}
 
}
 
</style>
 

Revision as of 10:57, 29 August 2018

#nav { padding-top: 2%; padding-bottom: 5%; float: right; padding-right: 5%; } #logo { float: left; padding-left: 0.8%; padding-right: 0%; } /* Style The Dropdown Button */ .dropbtn { padding: 20%; background-color: #ffffff; color: Black; font-size: 20px; font-weight: bold; border: none; cursor: pointer; } /* The container
- needed to position the dropdown content */ .dropdown { position: center; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; position: absolute; background-color: #f2f2f2; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 100; } /* Links inside the dropdown */ .dropdown-content a { color: black; padding: 18px; text-decoration: none; display: block; font-size: 20px; } /* Change color of dropdown links on hover */ .dropdown-content a:hover {background-color: #e8e8e8} /* Show the dropdown menu on hover */ .dropdown:hover .dropdown-content { display: block; } /* Change the background color of the dropdown button when the dropdown content is shown */ .dropdown:hover .dropbtn { background-color: #d9d9d9; }