Skip to content

Commit 12243e6

Browse files
committed
Theme Sambreville - Banner
1 parent 0ad072d commit 12243e6

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

sambreville/src/scss/homepage.scss

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,35 @@ body.portaltype-imio-smartweb-portalpage.section-home-page::after {
143143
}
144144

145145
//BANNER
146+
.bannerSwiper .section-slide {
147+
&::before {
148+
content: url("../../assets/svg/voile-banner.svg");
149+
width: 100%;
150+
max-width: 800px;
151+
top: 50%;
152+
position: absolute;
153+
right: 0;
154+
transform: translate(0, -50%);
155+
padding: 0;
156+
height: 100%;
157+
display: flex;
158+
align-items: center;
159+
justify-content: center;
160+
161+
@media screen and (max-width: 992px) {
162+
right: auto;
163+
left: 50%;
164+
transform: translate(-50%, -50%);
165+
width: 100%;
166+
padding: 0;
167+
}
168+
169+
@media screen and (max-width: 430px) {
170+
display: none;
171+
}
172+
}
173+
}
174+
146175
.bannerSwiper .section-slide {
147176
&::after {
148177
content: url("../../assets/svg/logo-banner-blc.svg");
@@ -151,7 +180,7 @@ body.portaltype-imio-smartweb-portalpage.section-home-page::after {
151180
max-width: 500px;
152181
top: 50%;
153182
position: absolute;
154-
right: 0;
183+
right: 200px;
155184
transform: translate(0, -50%);
156185
padding: 0;
157186
height: 100%;

0 commit comments

Comments
 (0)