2022-03-29 16:15:20 +02:00
|
|
|
|
|
|
|
header {
|
|
|
|
@include xy-grid();
|
|
|
|
@include xy-gutters(0);
|
|
|
|
main {
|
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell(12);
|
|
|
|
@include flex-align(center, middle);
|
2022-04-24 14:21:10 +02:00
|
|
|
padding: $global-padding $global-padding;
|
2022-03-29 16:15:20 +02:00
|
|
|
min-width: 14rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-03-31 11:08:40 +02:00
|
|
|
@include breakpoint(large){
|
2022-03-29 16:15:20 +02:00
|
|
|
@include xy-cell(shrink);
|
|
|
|
@include flex-align(left, middle);
|
|
|
|
text-align: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nav {
|
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell(12);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(center, middle);
|
2022-03-31 11:08:40 +02:00
|
|
|
padding-bottom: $global-padding*2;
|
2022-03-29 16:15:20 +02:00
|
|
|
a, button {
|
|
|
|
color: $black;
|
|
|
|
&:hover {
|
|
|
|
color: $anchor-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
menu {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2022-03-31 11:08:40 +02:00
|
|
|
.menu {
|
|
|
|
&.dropdown {
|
|
|
|
justify-content:center;
|
|
|
|
li,.button {
|
|
|
|
min-width: unset;
|
|
|
|
margin:0;
|
|
|
|
padding:0;
|
2022-04-24 14:21:10 +02:00
|
|
|
font-size: $global-font-size*0.9;//$header-menu-font-size;
|
2022-03-31 11:08:40 +02:00
|
|
|
}
|
|
|
|
.button {
|
2022-04-24 14:21:10 +02:00
|
|
|
margin-left: $global-margin;
|
2022-03-31 11:08:40 +02:00
|
|
|
background-color:$input-background;
|
|
|
|
}
|
|
|
|
.is-dropdown-submenu {
|
|
|
|
font-size: $dropdown-font-size * 0.95;
|
|
|
|
min-width: 10rem;
|
|
|
|
box-shadow: 0 3px 5px 3px rgba(200, 200, 200, 0.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
}
|
2022-03-31 11:08:40 +02:00
|
|
|
@include breakpoint(large) {
|
2022-03-29 16:15:20 +02:00
|
|
|
@include xy-cell(auto);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(right, middle);
|
2022-03-31 11:08:40 +02:00
|
|
|
padding-bottom: 0;//$global-padding;
|
2022-03-29 16:15:20 +02:00
|
|
|
menu {
|
|
|
|
margin: inherit;
|
|
|
|
padding: inherit;
|
2022-03-31 11:08:40 +02:00
|
|
|
.menu {
|
|
|
|
&.dropdown {
|
|
|
|
justify-content: end;
|
|
|
|
li,.button {
|
|
|
|
font-size: $global-font-size*1.4;//$header-menu-font-size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-29 16:15:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|