summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-02-03 13:39:46 +0100
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-02-03 13:39:46 +0100
commitb044dcc709a37ecf3da2bea713fdff479d4f285f (patch)
treee9b88c463e0d240f7dd21febb85aa2b62f1fea99
parentf9231b4800b606481f937d7233cfb41440be4f66 (diff)
Add subtitle support
-rw-r--r--pelicanconf.py3
-rw-r--r--themes/elenq/static/css/style.css5
-rw-r--r--themes/elenq/templates/base.html2
3 files changed, 7 insertions, 3 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 9ae3b11..70c11de 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -4,7 +4,7 @@ from __future__ import unicode_literals
AUTHOR = u'Ekaitz Zárraga'
SITENAME = u'Ekaitz\'s tech blog'
-SITESUBTITLE = u''
+SITESUBTITLE = u'I make stuff at ElenQ Technology and I talk about it'
SITEURL = ''
PATH = 'content'
@@ -25,6 +25,7 @@ TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
+
# Blogroll
LINKS = (('ElenQ Technology', 'https://elenq.tech/'),)
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>