Bring essay listing to parity
commitef842482e0e4df771666dc0c6174e40f191b684a
authorMatilde Park <matilde@tlon.io>
dateTue 10 Sep 2019, 18:16 (7 years ago)
parent7224294
sass/_main.scss+6
@@ -153,6 +153,12 @@ ul {
153153 padding-inline-end: 0;
154154}
155155
156+ // p reset
157+ul p {
158+ margin-block-start: 0;
159+ margin-block-end: 0;
160+}
161+
156162 // images for posts
157163img {
158164 max-width: 100%;
templates/essays/list.html+3−3
@@ -15,9 +15,9 @@
1515 <ul class="posts">
1616 {% set posts = get_section(path="essays/_index.md") %}
1717 {% for page in posts.pages %}
18− <li class="mb3">
19− <h2 class="mb1"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
20− <p class="mb2 mt2">{{ page.description }}</p>
18+ <li class="mb4">
19+ <h2 class="f4 fw4"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
20+ <p class="mt0">{{ page.description }}</p>
2121 <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
2222 <span class="mono f5">
2323 {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}