figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

commit edc2d1dedeed798928f8166efa0d39d19584aac0
parent 1b1ef19fd63ac4042d75e84c2e3f76b3434662cf
Author: FIGBERT <figbert@figbert.com>
Date:   Sat, 15 Aug 2020 23:50:08 -0700

:lipstick: Fix post-preview paddings and margins

Diffstat:
Mstatic/global.css | 9+++++++++
Mtemplates/post-preview.html | 2+-
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/static/global.css b/static/global.css @@ -85,6 +85,15 @@ h6::before { vertical-align: middle; } */ +.post-preview { + margin-top: 2rem; + margin-bottom: 2rem; +} + +.post-preview > h3 { + margin: 0; +} + .error { display: flex; flex-direction: column; diff --git a/templates/post-preview.html b/templates/post-preview.html @@ -1,5 +1,5 @@ {% macro post_preview(post) %} - <div> + <div class="post-preview"> <h3><a href="{{ post.permalink }}">{{ post.title }}</a></h3> <small>{{ post.date| date(format="%B %d, %Y") }} :: {{ post.word_count }} words :: {{ post.reading_time }} mins</small> <div>