on master help sign in
Bring essay listing to parity
ef84248Matilde Park
sass/_main.scss+6
@@ -153,6 +153,12 @@ ul {
153 padding-inline-end: 0;
153 padding-inline-end: 0;
154}
154}
155
155
156+ // p reset
157+ul p {
158+ margin-block-start: 0;
159+ margin-block-end: 0;
160+}
161+
156 // images for posts
162 // images for posts
157img {
163img {
158 max-width: 100%;
164 max-width: 100%;
templates/essays/list.html+3−3
@@ -15,9 +15,9 @@
15 <ul class="posts">
15 <ul class="posts">
16 {% set posts = get_section(path="essays/_index.md") %}
16 {% set posts = get_section(path="essays/_index.md") %}
17 {% for page in posts.pages %}
17 {% for page in posts.pages %}
18− <li class="mb3">
18+ <li class="mb4">
19− <h2 class="mb1"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
19+ <h2 class="f4 fw4"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
20− <p class="mb2 mt2">{{ page.description }}</p>
20+ <p class="mt0">{{ page.description }}</p>
21 <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
21 <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
22 <span class="mono f5">
22 <span class="mono f5">
23 {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}
23 {% if page.extra.ship %}<address class="mono f5 ml2">{{ page.extra.ship }}</address> {% endif %}