2021-07-02 14:17:32 +02:00
|
|
|
|
|
|
|
header {
|
|
|
|
@include xy-grid();
|
|
|
|
@include xy-gutters(0);
|
|
|
|
main {
|
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell(12);
|
|
|
|
@include flex-align(center, middle);
|
|
|
|
padding: $global-padding*2 $global-padding;
|
|
|
|
min-width: 14rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-07-06 12:25:02 +02:00
|
|
|
@include breakpoint(large){
|
2021-07-02 14:17:32 +02:00
|
|
|
@include xy-cell(shrink);
|
|
|
|
@include flex-align(left, middle);
|
|
|
|
text-align: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nav {
|
2021-07-06 12:25:02 +02:00
|
|
|
@include breakpoint(small) {
|
2021-07-02 14:17:32 +02:00
|
|
|
@include xy-cell(12);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(center, middle);
|
|
|
|
a, button {
|
|
|
|
color: $black;
|
|
|
|
&:hover {
|
|
|
|
color: $anchor-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
menu {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
2021-07-06 12:25:02 +02:00
|
|
|
.menu a {
|
|
|
|
padding: $global-padding*0.7 $global-padding*0.5;
|
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-06 12:25:02 +02:00
|
|
|
@include breakpoint(medium) {
|
|
|
|
menu {
|
|
|
|
font-size: $global-font-size*1.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include breakpoint(large) {
|
2021-07-02 14:17:32 +02:00
|
|
|
@include xy-cell(auto);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(right, middle);
|
|
|
|
menu {
|
|
|
|
margin: inherit;
|
|
|
|
padding: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|