marges des premiers blocs page accueil avec ou sans prochaine émission

This commit is contained in:
chankalan 2021-10-05 15:09:50 +02:00
parent f8d4e8e986
commit c3f9ce9da6

View File

@ -182,6 +182,9 @@ html .formulaire_spip input[type="text"] {
.texte_accueil { .texte_accueil {
.page_content > article& {
margin-bottom:0;
}
background-color:white; background-color:white;
.main { .main {
padding-bottom:1rem; padding-bottom:1rem;
@ -787,29 +790,16 @@ a:hover .fab, a:hover .fas {
font-weight:700; font-weight:700;
} }
} }
.photo { }
margin-right:-4rem; .derniere_emission:not(.emission_heroine) {
background:$couleurBackgroundTexte; .emission-resume {
margin:0 -4rem;
@include media($bp-medium) { @include media($bp-medium) {
margin:0 -2rem; margin:0 -2rem;
} }
.photoapril {
margin:0;
}
a {
display:inline-block;
padding:0 1rem;
font-size:0.9rem;
font-weight:500;
color:$couleurSecondaire;
@include media($bp-medium) {
float:none;
padding:0 2rem;
}
}
} }
} }
.derniere_emission { .derniere_emission.emission_heroine {
position:relative; position:relative;
margin-top:-2rem; margin-top:-2rem;
padding:0; padding:0;
@ -832,6 +822,11 @@ a:hover .fab, a:hover .fas {
margin-top:0; margin-top:0;
} }
} }
.prochaine_emission.emission_heroine {
.page_content > article& {
margin-bottom:4rem;
}
}
.texte_content { .texte_content {
flex:1; flex:1;
@ -901,7 +896,7 @@ a:hover .fab, a:hover .fas {
} }
.emission_heroine.emission-resume.article-resume { .emission_heroine.emission-resume.article-resume {
margin-bottom:6rem; margin-bottom:4rem;
padding-bottom: 2rem; padding-bottom: 2rem;
.article__infos { .article__infos {
margin: 0 0 0 -4rem; margin: 0 0 0 -4rem;