Skip to content

Commit

Permalink
graphisme
Browse files Browse the repository at this point in the history
  • Loading branch information
Broemman committed Aug 9, 2024
1 parent 18cc886 commit 0da1f16
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 79 deletions.
70 changes: 22 additions & 48 deletions troisponts/src/scss/home/actualites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,17 @@
padding: 0 54px 0 25px;
}

&::before {
background: $primary;
border-radius: 0 0 100px 100px;
bottom: 0;
content: "";
left: 50%;
position: absolute;
top: 130px;
margin-left: -700px;
width: 1400px;
z-index: -1;

@media screen and (max-width: 1400px) {
border-radius: 0;
left: 0;
top: 130px;
margin-left: 0;
width: 100%;
}
}

.section-title {
font-weight: 900 !important;
text-transform: uppercase;
position: relative;
color: $primary;
font-weight: 600;
text-transform: none;
margin: 0 0 0 -90px;
width: max-content;
font-size: 50px;
line-height: 50px;
padding-left: 25px;
font-size: 3.7rem;
transform: rotate(180deg);
position: absolute;
padding: 100px 0 0;
writing-mode: vertical-rl;
background: transparent;

@media screen and (max-width: 992px) {
transform: rotate(0deg);
Expand All @@ -65,9 +46,7 @@
&:hover,
&:focus {
transition: 0.5s;
//transform: translateY(10px);
//background: #EBEAE5;
//border-radius: 30px 0 30px 0;

h3 {
transition: 0.5s;
color: $primary;
Expand All @@ -77,34 +56,23 @@
& > a {
align-items: center;
padding-bottom: 20px;
position: relative;

.swiper-image {
transition: 0.5s;

&::after {
border-radius: 0;
content: "";
right: -25px;
position: absolute;
top: 1px;
width: 30px;
height: 50px;
z-index: -1;
background: url("../../assets/svg/relief-img.svg") top right
no-repeat;
}
}

.swiper_category {
width: 100%;
text-align: right;
margin: -37px 0 0;
margin: 0;
position: absolute;
top: 0;

span {
display: inline-block;
background: $primary-svg;
border-radius: 10px 0 0;
color: $primary;
border-radius: 0 10px;
text-transform: initial;
}
}

Expand All @@ -114,15 +82,21 @@
}

.swiper_title {
width: 100%;

h3 {
font-family: $font-family-base;
transition: 0.5s;
}
}

.swiper_description {
text-align: center;
width: 100%;

p {
margin: 0;
text-align: center;
}
}

Expand Down
21 changes: 9 additions & 12 deletions troisponts/src/scss/home/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@
}

.section-title {
font-weight: 900 !important;
text-transform: uppercase;
position: relative;
color: $primary;
font-weight: 600;
text-transform: none;
margin: 0 0 0 -90px;
width: max-content;
font-size: 50px;
line-height: 50px;
padding-left: 25px;
font-size: 3.7rem;
transform: rotate(180deg);
position: absolute;
padding: 100px 0 0;
writing-mode: vertical-rl;
background: transparent;

@media screen and (max-width: 992px) {
transform: rotate(0deg);
Expand All @@ -45,16 +47,11 @@

.swiper-wrapper {
.swiper-slide {
//background: #EDEDED;
//border-radius: 30px 0 0 0;
transition: 0.5s;

&:hover,
&:focus {
transition: 0.5s;
//transform: translateY(10px);
//background: #fff;
//border-radius: 30px 0 30px 0;

h3 {
transition: 0.5s;
Expand Down
38 changes: 19 additions & 19 deletions troisponts/src/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $container-max-widths: (
xl: 1140px,
xxl: 1320px,
);
$global-radius: 0 !default;
$global-radius: 10px;
$enable-title-uppercase: false !default;
$home-section-title-size: 3.25rem !default;
$home-section-title-margin: 0 0 2rem 0 !default;
Expand Down Expand Up @@ -152,24 +152,24 @@ $banner-content-description-font-size: 18px !default;
$banner-content-description-color: black !default;

// see_all
$see-all-padding: 0 !default;
$see-all-padding: 1rem 2rem;
$see-all-margin: 2rem 0 0 0 !default;
$see-all-bg: transparent !default;
$see-all-color: $primary !default;
$see-all-bg: $primary-svg;
$see-all-color: $primary-dark;
$see-all-radius: $global-radius !default;
$see-all-border: solid 0 $primary !default;
$see-all-border: solid 1px $primary-svg;
$see-all-text-transform: none !default;
$see-all-font-size: 16px !default;
$see-all-font-weight: 700 !default;
$see-all-transition: all 0.2s ease !default;
$see-all-hover-bg: transparent !default;
$see-all-hover-color: $primary-svg !default;
$see-all-hover-color: $primary-dark;
$see-all-hover-radius: $global-radius !default;
$see-all-hover-border: solid 0 $primary !default;
$see-all-justify-content: right !default;
$see-all-hover-border: solid 1 $primary-svg;
$see-all-justify-content: center;
$see-all-underline-color: $primary-svg !default;
$see-all-underline-width: 25% !default;
$see-all-hover-underline-width: 50% !default;
$see-all-underline-width: none;
$see-all-hover-underline-width: none;

// Quick access
$quick-access-section-full-width: false !default;
Expand Down Expand Up @@ -221,18 +221,18 @@ $actu-section-full-width: true !default;
$actu-section-padding-top: 2rem !default;
$actu-section-padding-bottom: 2rem !default;
$actu-section-margin: 0 !default;
$actu-title-color: $primary !default;
$actu-title-color: #000;
$actu-title-align: $home-section-title-align !default;
$actu-title-margin: $home-section-title-margin !default;
$actu-title-padding: $home-section-title-padding !default;
$actu-image-margin-bottom: 0 !default;
$actu-image-border-radius: $global-radius !default;
$actu-item-bg-color: rgb(244, 244, 244) !default;
$actu-image-border-radius: 10px;
$actu-item-bg-color: transparent;
$actu-item-bg-radius: $global-radius + 2 !default;
$actu-category-margin: 0 0 0.5rem 0 !default;
$actu-category-padding: 0.5rem 1rem !default;
$actu-category-color: #fff !default;
$actu-category-bg-color: $primary-svg !default;
$actu-category-bg-color: $primary;
$actu-category-text-transform: uppercase !default;
$actu-category-font-size: 14px !default;
$actu-category-font-weight: initial !default;
Expand All @@ -243,17 +243,17 @@ $actu-item-title-color: initial !default;
$actu-item-title-text-transform: initial !default;
$actu-item-title-font-size: $h3-font-size !default;
$actu-item-title-font-weight: initial !default;
$actu-item-title-align: left !default;
$actu-item-title-align: center;
$actu-item-description-margin: 0 0 0.5rem 0 !default;
$actu-item-description-padding: 0 1rem !default;
$actu-item-description-color: initial !default;
$actu-item-description-align: left !default;
$actu-item-description-color: #000;
$actu-item-description-align: center;
$actu-item-description-font-family: $font-family-base !default;
$actu-date-margin: 0 0 0.5rem 0 !default;
$actu-date-padding: 0 1rem !default;
$actu-date-color: $primary !default;
$actu-date-color: #000;
$actu-date-font-size: 14px !default;
$actu-date-align: left !default;
$actu-date-align: center;
$actu-see-all-justify-content: $see-all-justify-content !default;

// Event
Expand Down

0 comments on commit 0da1f16

Please sign in to comment.