From 96a96c16513a98378e2f75ead26a22c358795182 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 24 Jan 2012 17:06:12 +0100 Subject: [PATCH] catalogue style change --- wolnelektury/static/css/base.css | 10 ++++++++ wolnelektury/static/css/catalogue.css | 7 +++++- .../templates/catalogue/catalogue.html | 23 ++++++++++--------- 3 files changed, 28 insertions(+), 12 deletions(-) diff --git a/wolnelektury/static/css/base.css b/wolnelektury/static/css/base.css index 33223b09e..cd59f69a6 100755 --- a/wolnelektury/static/css/base.css +++ b/wolnelektury/static/css/base.css @@ -93,6 +93,16 @@ h2 { clear: both; } +.white-box { + border: 1px solid #ddd; + padding: 1em; + background: #fff; + -moz-box-shadow: 2px 2px 2px #ddd; + -webkit-box-shadow: 2px 2px 2px #ddd; + box-shadow: 2px 2px 2px #ddd; +} + + #header-content, div#main-content, div#half-header-content, #footer-content { width: 97.5em; margin: auto; diff --git a/wolnelektury/static/css/catalogue.css b/wolnelektury/static/css/catalogue.css index ff7ea4b9c..b08d99bcc 100755 --- a/wolnelektury/static/css/catalogue.css +++ b/wolnelektury/static/css/catalogue.css @@ -66,4 +66,9 @@ -fragment \ No newline at end of file +.catalogue-catalogue h2 { + font-size: 2em; +} +.catalogue-catalogue ul { + -moz-column-width: 30em; +} \ No newline at end of file diff --git a/wolnelektury/templates/catalogue/catalogue.html b/wolnelektury/templates/catalogue/catalogue.html index c84ebbbf3..8a558abca 100644 --- a/wolnelektury/templates/catalogue/catalogue.html +++ b/wolnelektury/templates/catalogue/catalogue.html @@ -10,25 +10,26 @@ {% block body %}

{% trans "Catalogue" %}

-
+

{% trans "Download the catalogue in PDF format." %}

-

{% trans "Authors" %}

- {% tag_list categories.author %} +

{% trans "Authors" %}

+
{% tag_list categories.author %}
-

{% trans "Kinds" %}

- {% tag_list categories.kind %} +

{% trans "Kinds" %}

+
{% tag_list categories.kind %}
-

{% trans "Genres" %}

- {% tag_list categories.genre %} +

{% trans "Genres" %}

+
{% tag_list categories.genre %}
-

{% trans "Epochs" %}

- {% tag_list categories.epoch %} +

{% trans "Epochs" %}

+
{% tag_list categories.epoch %}
+ +

{% trans "Themes and topics" %}

+
{% tag_list fragment_tags %}
-

{% trans "Themes and topics" %}

- {% tag_list fragment_tags %}
{% endblock %} -- 2.20.1