Skip to content

Commit

Permalink
tweaked button and scroll up link
Browse files Browse the repository at this point in the history
  • Loading branch information
to7m committed Aug 7, 2024
1 parent 5235c8a commit a162fef
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public_html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h2>Get In Touch</h2>
</form>
</section>
</main>
<a href="#header">Back To Top</a>
<a href="#header" id="back-to-top">Back To Top</a>
</div>
</body>

Expand Down
15 changes: 15 additions & 0 deletions public_html/style.css

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

2 changes: 1 addition & 1 deletion public_html/style.css.map

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

10 changes: 10 additions & 0 deletions scss/body/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ aside {
display: flex;
flex-direction: column;
}

#back-to-top {
margin: 15px 0;

@include text.prepend_icon("arrow-up") {
display: block;
font-size: 35px;
font-weight: 600;
};
}

0 comments on commit a162fef

Please sign in to comment.