toolbar-css/toolbar.css

64 lines
1.3 KiB
CSS

nav{align-content: space-around; align-items: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
list-style-type: none;
margin: 0;
padding: 0;
}
.fh{
margin: 0 auto;
font-size: 20px;
border-style: solid;
border-color: black;
border-width: 2px;
border-radius: 5px;
padding: 10px;
color: black;
}
.fh:hover{
border-color: #7F54A3;
background-color: #7F54A3;
color: white;
}
#fh-head{
margin: 0 auto;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
margin: 0 auto;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #ffffff;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 5px 5px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}
/* 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: #7F54A3;}