website/scss/_menue.scss

55 lines
948 B
SCSS
Raw Normal View History

2020-10-13 17:11:32 +02:00
#mainMenu{
position: absolute;
top: 20px;
right: 100px;
display: flex;
align-content: flex-end;
justify-content: flex-end;
width: 100%;
a {
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
display: inline-block;
}
2020-10-13 17:11:32 +02:00
}
.dropdown {
display: inline-block;
position: relative;
}
.dropdown-content{
position: absolute;
display: none;
width: max-content;
left: 50%;
transform: translateX(-50%);
2021-01-11 19:39:22 +01:00
background-color: $back-color-3;
a {
2021-01-11 19:12:50 +01:00
border-bottom: $back-color-2 solid 2px;
width: 100%;
2021-01-11 19:39:22 +01:00
color: $text-color;
&:last-child{
border-bottom: none;
}
}
2020-10-13 17:11:32 +02:00
}
.dropdown:hover .dropdown-content {
display: block;
}
.menueSelected{
text-decoration: underline !important;
}
@media only screen and (max-width: 600px) {
#mainMenu{
right: 10px;
}
}