collection-single hero nav as submenu, margins to left and right´
This commit is contained in:
parent
f0f6e24f6a
commit
5e3148165e
File diff suppressed because one or more lines are too long
|
@ -135,6 +135,7 @@
|
||||||
// -- submenus
|
// -- submenus
|
||||||
.omekas-entry-content {
|
.omekas-entry-content {
|
||||||
.sub-menu.wide {
|
.sub-menu.wide {
|
||||||
|
//padding like .hero.collection-single aside nav
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|
|
@ -595,10 +595,24 @@ main {
|
||||||
}
|
}
|
||||||
aside {
|
aside {
|
||||||
nav {
|
nav {
|
||||||
|
//like .omekas-entry-content .sub-menu.wide
|
||||||
|
@include flex-align(justify,middle);
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
border-top: $global-border-archive;
|
border-top: $global-border-archive;
|
||||||
border-bottom: $global-border-archive;
|
border-bottom: $global-border-archive;
|
||||||
margin: 0;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue