From: Radek Czajka Date: Thu, 26 Jan 2012 15:28:04 +0000 (+0100) Subject: display fixes X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/d006c3ee8a6305e89f723cb6d84497817ae2050c?hp=76a5ef1307add0a97470e8927e2b3165a8d95b29 display fixes --- diff --git a/wolnelektury/static/css/book_box.css b/wolnelektury/static/css/book_box.css index c23f606ab..b9ef8f286 100755 --- a/wolnelektury/static/css/book_box.css +++ b/wolnelektury/static/css/book_box.css @@ -142,6 +142,7 @@ } .book-box-head .author { font-size: 1.1em; + max-width: 24em; } .book-box-head .title { font-size: 2.4em; diff --git a/wolnelektury/static/css/jquery.countdown.css b/wolnelektury/static/css/jquery.countdown.css index 4b8a4cc5b..3eca47676 100644 --- a/wolnelektury/static/css/jquery.countdown.css +++ b/wolnelektury/static/css/jquery.countdown.css @@ -2,7 +2,7 @@ .hasCountdown { /*border: 1px solid #ccc; background-color: #eee;*/ - margin: 20px 0 50px 0; + margin: 1em 0 7em 0; } .countdown_rtl { direction: rtl; @@ -44,8 +44,8 @@ text-align: center; } .countdown_amount { - font-size: 350%; - line-height: 32px; + font-size: 3.5em; + line-height: 1.4em; } .countdown_descr { display: block; diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index 6696892e2..2477726fb 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -31,7 +31,7 @@
- {% cache 300 tagline LANGUAGE_CODE %} + {% cache 60 tagline LANGUAGE_CODE %} {% url book_list as b %} {% url book_list as r %} {% count_books book_count %} @@ -96,7 +96,7 @@
- {% spaceless %} - - {% trans "Epoch" %}:  - {% for name, slug in related.tags.epoch %} - {{ name }} + {% trans "Epoch" %}:  + {% for name, slug in related.tags.epoch %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% trans "Kind" %}:  - {% for name, slug in related.tags.kind %} - {{ name }} + {% trans "Kind" %}:  + {% for name, slug in related.tags.kind %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% trans "Genre" %}:  - {% for name, slug in related.tags.genre %} - {{ name }} + {% trans "Genre" %}:  + {% for name, slug in related.tags.genre %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% endspaceless %} - {% shelf_tags book %}
diff --git a/wolnelektury/templates/catalogue/tag_list.html b/wolnelektury/templates/catalogue/tag_list.html index 3f842acc7..a5ce71e37 100644 --- a/wolnelektury/templates/catalogue/tag_list.html +++ b/wolnelektury/templates/catalogue/tag_list.html @@ -4,8 +4,14 @@

{% trans "See full category" %} {{ one_tag }}

{% else %} {% endif %} diff --git a/wolnelektury/templates/main_page.html b/wolnelektury/templates/main_page.html index d2dc57b30..c12674690 100755 --- a/wolnelektury/templates/main_page.html +++ b/wolnelektury/templates/main_page.html @@ -52,7 +52,7 @@

Informacje

- {% cache 300 infopages-on-main LANGUAGE_CODE %} + {% cache 60 infopages-on-main LANGUAGE_CODE %} {% infopages_on_main %} {% endcache %} diff --git a/wolnelektury/templates/pdcounter/author_detail.html b/wolnelektury/templates/pdcounter/author_detail.html index 7cdcf2abd..3810a4578 100644 --- a/wolnelektury/templates/pdcounter/author_detail.html +++ b/wolnelektury/templates/pdcounter/author_detail.html @@ -8,9 +8,10 @@ {% block bodyid %}author-detail{% endblock %} {% block body %} -

{{ author.name }}

-
+
+

{{ author.name }}

+
{% if author.has_description %}
{{ author.description|safe }}
@@ -46,8 +47,9 @@ {% endif %} {% include "info/join_us.html" %}
+
-
+
{% include "publishing_suggest.html" %}
{% endblock %} diff --git a/wolnelektury/templates/pdcounter/book_stub_detail.html b/wolnelektury/templates/pdcounter/book_stub_detail.html index 6e77a7865..f76edd17a 100644 --- a/wolnelektury/templates/pdcounter/book_stub_detail.html +++ b/wolnelektury/templates/pdcounter/book_stub_detail.html @@ -8,9 +8,10 @@ {% block bodyid %}book-stub-detail{% endblock %} {% block body %} +

{{ book.author }}, {{ book.title }}

+
-
{% if book.in_pd %}

{% trans "This work is in public domain and will be published on Internet school library of Wolne Lektury soon." %}

{% else %} @@ -25,8 +26,9 @@ {% endif %} {% include "info/join_us.html" %}
+
-
+
{% include "publishing_suggest.html" %}
{% endblock %}