Thème Ville d'Avray: le sélecteur CSS 'section-' pour styler les titres des formulaires non-rattachés à une rubrique est inutile

This commit is contained in:
Michael Bideau 2019-03-06 10:16:28 +00:00
parent 73fded8624
commit e2d85266ec
1 changed files with 19 additions and 27 deletions

View File

@ -393,37 +393,29 @@ nav {
/* Custommization des titres avec un soulignage
* dans les pages de formulaires.
* Les formulaires n'étant rattachés à aucune rubrique
* on utilise la classe 'section-' pour détecter ça.
*/
body.section- {
div#tracking-code h3,
div#rub_service h2,
div#rub_service div.category h3,
.gru-content div.a2-block h2,
.gru-content div.block h2,
div.links-list h2,
div#services > ul > li > strong > a,
.gru-content div.textcell h2,
.gru-content div.textcell h2:first-child,
.gru-content div.cell h2:first-child {
background: transparent;
color: $font-color;
font-size: 150%;
font-weight: bold;
padding-left: 0.5rem;
text-align: left;
&::after {
display: block;
content: "";
background: $primary-color;
margin-top: 7px;
width: 40px;
height: 4px;
}
div#tracking-code h3,
div#rub_service h2,
div#rub_service div.category h3,
.gru-content div.a2-block h2,
.gru-content div.block h2 {
background: transparent;
color: $font-color;
font-size: 150%;
font-weight: bold;
padding-left: 0.5rem;
text-align: left;
&::after {
display: block;
content: "";
background: $primary-color;
margin-top: 7px;
width: 40px;
height: 4px;
}
}
@media screen and (max-width: $mobile-limit) {
#header #top #logo a {
display: block;