pinafore/src/routes/_error.html

36 lines
417 B
HTML
Raw Normal View History

<svelte:head>
<title>{status}</title>
</svelte:head>
<div class="error-wrapper">
<h1>{status}</h1>
<p>{error.message}</p>
</div>
<style>
.error-wrapper {
margin: 20px;
}
h1, p {
margin: 0 auto;
}
h1 {
font-size: 2.8em;
font-weight: 700;
margin: 0 0 0.5em 0;
}
p {
margin: 1em auto;
}
@media (min-width: 480px) {
h1 {
font-size: 4em;
}
}
</style>