layout fixes
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 5 Dec 2013 14:39:02 +0000 (15:39 +0100)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 5 Dec 2013 14:39:02 +0000 (15:39 +0100)
src/copyspeak/static/css/base.scss
src/copyspeak/templates/404.html
src/copyspeak/templates/500.html
src/copyspeak/templates/flatpages/default.html

index df1e7c3..3296f22 100644 (file)
@@ -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;
+        
+    }
 }
 
 
index 74ee437..4c8b30c 100644 (file)
@@ -5,10 +5,18 @@
 
 {% block body %}
 
+
+<div class="text-page-wrapper">
+<article class="text-page">
+
 <h1>{% trans "Page not found" %}</h1>
 
-<p class="notice">
+<p>
     {% trans "The page you were looking for doesn't exist." %}
 </p>
 
+
+</article>
+</div>
+
 {% endblock %}
index be751c1..70f2d1c 100644 (file)
@@ -1,5 +1,5 @@
-<h1>Wystąpił błąd serwera.</h1>
+<h1>Internal server error.</h1>
 
-<p>Coś poszło nie tak. Administratorzy zostali już powiadomieni.</p>
+<p>Something went wrong. The administrators have been notified.</p>
 
-<p>Przepraszamy!</p>
+<p>Sorry!</p>
index 42f670e..cd805b7 100644 (file)
@@ -5,7 +5,9 @@
 
 
 {% block body %}
-<article class="flatpage">
+<div class="text-page-wrapper">
+<article class="text-page">
 {{ flatpage.content|textile_pl }}
 </article>
+</div>
 {% endblock %}