aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/css/theme.css1
-rw-r--r--templates/template.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index 1a3fee0e..db3f6ba0 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -90,6 +90,7 @@ h2 {
}
.article-metadata {
+ text-align: center;
font-size: 1em;
font-weight: normal;
font-style: italic;
diff --git a/templates/template.html b/templates/template.html
index 21d27504..2b0115d7 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -40,12 +40,12 @@ $if(title)$
$if(subtitle)$
<h1 class="article-subtitle">$subtitle$</h1>
$endif$
- <h2 class="article-metadata">
+ <div class="article-metadata">
$if(date_display)$
<time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date_display$,</time>
$endif$
by <span class="article-author">Zhiming Wang</span>
- </h2>
+ </div>
</header>
$endif$
$body$