diff options
| author | Christian Cleberg <[email protected]> | 2025-11-14 19:30:11 -0600 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2025-11-14 19:30:11 -0600 |
| commit | 84a95509f0e21fa0bcf782e45f67f43d672a0e86 (patch) | |
| tree | b9fb66e6d9ce4fe0b4e1a66a0863ee2147efeb49 | |
| parent | d2292ff7e333379d014b985b8ab527a7139c9599 (diff) | |
| download | cleberg.net-84a95509f0e21fa0bcf782e45f67f43d672a0e86.tar.gz cleberg.net-84a95509f0e21fa0bcf782e45f67f43d672a0e86.tar.bz2 cleberg.net-84a95509f0e21fa0bcf782e45f67f43d672a0e86.zip | |
introduce reply-link elements instead of misusing blockquotes
| -rw-r--r-- | theme/static/styles.css | 6 | ||||
| -rw-r--r-- | theme/templates/post.html | 2 |
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 →</a></blockquote> + <div class="reply-link"><a href="mailto:[email protected]">Reply via email →</a></div> </article> {% endblock %} |
