47 lines
1.1 KiB
CSS
47 lines
1.1 KiB
CSS
|
/* Dropdown Button */
|
||
|
.dropbtn {
|
||
|
background-color: rgb(245, 59, 252);
|
||
|
color: white;
|
||
|
/* padding: 16px; */
|
||
|
/* font-size: 16px; */
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
/* Dropdown button on hover & focus */
|
||
|
.dropbtn:hover, .dropbtn:focus {
|
||
|
background-color: #2980B9;
|
||
|
}
|
||
|
|
||
|
/* The container <div> - needed to position the dropdown content */
|
||
|
.dropdown {
|
||
|
/* margin-left: 0.55vh; */
|
||
|
/* position: relative; */
|
||
|
/* display: inline-block; */
|
||
|
}
|
||
|
|
||
|
/* Dropdown Content (Hidden by Default) */
|
||
|
.dropdown-content {
|
||
|
/* display: none; */
|
||
|
position: absolute;
|
||
|
background-color: #777;
|
||
|
min-width: 160px;
|
||
|
box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
/* Links inside the dropdown */
|
||
|
.dropdown-content a {
|
||
|
color: black;
|
||
|
padding: 12px 16px;
|
||
|
text-decoration: none;
|
||
|
/* display: block; */
|
||
|
}
|
||
|
|
||
|
/* Change color of dropdown links on hover */
|
||
|
.dropdown-content a:hover {background-color: rgb(115, 248, 88)}
|
||
|
|
||
|
.dropDownItem:hover {background-color: #888}
|
||
|
|
||
|
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
|
||
|
.show {display:block;}
|