aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-11-14 19:30:11 -0600
committerChristian Cleberg <[email protected]>2025-11-14 19:30:11 -0600
commit84a95509f0e21fa0bcf782e45f67f43d672a0e86 (patch)
treeb9fb66e6d9ce4fe0b4e1a66a0863ee2147efeb49 /theme
parentd2292ff7e333379d014b985b8ab527a7139c9599 (diff)
downloadcleberg.net-84a95509f0e21fa0bcf782e45f67f43d672a0e86.tar.gz
cleberg.net-84a95509f0e21fa0bcf782e45f67f43d672a0e86.tar.bz2
cleberg.net-84a95509f0e21fa0bcf782e45f67f43d672a0e86.zip
introduce reply-link elements instead of misusing blockquotes
Diffstat (limited to 'theme')
-rw-r--r--theme/static/styles.css6
-rw-r--r--theme/templates/post.html2
2 files changed, 5 insertions, 3 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css
index 757ad7e..36a2e45 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -74,14 +74,16 @@ nav ul li {
text-align: center;
}
-blockquote {
+blockquote,
+.reply-link {
background-color: var(--bg-light);
border-left: 8px solid var(--link);
margin: 1rem 0;
padding: 0.5rem 1rem;
}
-blockquote p {
+blockquote p,
+.reply-link p {
margin: 0;
}
diff --git a/theme/templates/post.html b/theme/templates/post.html
index aa74ece..a09b460 100644
--- a/theme/templates/post.html
+++ b/theme/templates/post.html
@@ -17,6 +17,6 @@
{% endif %}
</section>
<section>{{ post.html | safe }}</section>
- <blockquote><a href="mailto:[email protected]">Reply via email &rarr;</a></blockquote>
+ <div class="reply-link"><a href="mailto:[email protected]">Reply via email &rarr;</a></div>
</article>
{% endblock %}