From: Radek Czajka Date: Thu, 5 Dec 2013 14:39:02 +0000 (+0100) Subject: layout fixes X-Git-Url: https://git.mdrn.pl/copyspeak.git/commitdiff_plain/34be216b6355495a7ca3af9ba71de32ff5d794bd layout fixes --- diff --git a/src/copyspeak/static/css/base.scss b/src/copyspeak/static/css/base.scss index df1e7c3..3296f22 100644 --- a/src/copyspeak/static/css/base.scss +++ b/src/copyspeak/static/css/base.scss @@ -255,10 +255,16 @@ $g22: lighten($g12, 10%); } -.flatpage { +.text-page-wrapper { background: #ddd; color: black; - padding: 3em; + + .text-page { + max-width: 60em; + margin: auto; + padding: 3em; + + } } diff --git a/src/copyspeak/templates/404.html b/src/copyspeak/templates/404.html index 74ee437..4c8b30c 100644 --- a/src/copyspeak/templates/404.html +++ b/src/copyspeak/templates/404.html @@ -5,10 +5,18 @@ {% block body %} + +
+
+

{% trans "Page not found" %}

-

+

{% trans "The page you were looking for doesn't exist." %}

+ +
+
+ {% endblock %} diff --git a/src/copyspeak/templates/500.html b/src/copyspeak/templates/500.html index be751c1..70f2d1c 100644 --- a/src/copyspeak/templates/500.html +++ b/src/copyspeak/templates/500.html @@ -1,5 +1,5 @@ -

Wystąpił błąd serwera.

+

Internal server error.

-

Coś poszło nie tak. Administratorzy zostali już powiadomieni.

+

Something went wrong. The administrators have been notified.

-

Przepraszamy!

+

Sorry!

diff --git a/src/copyspeak/templates/flatpages/default.html b/src/copyspeak/templates/flatpages/default.html index 42f670e..cd805b7 100644 --- a/src/copyspeak/templates/flatpages/default.html +++ b/src/copyspeak/templates/flatpages/default.html @@ -5,7 +5,9 @@ {% block body %} -
+
+
{{ flatpage.content|textile_pl }}
+
{% endblock %}