Skip to content

Commit

Permalink
Reduce top margin for mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Itz-fork committed Nov 2, 2023
1 parent 7326a17 commit 25febe2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ This is my personal website (temporary)

---

- Website with fallback background image incase animation doesn't work
- Website with fallback background image (incase animation doesn't work)
![Fallback](/screenshots/fallback.png)
8 changes: 4 additions & 4 deletions site/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@

/* For mobile devices */
@media only screen and (max-device-width: 768px) {
/* Main */
.main {
margin-top: 20vh;
}
/* Social bar (bottom) */
.socials {
margin: auto;
Expand All @@ -165,10 +169,6 @@

/* For Desktops & Tablets */
@media only screen and (min-device-width: 800px) {
/* Main */
.main {
margin-top: 20vh;
}
/* Social bar (side) */
.socials {
position: -webkit-sticky;
Expand Down

0 comments on commit 25febe2

Please sign in to comment.