Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2022-05-28 01:23:43 +0300
committerHumberto Rocha <humrochagf@gmail.com>2022-05-28 01:23:43 +0300
commitb5a70f299f7da8b08b2012765e89527afa9d5d8d (patch)
tree9bddb0e6c68178fce4bfb30b1ba945806a63d843
parent78f07f2742d3214d2b03171f3979988de776e518 (diff)
Fix 404 page
-rw-r--r--assets/sass/_global.scss11
-rw-r--r--layouts/404.html8
2 files changed, 14 insertions, 5 deletions
diff --git a/assets/sass/_global.scss b/assets/sass/_global.scss
index ffeb72d..ee7e471 100644
--- a/assets/sass/_global.scss
+++ b/assets/sass/_global.scss
@@ -61,6 +61,17 @@ main {
}
}
+.block-404 {
+ text-align: center;
+ padding-top: 50px;
+ padding-bottom: 50px;
+
+ h1 {
+ font-size: 124px;
+ font-weight: 900;
+ }
+}
+
.site-description {
text-align: center;
margin: 80px 0 120px;
diff --git a/layouts/404.html b/layouts/404.html
index 8c69720..18cb76b 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,9 +1,7 @@
{{ define "main" }}
- <div class="container">
- <div class="block-404">
- <h1>404</h1>
+ <div class="block-404">
+ <h1>404</h1>
- <h2>{{ i18n "notfound" }}</h2>
- </div>
+ <h2>{{ i18n "notfound" }}</h2>
</div>
{{ end }}