Coprec: petit correctif pour la gestion de l'image de la page (fond de landing page et bandeau)

This commit is contained in:
Michael Bideau 2019-01-28 12:10:47 +00:00
parent 38756acc0e
commit 1f3d53d31b
1 changed files with 5 additions and 20 deletions

View File

@ -27,27 +27,12 @@
}
}
#nav-wrapper {
/* ne pas afficher la navigation */
nav {
display: none;
background: transparent;
margin-bottom: 0px;
font-size: 24px;
div.gru-nav > ul {
padding-top: 2rem;
margin-top: 0;
margin-bottom: 0px;
ul {
font-size: 18px;
}
}
div.gru-nav > ul > li a {
line-height: 2em;
}
div.gru-nav > ul > li:first-child a {
padding-left: 0;
}
}
/* pour contenir l'image de bandeau, le titre et le sous-titre */
#bandeau {
width: 100%;
background-color: transparent;
@ -78,7 +63,7 @@
}
}
}
body.has_picture #bandeau {
body.has-picture #bandeau {
background-image: var(--page-picture);
}
@ -260,7 +245,7 @@ body.page-template-landing_page {
padding: 0;
}
}
body.page-template-landing_page {
body.page-template-landing_page.has-picture {
background-image: var(--page-picture);
}
/* fin surcharge landing pages */