diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2019-02-03 13:39:46 +0100 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2019-02-03 13:39:46 +0100 |
commit | b044dcc709a37ecf3da2bea713fdff479d4f285f (patch) | |
tree | e9b88c463e0d240f7dd21febb85aa2b62f1fea99 /themes | |
parent | f9231b4800b606481f937d7233cfb41440be4f66 (diff) |
Add subtitle support
Diffstat (limited to 'themes')
-rw-r--r-- | themes/elenq/static/css/style.css | 5 | ||||
-rw-r--r-- | themes/elenq/templates/base.html | 2 |
2 files changed, 5 insertions, 2 deletions
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 @@ </div> </header> <div class="content container"> - <h1 class="main-title"><a class="text-nodeco-black" href="{{ SITEURL }}/">{{ SITENAME }}{% if SITESUBTITLE %}:<br/> {{ SITESUBTITLE }}{% endif %}</a></h1> + <h1 class="main-title"><a class="text-nodeco-black" href="{{ SITEURL }}/">{{ SITENAME }}{% if SITESUBTITLE %}:<br/><span class="subtitle">{{ SITESUBTITLE }}</span>{% endif %}</a></h1> {% block content %} {% endblock content %} </div> |