diff --git a/cdhweb/static_src/global/pages/error-page.scss b/cdhweb/static_src/global/pages/error-page.scss new file mode 100644 index 00000000..e04727cf --- /dev/null +++ b/cdhweb/static_src/global/pages/error-page.scss @@ -0,0 +1,8 @@ +.error-page__content { + // big space because page has no hero area + margin-block: 120px; +} + +.error-page__blurb { + margin-block-start: 20px; +} diff --git a/cdhweb/static_src/styles.scss b/cdhweb/static_src/styles.scss index f4abea22..e02b01c7 100644 --- a/cdhweb/static_src/styles.scss +++ b/cdhweb/static_src/styles.scss @@ -34,6 +34,7 @@ @import './global/pages/search.scss'; @import './global/pages/projects-landing.scss'; @import './global/pages/project-page.scss'; +@import './global/pages/error-page.scss'; // Spacing between each type of typographic element. @import './global/rich-text'; diff --git a/templates/404.html b/templates/404.html index 03ab2ce7..4884360e 100644 --- a/templates/404.html +++ b/templates/404.html @@ -5,7 +5,3 @@ {% block error-code %}{{ error_code|default:'404' }}{% endblock %} {% block message %}{{ message|default:"We can’t seem to find the page you’re looking for." }}{% endblock %} - -{% block error-image %} - CDH logo with text faded and the words can't find it overlaid -{% endblock %} diff --git a/templates/error_base.html b/templates/error_base.html index 8c309473..1d48936e 100644 --- a/templates/error_base.html +++ b/templates/error_base.html @@ -4,12 +4,10 @@ {% block page-title %}Error{% endblock %} {% block main %} -
-

{% block error-code %}{% endblock %}

-

{% block message %}{% endblock %}

- {% block error-image %} - warped version of CDH logo - {% endblock %} -
- +
+
+

Error {% block error-code %}{% endblock %}

+

{% block message %}{% endblock %}

+
+
{% endblock %} \ No newline at end of file