Skip to content

Commit

Permalink
parallax effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Akctarus committed Nov 7, 2023
1 parent 8e2709f commit 302cabc
Show file tree
Hide file tree
Showing 12 changed files with 127 additions and 101 deletions.
92 changes: 53 additions & 39 deletions app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,43 @@ body {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Avenir';
}

.section-one {
height: 100vh;
.container {
text-align: center;
color: var(--color);
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-image: url(./public/assets/background_01.jpg);
background-size: cover;
background-position: center;
background-image: url("/public/assets/background_01.jpg");
background-attachment: fixed;
}

.section-one {
height: 100vh;
width: 100%;
color: white;
justify-content: center;
display: flex;
flex-direction: column;
}

.container-one {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.section-two {
height: 100vh;
width: 100%;
color: white;
background: #13120d;
}
Expand All @@ -37,16 +59,13 @@ body {
align-items: center;
}

.section-two img {
margin-top: 5rem;
}

.section-three {
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
color: white;
text-align: center;
background: #786abf;
Expand All @@ -60,7 +79,6 @@ body {
}

.section-three .part-two {
margin-top: 5rem;
display: flex;
flex-direction: column;
justify-content: center;
Expand All @@ -73,29 +91,35 @@ body {

.section-four {
height: 100vh;
background-size: cover;
background-position: center;
background-image: url("/public/assets/background_01.jpg");
width: 100%;
color: white;
}

.container-one {
.container-four {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
justify-content: space-evenly;
align-items: center;
}

svg {
height: 30vh;
}

.container-four {
height: 100vh;
.footer {
position: fixed;
bottom: 0;
height: 2rem;
display: flex;
flex-direction: column;
padding: 0.5rem;
align-self: start;
}
.footer div {
justify-content: space-evenly;
align-items: center;
}
.footer img {
height: 2rem;
}

svg {
height: 30vh;
}

.logo-date {
Expand All @@ -111,37 +135,27 @@ svg {
}

.logo-place {
height: 20rem;
height: 18rem;
}

p {
text-align: center;
}

h1 {
font-size: 4rem;
margin-top: 2rem;
}

h2 {
font-size: 5rem;
font-size: 3rem;
margin-top: 2rem;
}

time {
font-size: 2rem;
}

.footer {
position: fixed;
bottom: 0;
height: 2rem;
width: auto;
display: flex;
padding: 0.5rem;
}
.footer div {
justify-content: space-evenly;
}
.footer img {
height: 2rem;
}

#first-text {
opacity: 0;
}
Expand Down
Binary file added dist/avenir-medium.3c1007ff.woff
Binary file not shown.
Binary file added dist/index.3c1007ff.woff
Binary file not shown.
90 changes: 52 additions & 38 deletions dist/index.75a90472.css

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

2 changes: 1 addition & 1 deletion dist/index.75a90472.css.map

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

Loading

0 comments on commit 302cabc

Please sign in to comment.