Skip to content

Commit

Permalink
Theme Herbeumont - Homepage after background
Browse files Browse the repository at this point in the history
  • Loading branch information
Broemman committed Dec 11, 2024
1 parent e0fb5a2 commit eb3b760
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
15 changes: 14 additions & 1 deletion herbeumont/src/scss/home/actualites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@
z-index: -1;
}

.portaltype-imio-smartweb-portalpage.section-home-page
.sortable-section.sectionnews::before {
background: $primary-svg;
bottom: 0;
content: "";
left: 50% !important;
position: absolute;
top: 0;
transform: translateX(-50vw);
width: 100vw !important;
z-index: -2;
}

.sectionnews {
position: relative;

Expand All @@ -37,7 +50,7 @@
text-transform: none;
position: relative;
color: $primary-dark;
text-align: right;
text-align: center;
margin-bottom: 1rem;
}

Expand Down
13 changes: 13 additions & 0 deletions herbeumont/src/scss/home/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@
z-index: -1;
}

.portaltype-imio-smartweb-portalpage.section-index
.sortable-section.sectionevents::before {
background: $primary-svg;
bottom: 0;
content: "";
right: 50% !important;
position: absolute;
top: 0;
transform: translateX(-50vw);
width: 100vw !important;
z-index: -2;
}

.portaltype-imio-smartweb-portalpage .sectionevents {
margin: 0;
width: 50% !important;
Expand Down
7 changes: 6 additions & 1 deletion herbeumont/src/scss/home/quick.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
.table_image {
.image.d-block {
background: $primary-svg;

svg {
fill: $primary;
}
}
}
}
Expand All @@ -44,9 +48,10 @@
.image.d-block {
transform: translateY(-5px);
transition: all 0.3s ease;
background: $primary;

svg {
fill: $primary;
fill: #fff;
}
}
}
Expand Down

0 comments on commit eb3b760

Please sign in to comment.