Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 41 additions & 3 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1875,13 +1875,13 @@ background: linear-gradient(180deg, rgba(251,156,82,0.16290266106442575) 35%, rg
color: #ffffff;
}

.home-content__scroll {
.home-content__scroll_down {
position: absolute;
right: 9.5rem;
bottom: 16.4rem;
}

.home-content__scroll a {
.home-content__scroll_down a {
font-family: "TT Norms Pro", sans-serif;
font-size: 1rem;
text-transform: uppercase;
Expand All @@ -1893,7 +1893,7 @@ background: linear-gradient(180deg, rgba(251,156,82,0.16290266106442575) 35%, rg
padding-left: 2.5rem;
}

.home-content__scroll a::before {
.home-content__scroll_down a::before {
border-bottom: 2px solid #ff904d;
border-right: 2px solid #ff904d;
content: "";
Expand All @@ -1915,6 +1915,44 @@ background: linear-gradient(180deg, rgba(251,156,82,0.16290266106442575) 35%, rg
transition: all 0.15s ease-in-out;
}

.home-content__scroll_up {
Copy link

Copilot AI Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .home-content__scroll_up rule does not specify a bottom position, which may cause inconsistent placement of the button. Consider adding a bottom property similar to the scroll-down button to ensure it appears at the bottom-right as intended.

Copilot uses AI. Check for mistakes.
position: absolute;
top: auto;
right: 12rem;
}

.home-content__scroll_up a {
font-family: "TT Norms Pro", sans-serif;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 0.3rem;
color: #ff904d;
position: relative;
display: inline-block;
line-height: 3rem;
padding-left: 2.5rem;
background-color: transparent;
text-decoration: none;
}

.home-content__scroll_up a::before {
content: "";
display: block;
position: absolute;
left: 0;
top: 50%;
height: 8px;
width: 8px;
margin-top: -6px;
border-left: 2px solid #ff904d;
border-top: 2px solid #ff904d;
transform: rotate(45deg);
transform-origin: 66% 66%;
transition: all 0.15s ease-in-out;
}



.home-content__line {
display: block;
width: 2px;
Expand Down
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h4>Designed to help you master open-source contributions, Git, GitHub, API deve

</div>

<div class="home-content__scroll">
<div class="home-content__scroll_down">
<a href="#about" class="scroll-link smoothscroll">
<span>Scroll Down</span>
</a>
Expand Down Expand Up @@ -406,6 +406,11 @@ <h3>Find us on</h3>
</div>
</div>
</div>
<div class="home-content__scroll_up">
<a href="#home" class="scroll-link smoothscroll" title="Scroll to Top">
<span>Scroll Up</span>
</a>
</div>
</footer>
<!--================End Footer Area =================-->

Expand Down