diff options
author | Alex Scerba <alex@scerba.org> | 2025-09-18 10:40:11 -0500 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2025-09-18 10:40:11 -0500 |
commit | 863bcabf35347fbd1e7000ceb0658dae0ce9bb2c (patch) | |
tree | 9c09ed169bdef5a3c8bed0481d5a86597e21f2b0 | |
parent | 9e93eb48ecd3c605b653a1de147a916c899ec7c1 (diff) |
Isolate blog post article for styling
-rw-r--r-- | html/post.tmpl.html | 6 | ||||
-rw-r--r-- | static/style.css | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/html/post.tmpl.html b/html/post.tmpl.html index a7b3f57..4c96506 100644 --- a/html/post.tmpl.html +++ b/html/post.tmpl.html @@ -3,11 +3,7 @@ {{ define "keywords" }}blog{{end}} {{ define "main" }} -<section> - <div class="main-bg"> - <h1>Blog</h1> - <p>A collection of thoughts, life updates, projects, and images.</p> - </div> +<section id="post"> <div class="return"> <a href="/blog">< Return</a> </div> diff --git a/static/style.css b/static/style.css index 66d4ece..52f06a6 100644 --- a/static/style.css +++ b/static/style.css @@ -94,7 +94,7 @@ article { box-shadow: 0 0 1em 0.4em rgb(224, 224, 224);
}
-article, #intro, .entries, .return {
+#post > article, #intro, .entries, .return {
margin-top: 1.75rem;
}
@@ -106,7 +106,7 @@ article h2, .article-h2, #pgnv { margin-top: 0;
}
-article p:last-of-type {
+#post > article p:last-of-type {
margin-bottom: .5rem;
}
|