Commit 84a95509f0

84a95509f0e21fa0bcf782e45f67f43d672a0e86

parent: d2292ff7e3

Unsigned

cmc <hello@cleberg.net> · 2025-11-15 01:30 UTC

introduce reply-link elements instead of misusing blockquotes

Layout: unified · split

theme/static/styles.css +4 −2
@@ -74,14 +74,16 @@ nav ul li {
74 text-align: center; 74 text-align: center;
75} 75}
76 76
77blockquote { 77blockquote,
78.reply-link {
78 background-color: var(--bg-light); 79 background-color: var(--bg-light);
79 border-left: 8px solid var(--link); 80 border-left: 8px solid var(--link);
80 margin: 1rem 0; 81 margin: 1rem 0;
81 padding: 0.5rem 1rem; 82 padding: 0.5rem 1rem;
82} 83}
83 84
84blockquote p { 85blockquote p,
86.reply-link p {
85 margin: 0; 87 margin: 0;
86} 88}
87 89
theme/templates/post.html +1 −1
@@ -17,6 +17,6 @@
17 {% endif %} 17 {% endif %}
18 </section> 18 </section>
19 <section>{{ post.html | safe }}</section> 19 <section>{{ post.html | safe }}</section>
20 <blockquote><a href="mailto:hello@cleberg.net">Reply via email &rarr;</a></blockquote> 20 <div class="reply-link"><a href="mailto:hello@cleberg.net">Reply via email &rarr;</a></div>
21</article> 21</article>
22{% endblock %} 22{% endblock %}