Skip to content
Snippets Groups Projects
Unverified Commit b76caf5d authored by kogeletey's avatar kogeletey
Browse files

sass: 404 template stylized, templates: 404.html rewriting

parent 3a0959cb
No related branches found
No related tags found
No related merge requests found
...@@ -21,9 +21,10 @@ highlight_theme = "base16-ocean-dark" ...@@ -21,9 +21,10 @@ highlight_theme = "base16-ocean-dark"
render_emoji = true render_emoji = true
[extra] [extra]
version = "0.1.1" version = "0.1.2"
favicon = "favicon.ico" favicon = "favicon.ico"
cdnurl = "https://get.re128.net/" cdnurl = "https://get.re128.net/"
[[extra.header]] [[extra.header]]
text = "Meta" text = "Meta"
link = "$base_url/meta" link = "$base_url/meta"
......
...@@ -66,11 +66,28 @@ ul { ...@@ -66,11 +66,28 @@ ul {
.welcome { .welcome {
display: flex; display: flex;
justify-content: center; justify-content: center;
font-weight: 700; font-weight: 400;
font-size: 60px; font-size: 100px;
padding-top: 2em; padding-top: 2em;
&-p { &-p {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
} }
.error {
display: flex;
flex-flow: column;
align-items: center;
font-weight: 400;
margin-bottom: 2em;
min-height: calc(100vh - 87px);
& h1 {
font-size: 250px;
}
& h2 {
font-size: 100px;
}
& h3 {
font-size: 50px;
}
}
...@@ -8,8 +8,10 @@ ...@@ -8,8 +8,10 @@
{{macros::header(current_url="/")}} {{macros::header(current_url="/")}}
{% endblock header %} {% endblock header %}
{% block content %} {% block content %}
<div class="error">
<h1> 404 </h1> <h1> 404 </h1>
<h2> Page Not Found </h2> <h2> Page Not Found </h2>
<h3> The requested page doesn't exist <h3> The requested page doesn't exist
or you don't have access to it. </h3> or you don't have access to it. </h3>
</div>
{% endblock content %} {% endblock content %}
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
{% else %} {% else %}
<link rel="stylesheet" href="{{ get_url(path='main.css') }}"> <link rel="stylesheet" href="{{ get_url(path='main.css') }}">
{% endif %} {% endif %}
<title>{% block htmltitle %}{{ config.title }}{% endblock htmltitle %}</title> <title>{% block htmltitle %} {{ config.title }}{% endblock htmltitle %}</title>
{% if config.extra.localcdn %} {% if config.extra.localcdn %}
<link rel="stylesheet" href="{{ get_url(path='normalize.css/normalize.css') }}"> <link rel="stylesheet" href="{{ get_url(path='normalize.css/normalize.css') }}">
<link rel="stylesheet" href="{{ get_url(path='@fontsource/courier-prime/400.css') }}"> <link rel="stylesheet" href="{{ get_url(path='@fontsource/courier-prime/400.css') }}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment