collection-single hero nav as submenu, margins to left and right´

This commit is contained in:
jorge 2022-04-27 14:11:12 +02:00
parent f0f6e24f6a
commit 5e3148165e
3 changed files with 16 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -135,6 +135,7 @@
// -- submenus
.omekas-entry-content {
.sub-menu.wide {
//padding like .hero.collection-single aside nav
position: absolute;
left: 0;
width: 100vw;

View File

@ -595,10 +595,24 @@ main {
}
aside {
nav {
//like .omekas-entry-content .sub-menu.wide
@include flex-align(justify,middle);
width: 100vw;
border-top: $global-border-archive;
border-bottom: $global-border-archive;
margin: 0;
@include breakpoint(small) {
padding-left: 0;
padding-right: 0;
}
@include breakpoint(medium) {
padding-left: $global-padding * 3;
padding-right: $global-padding * 3;
}
@include breakpoint(xxlarge) {
padding-left: $global-padding * 8;
padding-right: $global-padding * 8;
}
}
}
}