website/public/css/menue.css

50 lines
No EOL
825 B
CSS

#mainMenu{
position: absolute;
top: 20px;
right: 100px;
display: flex;
align-content: flex-end;
justify-content: flex-end;
width: 100%;
}
#mainMenu a {
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
display: inline-block;
}
.dropdown {
display: inline-block;
position: relative;
}
.dropdown-content{
position: absolute;
display: none;
width: max-content;
left: 50%;
transform: translateX(-50%);
background-color: #1a2332;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a{
border-bottom: #151d28 solid 2px;
width: 100%;
}
.menueSelected{
text-decoration: underline !important;
}
@media only screen and (max-width: 600px) {
#mainMenu{
right: 10px;
}
}