Skip to content

Commit

Permalink
merging branches (#4)
Browse files Browse the repository at this point in the history
* Home button not translating

* realized the zindex was incorrect therefore causing the transform property to not work on home__button

* adding swiper JS

* swiper js installed everything working well :)

* Parallax added successfully
  • Loading branch information
MicheleFerrer authored May 15, 2024
1 parent 205d33f commit b307288
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 26 deletions.
62 changes: 62 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,68 @@ transition: transform .4s;
transform:translateX(.5rem);
}


.home__social{
position: absolute;
z-index: var(--z-tooltip);
left: 1.5rem;
bottom:4rem;
display: grid;
row-gap: 1.5rem;
}

.home__social-link{
color: var(--white-color);
font-size: 1.5rem;
}

/* Swiper class */
.swiper{
height: 100vh;
}

.swiper-pagination{
width: initial;
height: max-content;
top: 6rem;
left: initial;
right: 4rem;
font-size: var(--big-font-size);
font-weight: var(--font-semi-bold);
display: flex;
column-gap: .25rem;
align-items: center;
}

.swiper-pagination-total{
font-size: var(--normal-font-size);

}
.swiper-button-prev::after,
.swiper-button-next::after{
content: '';
}
.swiper-button-prev,
.swiper-button-next{
font-size: 2rem;
color: var(--white-color);
width: initial;
height: initial;
position: initial;
outline: none;
}

.swiper-navigation{
position: absolute;
z-index: var(--z-tooltip);
height: max-content;
bottom: 4rem;
right: 1.5rem;
display: flex;
column-gap: 2.5rem;
}


.home__social{
position: absolute;
z-index: var(--z-tooltip);
Expand Down
13 changes: 13 additions & 0 deletions assets/css/swiper-bundle.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b307288

Please sign in to comment.