region-reunion: move page picture on top of main content (#41805)

This commit is contained in:
Thomas Jund 2020-04-17 15:00:47 +02:00
parent cdd532c057
commit 2c55cfafb6
2 changed files with 15 additions and 0 deletions

View File

@ -128,6 +128,20 @@ div#main-content-wrapper {
padding-right: 1rem;
}
}
body.has-picture #main-content {
&:before {
content: '';
display: block;
padding-top: 16.5%;
background-image: var(--page-picture);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
margin-bottom: 1rem;
}
}
main {
&::after {
content: "";

View File

@ -28,6 +28,7 @@ $nav-item-selected-color: $primary-color;
$nav-item-hover-color: white;
$nav-item-hover-background: $primary-color;
$nav-submenu-background: $primary-color;
$nav-after-image: false;
$nav-mobile-menu-background: $primary-color;
$nav-mobile-menu-item-color: white;