diff --git a/assets/css/_core/_layout.scss b/assets/css/_core/_layout.scss index 8e56844e..03206e88 100644 --- a/assets/css/_core/_layout.scss +++ b/assets/css/_core/_layout.scss @@ -22,9 +22,3 @@ line-height: 1.5rem; padding-top: 2rem; } - -.notfound { - font-size: 2rem; - transform: translateY(35vh); - text-align: center; -} diff --git a/assets/css/_page/_404.scss b/assets/css/_page/_404.scss new file mode 100644 index 00000000..f6d9195e --- /dev/null +++ b/assets/css/_page/_404.scss @@ -0,0 +1,6 @@ +.notfound { + font-size: 1.8rem; + line-height: 3rem; + transform: translateY(30vh); + text-align: center; +} diff --git a/assets/css/_page/_index.scss b/assets/css/_page/_index.scss index ce3a8a7c..405a90a7 100644 --- a/assets/css/_page/_index.scss +++ b/assets/css/_page/_index.scss @@ -1,4 +1,5 @@ @import "_home"; +@import "_404"; .page { position: relative; diff --git a/layouts/404.html b/layouts/404.html index 1de09394..23a7ef8c 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -6,12 +6,8 @@

- {{- T "pageNotFoundText" -}} -

-