Cleaned up 404 page. Removed elements and property set the height of background

This commit is contained in:
2019-10-22 18:47:25 +02:00
parent 931918c60b
commit 0fdaf5bd4e

View File

@@ -1,8 +1,6 @@
<template> <template>
<section class="not-found"> <section class="not-found">
<div class="not-found__content">
<h1 class="not-found__title">Page Not Found</h1> <h1 class="not-found__title">Page Not Found</h1>
</div>
</section> </section>
</template> </template>
@@ -28,15 +26,13 @@ export default {
&:before { &:before {
background: $background-40; background: $background-40;
height: 100%; height: calc(100vh - var(--header-size));
width: 100%; width: 100%;
content: ""; content: "";
position: absolute; position: absolute;
}
&__content {
padding-top: 30%;
} }
&__title{ &__title{
padding-top: 40vh;
font-size: 2rem; font-size: 2rem;
font-weight: 500; font-weight: 500;
color: $text-color; color: $text-color;