Skip to content

Commit 3934601

Browse files
authored
Merge pull request #2768 from rtfd/center-404-text
Center 404 copy in a janky way :)
2 parents f103aba + 36332df commit 3934601

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#promo_404 {
2+
margin-left: auto;
3+
margin-right: auto;
4+
width: 900px;
5+
text-align: center
6+
}

readthedocs/donate/templates/donate/promo_404.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22
{% load core_tags %}
3-
{% load i18n %}
3+
{% load static i18n %}
44

55
{% block title %}
66
{% trans "Maze Found" %}
@@ -10,7 +10,12 @@
1010
{% include "error_header.html" %}
1111
{% endblock %}
1212

13+
{% block extra_links %}
14+
<link rel="stylesheet" href="{% static 'donate/css/donate.css' %}" />
15+
{% endblock %}
16+
1317
{% block content %}
18+
<div id="promo_404">
1419
{% if suggestion %}
1520
<div class="suggestions">
1621
<h1>You've found something that doesn't exist.</h1>
@@ -41,4 +46,5 @@ <h1>
4146
<p>
4247
Read the Docs is sponsored by <a href="{{ promo_data.link }}">Sentry</a>, which gives developers the tools to keep calm when things catch fire.
4348
</p>
49+
</div>
4450
{% endblock %}

0 commit comments

Comments
 (0)