commit 000804d7285b817eb4ac50baa3150930bbc14dae
parent a7c7a2be59d8c6d2f23855cee3cbf29fddd3f1e9
Author: lou woell <lou@repetitions.de>
Date:   Sun, 26 Apr 2026 18:07:16 +0200

move post-list separator from css to html

this greatly improves readability on text-only browsers

Diffstat:
Massets/css/post.css | 11+++++++----
Mlayouts/_partials/post-on-list.html | 1+
2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/assets/css/post.css b/assets/css/post.css @@ -23,19 +23,22 @@ width: 100%; text-align: left; - &:not(:last-of-type) { - border-bottom: 1px solid var(--border-color); - } &.on-list { margin-top: 1rem; - padding-bottom: 1rem; + margin-bottom: 1rem; .post-title { font-size: 1.2rem; margin-bottom: 0.5rem; padding-bottom: 0.5rem; } + + &:last-of-type { + hr.separator { + display:none; + } + } } .post-preview { diff --git a/layouts/_partials/post-on-list.html b/layouts/_partials/post-on-list.html @@ -41,4 +41,5 @@ </div> {{- end }} </div> + <hr class="separator"> </article>