fnp
/
copyspeak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d16f7f9
)
layout fixes
author
Radek Czajka
<radekczajka@nowoczesnapolska.org.pl>
Thu, 5 Dec 2013 14:39:02 +0000
(15:39 +0100)
committer
Radek Czajka
<radekczajka@nowoczesnapolska.org.pl>
Thu, 5 Dec 2013 14:39:02 +0000
(15:39 +0100)
src/copyspeak/static/css/base.scss
patch
|
blob
|
history
src/copyspeak/templates/404.html
patch
|
blob
|
history
src/copyspeak/templates/500.html
patch
|
blob
|
history
src/copyspeak/templates/flatpages/default.html
patch
|
blob
|
history
diff --git
a/src/copyspeak/static/css/base.scss
b/src/copyspeak/static/css/base.scss
index
df1e7c3
..
3296f22
100644
(file)
--- 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;
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
(file)
--- a/
src/copyspeak/templates/404.html
+++ b/
src/copyspeak/templates/404.html
@@
-5,10
+5,18
@@
{% block body %}
{% block body %}
+
+<div class="text-page-wrapper">
+<article class="text-page">
+
<h1>{% trans "Page not found" %}</h1>
<h1>{% trans "Page not found" %}</h1>
-<p
class="notice"
>
+<p>
{% trans "The page you were looking for doesn't exist." %}
</p>
{% trans "The page you were looking for doesn't exist." %}
</p>
+
+</article>
+</div>
+
{% endblock %}
{% endblock %}
diff --git
a/src/copyspeak/templates/500.html
b/src/copyspeak/templates/500.html
index
be751c1
..
70f2d1c
100644
(file)
--- a/
src/copyspeak/templates/500.html
+++ b/
src/copyspeak/templates/500.html
@@
-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>
Przepraszam
y!</p>
+<p>
Sorr
y!</p>
diff --git
a/src/copyspeak/templates/flatpages/default.html
b/src/copyspeak/templates/flatpages/default.html
index
42f670e
..
cd805b7
100644
(file)
--- a/
src/copyspeak/templates/flatpages/default.html
+++ b/
src/copyspeak/templates/flatpages/default.html
@@
-5,7
+5,9
@@
{% block body %}
{% block body %}
-<article class="flatpage">
+<div class="text-page-wrapper">
+<article class="text-page">
{{ flatpage.content|textile_pl }}
</article>
{{ flatpage.content|textile_pl }}
</article>
+</div>
{% endblock %}
{% endblock %}