Skip to content

Commit

Permalink
Absolute for main page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolankicks committed Oct 26, 2024
1 parent 86dab8e commit 14e2069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
src: url('/fonts/AtkinsonHyperlegible-Bold.ttf');
}



body,
html {
scroll-padding-top: 60px;
Expand Down
8 changes: 2 additions & 6 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export const pfpUrl = 'https://avatars.githubusercontent.com/u/95300917?s=400&u=4b7a75efdafbd368929511d483099250821ded21&v=4';
</script>

<div class="flex h-screen flex-col items-center justify-center p-4 font-poppins text-white from-blue-900 via-gray-900 to-black">
<div class="flex absolute top-0 left-0 bottom-0 right-0 flex-col items-center justify-center p-4 font-poppins text-white from-blue-900 via-gray-900 to-black">
<div class="flex flex-col items-center justify-center gap-4 p-6 w-full max-w-xl bg-gray-800 rounded-md bg-transparentblue shadow-lg animate-fadein">
<div class="w-full flex flex-col md:flex-row items-center">
<img src="{pfpUrl}" class="w-40 h-40 rounded-md mb-4 md:mb-0 md:mr-6" alt="Ultra 85" />
Expand All @@ -22,8 +22,4 @@
</a>
</div>
</div>
</div>

<style>
</style>
</div>

0 comments on commit 14e2069

Please sign in to comment.