2021-11-09 13:06:35 +01:00
|
|
|
#mainmenu {
|
2020-10-13 17:11:32 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 100px;
|
|
|
|
display: flex;
|
|
|
|
align-content: flex-end;
|
|
|
|
justify-content: flex-end;
|
|
|
|
width: 100%;
|
2021-01-11 14:45:41 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2021-09-25 23:37:15 +02:00
|
|
|
.dropdown-content {
|
2020-10-13 17:11:32 +02:00
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
width: max-content;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
2021-01-11 15:38:38 +01:00
|
|
|
a {
|
2021-02-28 00:46:31 +01:00
|
|
|
background-color: $back-color-3;
|
2021-01-11 19:12:50 +01:00
|
|
|
border-bottom: $back-color-2 solid 2px;
|
2021-01-11 15:38:38 +01:00
|
|
|
width: 100%;
|
2021-01-11 19:39:22 +01:00
|
|
|
color: $text-color;
|
2021-03-05 22:47:51 +01:00
|
|
|
transition: background-color $link-hover-animation-time linear;
|
2021-09-25 23:37:15 +02:00
|
|
|
&:first-of-type {
|
2021-02-28 11:21:26 +01:00
|
|
|
border-top-left-radius: $border-radius-sub-nav;
|
|
|
|
border-top-right-radius: $border-radius-sub-nav;
|
2021-02-28 00:46:31 +01:00
|
|
|
}
|
|
|
|
&:last-of-type {
|
2021-01-11 19:39:22 +01:00
|
|
|
border-bottom: none;
|
2021-02-28 11:21:26 +01:00
|
|
|
border-bottom-left-radius: $border-radius-sub-nav;
|
|
|
|
border-bottom-right-radius: $border-radius-sub-nav;
|
2021-02-28 00:46:31 +01:00
|
|
|
}
|
2021-09-25 23:37:15 +02:00
|
|
|
&:hover {
|
2021-02-28 00:46:31 +01:00
|
|
|
background-color: $back-color-2;
|
2021-01-11 19:39:22 +01:00
|
|
|
}
|
2021-01-11 15:38:38 +01:00
|
|
|
}
|
2020-10-13 17:11:32 +02:00
|
|
|
}
|
|
|
|
|
2021-09-25 23:37:15 +02:00
|
|
|
.navLink:hover {
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown:hover {
|
|
|
|
.navLink {
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
.dropdown-content {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-10-13 17:11:32 +02:00
|
|
|
}
|
|
|
|
|
2021-11-09 13:06:35 +01:00
|
|
|
.menuSelected {
|
2020-10-13 17:11:32 +02:00
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 600px) {
|
2021-11-09 13:06:35 +01:00
|
|
|
#mainmenu {
|
2020-10-13 17:11:32 +02:00
|
|
|
right: 10px;
|
|
|
|
}
|
2021-11-09 12:42:45 +01:00
|
|
|
}
|