Thème Ville d'Avray: correction des titres dans les formulaires et dans les cellules 'textcell' (sidebar) et 'wcsformsofcategorycell'; ajout d'une marge entre le contenu et la sidebar

This commit is contained in:
Michael Bideau 2019-03-05 16:20:51 +00:00
parent 89ef9a6406
commit 73fded8624
2 changed files with 47 additions and 1 deletions

View File

@ -243,6 +243,10 @@ nav {
font-weight: bold;
}
.cell.wcsformsofcategorycell h2 {
background-color: #f3f3f3;
}
#sidebar {
.cell {
margin-right: 0;
@ -294,6 +298,14 @@ nav {
color: white;
}
}
.cell.textcell h2 {
background-color: #f3f3f3;
}
}
#columns {
padding-right: 20px;
}
}
}
@ -378,6 +390,40 @@ 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;
}
}
}
@media screen and (max-width: $mobile-limit) {
#header #top #logo a {
display: block;

View File

@ -37,7 +37,7 @@ $border-radius: 0px;
$widget-border-radius: 3px;
$title-background: $primary-color;
$title-color: #004171;
$title-color: white;
$link-color: #96B313;