Skip to content

Commit

Permalink
Theme Gembloux - Homepage A la une
Browse files Browse the repository at this point in the history
  • Loading branch information
Broemman committed Dec 10, 2024
1 parent d4adae9 commit 6d050f5
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 58 deletions.
29 changes: 20 additions & 9 deletions gembloux/assets/svg/after-banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 11 additions & 34 deletions gembloux/src/scss/home/a-la-une.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
.swiper-button-next,
.swiper-button-prev {
top: 50% !important;
box-shadow: rgb(99 99 99 / 20%) 0 2px 8px 0;
}

.swiper-button-prev {
Expand Down Expand Up @@ -74,25 +73,6 @@
text-align: right !important;
}

&::before {
background: url("../../assets/svg/bg-alaune.svg") center 300px no-repeat;
background-size: cover;
border-radius: 0;
bottom: 0;
content: "";
right: 0;
position: absolute;
top: 0;
width: 100vw;
z-index: -1;

@media screen and (max-width: 992px) {
background: #f4f4f4;
width: 100%;
border: 0;
}
}

.swiper-wrapper {
padding-bottom: 0;
}
Expand All @@ -119,11 +99,11 @@

.swiper-image {
margin-bottom: 0;
border-radius: 40px 0 0 40px;
border-radius: 20px;
width: 100%;

@media screen and (max-width: 992px) {
border-radius: 40px 40px 0 0;
border-radius: 20px;
}
}

Expand All @@ -136,26 +116,25 @@
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: auto 1fr;
background: #fff;
border-radius: 40px;
background: transparent;
border-radius: 20px;
padding: 0 !important;
position: relative;

&::before {
content: "";
position: absolute;
height: 100%;
border-radius: 40px;
border-radius: 20px;
z-index: -1;
left: 0;
top: 0;
width: 100%;
box-shadow: 0 0 10px rgba(0, 0, 0, 10%);
transition: 0.5s;
}

&:hover::before {
border-radius: 40px 40px 80px;
border-radius: 20px;
transition: 0.5s;
}
}
Expand Down Expand Up @@ -196,7 +175,6 @@
position: relative;

&::before {
background: linear-gradient(180deg, #f5f7f7 0, #f5f7f7 400px, #fff);
border-radius: 0;
bottom: 0;
content: "";
Expand All @@ -208,7 +186,6 @@
z-index: -1;

@media screen and (max-width: 992px) {
background: linear-gradient(180deg, #f5f7f7 0, #f5f7f7 300px, #fff);
width: 100%;
}
}
Expand All @@ -224,12 +201,12 @@
margin: 0 0 0 -30px;
width: max-content;
font-size: 30px;
text-transform: uppercase;
text-transform: i initial;
transform: rotate(180deg);
position: absolute;
padding: 100px 0 0;
writing-mode: vertical-rl;
color: $primary-svg;
color: $primary;
left: 20px;

@media screen and (max-width: 992px) {
Expand All @@ -254,12 +231,12 @@
}

.table_title {
color: $primary-svg;
color: $primary;
text-align: center;
width: 100%;
font-weight: 600;
font-size: 20px;
text-transform: uppercase;
text-transform: initial;
}

&:hover {
Expand All @@ -277,7 +254,7 @@
display: none;
}

#body-section-video-martelange {
#body-section-video-gembloux {
overflow: hidden;
border-radius: 40px;
}
Expand Down
11 changes: 4 additions & 7 deletions gembloux/src/scss/home/actualites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,37 @@
margin: 0 0 30px;
width: 100%;
text-align: left;
color: #000;
color: $primary;
font-size: 40px;
text-transform: uppercase;
text-transform: initial;
}

.swiper-wrapper {
.swiper-slide {
border-radius: 50px 0 0;
transition: 0.5s;

&:hover,
&:focus {
transition: 0.5s;
border-radius: 50px 0;
}

& > a {
align-items: center;
padding-bottom: 60px;
background: #fff;
border-radius: 40px;
box-shadow: 0 0 10px rgba(0, 0, 0, 10%);
transition: 0.5s;

.swiper-image {
transition: 0.5s;
}

.auth_source_container_title {
color: #000;
color: $primary;
font-size: 12px;
margin: 1rem 0 0.5rem;
padding: 0 1rem;
text-align: left;
text-align: center;
}

.swiper_date {
Expand Down
3 changes: 0 additions & 3 deletions gembloux/src/scss/home/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,12 @@

.swiper-wrapper {
.swiper-slide {
border-radius: 50px 0 0;
transition: 0.5s;

& > a {
align-items: center;
padding-bottom: 60px;
background: #fff;
border-radius: 40px;
box-shadow: 0 0 10px rgba(0, 0, 0, 10%);
transition: 0.5s;

.swiper-image {
Expand Down
6 changes: 1 addition & 5 deletions gembloux/src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ h1 {
z-index: 1;
left: 50%;
transform: translateX(-50%);
bottom: -5px;
bottom: 0;
width: 100vw;

@media screen and (max-width: 992px) {
Expand Down Expand Up @@ -777,10 +777,6 @@ h3 {
}

#portal-column-content .section-contact .contact-type-organization {
//background: #fff;
//border-radius: 40px;
//box-shadow: 0 0 10px rgba(0, 0, 0, 10%);

.contact_logo {
display: block;
padding-top: 100px;
Expand Down

0 comments on commit 6d050f5

Please sign in to comment.