Repos / hi.imnhan.com / 7b7ee91ff0
commit 7b7ee91ff097e61e22665a094ae7760c4283215f
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Tue Sep 28 12:48:40 2021 +0700

    h2 subtitle; slightly more p margin
    
    Site subtitle was previously a <p> which was incorrectly included in
    page content scrapers e.g. facebook preview.

diff --git a/nhanb-theme/static/css/main.css b/nhanb-theme/static/css/main.css
index bf7604d..1d45387 100644
--- a/nhanb-theme/static/css/main.css
+++ b/nhanb-theme/static/css/main.css
@@ -48,6 +48,7 @@ video {
 
 p {
   line-height: 1.4rem;
+  margin: 1.1rem 0;
 }
 
 li {
@@ -176,6 +177,8 @@ #site-name {
 }
 
 #site-subtitle {
+  font-size: 1rem;
+  font-weight: normal;
   margin: 0;
 }
 
diff --git a/nhanb-theme/templates/base.html b/nhanb-theme/templates/base.html
index 29a32a9..69f32d2 100644
--- a/nhanb-theme/templates/base.html
+++ b/nhanb-theme/templates/base.html
@@ -18,7 +18,7 @@
 
     <header role="banner">
       <h1 id="site-name"><a href="/">{{ SITENAME }}</a></h1>
-      <p id="site-subtitle">{{ SITESUBTITLE}}</p>
+      <h2 id="site-subtitle">{{ SITESUBTITLE}}</h2>
     </header>
 
     <nav role="navigation">