Skip to content

Commit 730b312

Browse files
authored
Merge pull request creativecommons#368 from creativecommons/update_404
Update 404 template.
2 parents 0c501a9 + f942e21 commit 730b312

File tree

1 file changed

+6
-41
lines changed
  • themes/vocabulary_theme/templates

1 file changed

+6
-41
lines changed
+6-41
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,10 @@
11
{% extends "layout.html" %}
22
{% block body %}
3-
<style>
4-
.page-title
5-
{
6-
border-bottom-style:none !important;
7-
}
8-
.section{
9-
padding: 4rem 2rem;
10-
}
11-
.section .error{
12-
font-weight:bold;
13-
font-size: 10rem;
14-
color: #ed592f;
15-
text-shadow:
16-
1px 1px 1px #000,
17-
2px 2px 1px #000,
18-
3px 3px 1px #000,
19-
4px 4px 1px #000,
20-
5px 5px 1px #000,
21-
6px 6px 1px #000,
22-
7px 7px 1px #000,
23-
8px 8px 1px #000;
24-
}
25-
.page{
26-
margin-bottom: 1rem;
27-
font-size: 20px;
28-
font-weight: 600;
29-
color: #444;
30-
}
31-
.btn
32-
{
33-
margin:6px;
34-
font-weight:bold;
35-
}
36-
</style>
37-
<div class="section text-center">
38-
<h1 class="error">404</h1>
39-
<h2 style="margin:0px">Page Not Found!</h2>
40-
<div class="page">Sorry. The page you are looking for doesn't exist.</div>
41-
<a class="btn text-white" href="https://opensource.creativecommons.org/" style="background-color:#ed592f">Return Home</a>
42-
<a class="btn text-white" href="https://creativecommons.org/about/contact/" style="background-color:#ed592f">Contact Us</a>
43-
</div>
3+
<div class="container padding-vertical-xxl has-text-centered page-not-found">
4+
<h1>404</h1>
5+
<h2>Page Not Found!</h2>
6+
<p class="body-big">Sorry. The page you are looking for doesn't exist.</p>
7+
<a class="button is-success margin-vertical-big" href="/">Return Home</a>
8+
</div>
449
<!-- Creative commons -->
4510
{% endblock %}

0 commit comments

Comments
 (0)