cycat-project-website/_sass/components/_main-menu.scss

36 lines
711 B
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
.main-menu {
display: none;
@include media-breakpoint-up(md) {
display: block;
}
> ul {
display: flex;
align-items: center;
justify-content: flex-start;
> li {
list-style: none;
2020-08-23 12:01:06 +02:00
font-size: 1rem;
2018-12-09 08:21:01 +01:00
> a {
2020-08-23 12:01:06 +02:00
padding: 10px 12px 10px 12px;
2018-12-09 08:21:01 +01:00
display: inline-block;
2020-08-23 12:01:06 +02:00
font-weight: normal;
2018-12-09 08:21:01 +01:00
text-decoration: none;
2020-08-23 12:01:06 +02:00
color: $primary;
2018-12-09 08:21:01 +01:00
&:hover {
2020-08-23 12:01:06 +02:00
text-decoration: underline;
2018-12-09 08:21:01 +01:00
}
}
2020-08-23 12:01:06 +02:00
&.active {
> a {
font-weight: bold;
2018-12-09 08:21:01 +01:00
text-decoration: none;
2020-08-23 12:01:06 +02:00
&:hover {
text-decoration: none;
transition: all 225ms ease-in 0s;
}
2018-12-09 08:21:01 +01:00
}
}
}
}
}