about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAlan Pearce2024-02-18 16:26:27 +0100
committerAlan Pearce2024-02-18 16:26:27 +0100
commit7321e667e9bdd429133591acd004d31e6d4b754c (patch)
treebddf4f63545003eabae3f912980faccffe39f278 /templates
parentae5793d52c8b186184c074869aab9386f79acadc (diff)
downloadwebsite-7321e667e9bdd429133591acd004d31e6d4b754c.tar.lz
website-7321e667e9bdd429133591acd004d31e6d4b754c.tar.zst
website-7321e667e9bdd429133591acd004d31e6d4b754c.zip
Remove inline styles
Diffstat (limited to 'templates')
-rw-r--r--templates/list.html2
-rw-r--r--templates/style.css4
-rw-r--r--templates/tags.html2
3 files changed, 6 insertions, 2 deletions
diff --git a/templates/list.html b/templates/list.html
index ffe29f0..77415ba 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -25,7 +25,7 @@
     </header>
     <main id="content">
       <div class="filter">
-        <h3>Tag</h3>
+        <h3 class="filter">Tag</h3>
         <small>
           <a href="../">Remove filter</a>
         </small>
diff --git a/templates/style.css b/templates/style.css
index 54ad0da..5c55ef4 100644
--- a/templates/style.css
+++ b/templates/style.css
@@ -41,6 +41,10 @@ a {
   border: 0;
 }
 
+.filter {
+  margin-bottom: 0;
+}
+
 time {
   font-style: italic;
 }
diff --git a/templates/tags.html b/templates/tags.html
index 6a58055..406f8d7 100644
--- a/templates/tags.html
+++ b/templates/tags.html
@@ -24,7 +24,7 @@
       </nav>
     </header>
     <main id="content">
-      <h3 style="margin-bottom: 0">Tags</h3>
+      <h3 class="filter">Tags</h3>
       <ul class="tags">
         <li class="h-feed">
           <a href="/tags/tag">#tag</a>