summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-07-26 17:06:52 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-07-26 17:06:52 +0200
commit9d564dc09cd54307350d2740df70befa40b66d68 (patch)
treef7a46661ff153be829f61bc9ec98cbf772d7b1e7
parentda139f7dcc4458aeb7764e4ee4f27c5d0731ce20 (diff)
Correct subtitle formatting in web
-rw-r--r--templates/web.html2
-rw-r--r--templates/web/css/elenq-publishing.css3
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/web.html b/templates/web.html
index 244092d..a693a72 100644
--- a/templates/web.html
+++ b/templates/web.html
@@ -36,7 +36,7 @@ $if(title)$
<header id="title-block-header">
<h1 class="main-title">$title$
$if(subtitle)$
-<span class="subtitle">$subtitle$</p>
+<p class="subtitle">$subtitle$</p>
$endif$
</h1>
diff --git a/templates/web/css/elenq-publishing.css b/templates/web/css/elenq-publishing.css
index 981b430..45f9359 100644
--- a/templates/web/css/elenq-publishing.css
+++ b/templates/web/css/elenq-publishing.css
@@ -6,8 +6,9 @@
margin-top: 7rem;
font-family: "LatoLatinLightWeb", Helvetica, Arial, sans-serif;
}
-#title-block-header h1 span.subtitle{
+#title-block-header h1 .subtitle{
font-size: 2.5rem;
+ text-align: center;
}
#title-block-header .author{