Skip to content

Commit

Permalink
Fix title behind navbar (#815)
Browse files Browse the repository at this point in the history
* Fix title behind navbar

---------

Co-authored-by: Ethan Davidson <31261035+EthanThatOneKid@users.noreply.github.com>
  • Loading branch information
nghuyhoang0204 and EthanThatOneKid authored Mar 21, 2023
1 parent 4f95756 commit 9cf7f40
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,34 @@
</svelte:head>

<section title={$page.error?.message}>
<em>404</em>
<h1>Frank can't find where you're going!</h1>
<Button text={'Return to Home'} link={'/'} />
<img src="/assets/png/lost-frank.png" alt="404 - Page Not Found" />
<div class="container">
<div>
<em>404</em>
<h1>Frank can't find where you're going!</h1>
<Button text={'Return to Home'} link={'/'} />
</div>
<img src="/assets/png/lost-frank.png" alt="404 - Page Not Found" />
</div>
</section>

<Footer />

<style>
section {
.container {
min-height: 100vh;
display: flex;
gap: 2rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0 24px;
color: var(--acm-light);
}
section h1 {
align-items: center;
padding-top: 100px;
text-align: center;
}
section em {
align-items: center;
text-align: center;
font-size: 50px;
text-shadow: 2px 2px #92c4df;
font-weight: 600;
em {
font-size: 40px;
text-shadow: var(--acm-blue) 2px 2px;
}
section img {
Expand Down

0 comments on commit 9cf7f40

Please sign in to comment.