From 59ec33cded4be492660677a93265004e03cdac4c Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Fri, 9 May 2014 13:09:07 +0200 Subject: Modifications du thème MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Suppression fichiers inutiles * Modifications CSS pour afficher les field list * Modifications templates pour ne pas afficher les sites liés ou les catégories s'il n'y en a pas. --- themes/dev-urandom/README.md | 7 ------- themes/dev-urandom/screenshot.png | Bin 95384 -> 0 bytes themes/dev-urandom/static/css/theme.css | 10 +++++++++- themes/dev-urandom/templates/includes/sidebar.html | 6 +++++- themes/dev-urandom/templates/page.html | 2 +- 5 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 themes/dev-urandom/README.md delete mode 100644 themes/dev-urandom/screenshot.png diff --git a/themes/dev-urandom/README.md b/themes/dev-urandom/README.md deleted file mode 100644 index 3ed05aa..0000000 --- a/themes/dev-urandom/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# dev-random2 # - - - -## Screenshot ## - -![screenshot](screenshot.png) diff --git a/themes/dev-urandom/screenshot.png b/themes/dev-urandom/screenshot.png deleted file mode 100644 index 0d2bd2f..0000000 Binary files a/themes/dev-urandom/screenshot.png and /dev/null differ diff --git a/themes/dev-urandom/static/css/theme.css b/themes/dev-urandom/static/css/theme.css index e8c84f0..1639c64 100644 --- a/themes/dev-urandom/static/css/theme.css +++ b/themes/dev-urandom/static/css/theme.css @@ -77,7 +77,7 @@ article:last-of-type:after { } #page-head h1 { - font-size: 4em; + font-size: 3em; } #page-head h1 a:hover { @@ -184,6 +184,14 @@ table td, table th { padding: .15em .3em; } +/* Remove margin, padding and borders for field list */ +table.field-list, table th.field-name, table td.field-body { + margin: 0; + padding: 0; + border: none; + text-align: left; +} + pre { font-family: monospace; font-size: 0.95em; diff --git a/themes/dev-urandom/templates/includes/sidebar.html b/themes/dev-urandom/templates/includes/sidebar.html index 0d5d5ef..0910f79 100644 --- a/themes/dev-urandom/templates/includes/sidebar.html +++ b/themes/dev-urandom/templates/includes/sidebar.html @@ -3,8 +3,10 @@ {% endif %} + {% if FEED_ATOM or FEED_RSS or SOCIAL or LINKS %} + {% endif %} diff --git a/themes/dev-urandom/templates/page.html b/themes/dev-urandom/templates/page.html index b52c807..7a69347 100644 --- a/themes/dev-urandom/templates/page.html +++ b/themes/dev-urandom/templates/page.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}{{ super() }} — {{ page.url }}{% endblock title %} +{% block title %}{{ super() }} — {{ page.title }}{% endblock title %} {%- block content %}

{{ page.title }}

-- cgit v1.2.3-70-g09d2