404 page, assets exclusion, e g g tips hat, blog responsive

This commit is contained in:
Firq 2023-03-16 23:04:09 +01:00
parent 28d155196e
commit c7017bfd24
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
5 changed files with 48 additions and 4 deletions

View file

@ -38,10 +38,14 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
width: 1.5rem; width: 1.5rem;
border-radius: 50%; border-radius: 50%;
background-color: var(--c-darkpurple); background-color: var(--c-darkpurple);
transition: transform var(--speed) var(--ease);
} }
a:hover > .circle { a:hover > .circle {
transform: none; height: 1.75rem;
width: 1.75rem;
translate: -0.125rem;
margin-right: 0.825rem;
} }
article { article {

View file

@ -34,7 +34,7 @@ const { title } = Astro.props
color: white; color: white;
margin: 0.5rem 0px 0.5rem 0.5em; margin: 0.5rem 0px 0.5rem 0.5em;
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-darkgray);
} }
@media (min-width: 512px) { @media (min-width: 512px) {

View file

@ -10,7 +10,47 @@ const description = "Error. This shouldn't happen :/"
currentpage="404" currentpage="404"
descriptionOverride={description} descriptionOverride={description}
> >
<BaseSection title=":(" /> <BaseSection title="Firq has run into an error">
<div>
<img src="/assets/shishousad.webp" alt="Sad Shishou" />
<h2>Well ... you were not supposed to end up here.</h2>
<a href="/" aria-label="Home"
><i class="iconoir-fast-arrow-left"></i>Go back home</a
>
</div>
</BaseSection>
</Layout> </Layout>
<style></style> <style>
div {
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
}
h2 {
color: white;
font-size: 2rem;
font-weight: bold;
margin-top: 1rem;
max-width: max-content;
}
a {
display: flex;
align-items: center;
justify-content: center;
width: 75%;
text-align: center;
color: white;
background-color: var(--c-gray);
padding: 0.5rem 0px;
margin-bottom: 2rem;
text-decoration: none;
font-size: 1.5rem;
font-weight: bold;
}
a:hover {
color: var(--c-darkpurple);
}
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB