Skip to content

Commit

Permalink
Theme Gembloux - Homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Broemman committed Jan 2, 2025
1 parent ab97433 commit b0ec907
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 29 deletions.
19 changes: 19 additions & 0 deletions gembloux/src/scss/home/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@
left: 50%;
transform: translateX(-50%);

.swiper_date {
width: 100%;

.day_date {
margin: 0 auto;
}
}

.swiper_category {
position: absolute;
top: 0;
right: 0;

span {
border-radius: 0 0 0 20px;
}
}

.carousel {
padding: 5px;
}
Expand Down Expand Up @@ -62,6 +80,7 @@

.swiper_title {
margin-top: 0;
text-align: center;

h3 {
font-family: $font-family-base;
Expand Down
33 changes: 30 additions & 3 deletions gembloux/src/scss/home/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ body:not(.portaltype-imio-smartweb-portalpage.section-home-page)

#portal-footer-wrapper #portal-footer .sectionlinks .container .body-section {
.row {
li.work,
li.fax,
li.facebook {
padding-left: 0 !important;
}

li {
.table_display {
.table_image {
Expand All @@ -87,7 +93,7 @@ body:not(.portaltype-imio-smartweb-portalpage.section-home-page)
}

.table_title {
padding-left: 30px !important;
padding-left: 0 !important;
font-size: 1rem !important;

span {
Expand All @@ -96,7 +102,7 @@ body:not(.portaltype-imio-smartweb-portalpage.section-home-page)

&:hover {
span {
color: $primary-light !important;
color: $primary-svg !important;
transition: all 0.5s ease;
}
}
Expand Down Expand Up @@ -190,7 +196,7 @@ footer {
}

.table_title {
padding-left: 30px !important;
padding-left: 0;
font-size: 1rem !important;
color: #fff !important;
text-decoration: none !important;
Expand Down Expand Up @@ -225,3 +231,24 @@ footer {
color: #fff !important;
}
}

#smartweb-subsite-footer .sectionlinks {
a.table_image {
display: flex;

.image.d-block.is-icon.w-100 {
width: 20px;
margin-right: 5px;
fill: #fff;

svg.plone-icon {
fill: #fff;
}
}
}
}

#portal-footer #smartweb-footer a:hover,
#portal-footer-wrapper #portal-footer #smartweb-minisite-footer a:hover {
color: $primary-svg !important;
}
42 changes: 24 additions & 18 deletions gembloux/src/scss/home/partenaires.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
// .titre-partenaires {
// position: relative;
// margin-top: -250px;

// h2 {
// font-weight: 700 !important;
// font-size: 3.25rem;
// line-height: 2rem;
// text-transform: none;
// position: relative;
// color: $primary;
// }

// @media screen and (max-width: 1200px) {
// display: none;
// }
// }

.bloc-partenaires {
background: transparent;
padding-top: 2rem;
Expand All @@ -24,6 +6,19 @@
max-width: 100vw;
border-radius: 0;

li.col-md-6:first-child {
border-right: solid 1px #fff;
border-bottom: solid 1px #fff;
}

li.col-md-6:nth-child(2) {
border-bottom: solid 1px #fff;
}

li.col-md-6:nth-child(3) {
border-right: solid 1px #fff;
}

.swiper-button-next,
.swiper-button-prev {
display: none;
Expand All @@ -41,6 +36,10 @@
text-align: center;
margin: 20px 0 50px;

h2 {
text-transform: initial;
}

@media screen and (max-width: 992px) {
transform: rotate(0deg);
position: initial;
Expand Down Expand Up @@ -123,3 +122,10 @@
}
}
}

@media screen and (max-width: 600px) {
.sortable-section.sectionlinks.rs.partenaires {
background: $primary-svg;
padding: 30px 0;
}
}
8 changes: 1 addition & 7 deletions gembloux/src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,7 @@ body.portaltype-imio-smartweb-portalpage.section-home-page
}

#portal-header #portal-header-top #header-links #search-link a:hover {
background: #f2f2f5;
}

#portal-header #portal-header-top #portal-logo {
svg {
width: 200px;
}
background: $primary-svg;
}

.header-custom #banner::after {
Expand Down
2 changes: 1 addition & 1 deletion gembloux/src/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $swiper-raduis: 50px !default;
$swipper-bullet-color: $primary;

//*// HEADER
$main-logo-max-width: 200px !default;
$main-logo-max-width: 125px;
$header-top-padding: 1rem 0 !default;
$header-top-background: #fff !default;
$header-center-nav: false !default;
Expand Down

0 comments on commit b0ec907

Please sign in to comment.