Change section height

100vh to 90vh to make title footer
This commit is contained in:
Candifloss 2025-05-29 08:26:52 +05:30
parent 3d8eb13cc7
commit ec5abc1865
5 changed files with 11 additions and 3 deletions

View File

@ -16,7 +16,7 @@ main {
.section {
scroll-snap-align: start;
height: 100vh;
height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
@ -152,6 +152,10 @@ footer {
color: #fff;
}
}
.lastsection {
height: 100vh;
}
.section2::before {
background-image: url("https://wallpapers.com/images/hd/integral-project-management-cover-erpo8ef1af3wuquu.jpg");
}

View File

@ -50,7 +50,7 @@
</div>
</section>
<section class="section section5" id="contact">
<section class="section section5 lastsection" id="contact">
<div class="content">
<h2>Contact</h2>
<p>Email: you@example.com<br />Mastodon / GitHub / etc.</p>

View File

@ -1,5 +1,6 @@
@use "about/base";
@use "about/section1";
@use "about/section5";
.section2 {
&::before {

View File

@ -18,7 +18,7 @@ main {
.section {
scroll-snap-align: start;
height: 100vh;
height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;

View File

@ -0,0 +1,3 @@
.lastsection {
height: 100vh;
}