From b044dcc709a37ecf3da2bea713fdff479d4f285f Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Sun, 3 Feb 2019 13:39:46 +0100 Subject: Add subtitle support --- themes/elenq/static/css/style.css | 5 ++++- themes/elenq/templates/base.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'themes/elenq') diff --git a/themes/elenq/static/css/style.css b/themes/elenq/static/css/style.css index 3906fce..0f9d057 100644 --- a/themes/elenq/static/css/style.css +++ b/themes/elenq/static/css/style.css @@ -199,11 +199,14 @@ h1, h2, h3, h4, h5, h6 { font-weight: 300; } h1.main-title { - font-size: 4.5rem; line-height: 1.2; text-align: center; + font-size: 4.5rem; line-height: 1; text-align: center; margin-bottom: 2rem; margin-top: 2rem; font-family: "LatoLatinLightWeb", Helvetica, Arial, sans-serif; } +h1 span.subtitle{ + font-size: 2.5rem; +} h2.entry-title{ font-size: 3.0rem; line-height: 1.2; } diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html index 13593df..7d64a88 100644 --- a/themes/elenq/templates/base.html +++ b/themes/elenq/templates/base.html @@ -63,7 +63,7 @@
-

{{ SITENAME }}{% if SITESUBTITLE %}:
{{ SITESUBTITLE }}{% endif %}

+

{{ SITENAME }}{% if SITESUBTITLE %}:
{{ SITESUBTITLE }}{% endif %}

{% block content %} {% endblock content %}
-- cgit v1.2.3