Removed unused script element and updated positioning of text to center, even on mobile.
This commit is contained in:
@@ -4,32 +4,24 @@
|
|||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
|
||||||
import storage from '../storage.js'
|
|
||||||
export default {
|
|
||||||
created(){
|
|
||||||
document.title = 'Page Not Found' + storage.pageTitlePostfix;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./src/scss/variables";
|
@import "./src/scss/variables";
|
||||||
@import "./src/scss/media-queries";
|
@import "./src/scss/media-queries";
|
||||||
|
|
||||||
.not-found {
|
.not-found {
|
||||||
width: 100%;
|
display: flex;
|
||||||
height: calc(100vh - var(--header-size));
|
height: calc(100vh - var(--header-size));
|
||||||
|
width: 100%;
|
||||||
background: url('~assets/pulp-fiction.jpg') no-repeat 50% 50%;
|
background: url('~assets/pulp-fiction.jpg') no-repeat 50% 50%;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
background: $background-40;
|
|
||||||
height: calc(100vh - var(--header-size));
|
|
||||||
width: 100%;
|
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
height: calc(100vh - var(--header-size));
|
||||||
|
width: 100%;
|
||||||
|
background: $background-40;
|
||||||
}
|
}
|
||||||
&__title {
|
&__title {
|
||||||
padding-top: 40vh;
|
padding-top: 40vh;
|
||||||
@@ -38,6 +30,7 @@ export default {
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
@include tablet-min {
|
@include tablet-min {
|
||||||
font-size: 2.3rem;
|
font-size: 2.3rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user