Skip to content

Commit be1b19c

Browse files
committed
Fix Colofond style and add variables
1 parent da51889 commit be1b19c

File tree

3 files changed

+30
-14
lines changed

3 files changed

+30
-14
lines changed

base/src/scss/_trucaverif.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -575,20 +575,6 @@ body#visual-portal-wrapper.userrole-anonymous.portaltype-imio-smartweb-procedure
575575
padding-bottom: 0 !important;
576576
}
577577

578-
.colophonWrapper {
579-
padding: 0.5rem 1rem 0;
580-
}
581-
582-
.colophonWrapper ul {
583-
justify-content: center;
584-
gap: 1rem;
585-
text-align: center;
586-
}
587-
588-
.colophonWrapper li {
589-
margin-right: 0;
590-
}
591-
592578
.template-sitemap ul {
593579
padding-left: 2rem;
594580
}

base/src/scss/common/_com-footer.scss

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
11
#portal-colophon {
2+
background-color: $colofon-bg;
3+
padding: 15px 0;
4+
25
li {
6+
color: $colofon-color;
7+
8+
a {
9+
color: $colofon-color;
10+
11+
&:hover,
12+
&:focus {
13+
color: lighten($colofon-color, 20%) !important;
14+
}
15+
}
16+
317
list-style: none;
418
}
19+
20+
.colophonWrapper {
21+
ul {
22+
display: flex;
23+
flex-wrap: wrap;
24+
margin: 0;
25+
align-items: center;
26+
justify-content: center;
27+
gap: 15px;
28+
}
29+
}
530
}
631

732
footer li {

base/src/scss/variables.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@ $event-date-color: $primary !default;
291291
$event-date-font-size: 14px !default;
292292
$event-see-all-justify-content: $see-all-justify-content !default;
293293

294+
// footer
295+
296+
$colofon-bg: $primary !default;
297+
$colofon-color: #fff !default;
298+
294299
// Album
295300
$album-section-full-width: true !default;
296301
$album-section-bg: #edeae5 !default;

0 commit comments

Comments
 (0)