You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/* Dropdown Button */
|
|
|
|
.dropbtn {
|
|
|
|
padding: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* The container <div> - needed to position the dropdown content */
|
|
|
|
.dropdown {
|
|
|
|
background-color: black;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dropdown Content (Hidden by Default) */
|
|
|
|
.dropdown-content {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Links inside the dropdown */
|
|
|
|
.dropdown-content a {
|
|
|
|
color: white;
|
|
|
|
padding: 12px 16px;
|
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Change color of dropdown links on hover */
|
|
|
|
.dropdown-content a:hover {background-color: var(--spot-color-1)}
|
|
|
|
|
|
|
|
/* Show the dropdown menu on hover */
|
|
|
|
.dropdown:hover .dropdown-content {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Change the background color of the dropdown button when the dropdown content is shown */
|
|
|
|
.dropdown:hover .dropbtn {background-color: #fffeff;}
|