Skip to content

Commit 36332df

Browse files
committed
Break CSS out into it's own file
1 parent c9340df commit 36332df

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
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: 6 additions & 2 deletions
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,8 +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 %}
14-
<div style="margin-left: auto; margin-right: auto; width: 900px; text-align: center">
18+
<div id="promo_404">
1519
{% if suggestion %}
1620
<div class="suggestions">
1721
<h1>You've found something that doesn't exist.</h1>

0 commit comments

Comments
 (0)