janispagel.de

Source code for https://janispagel.de
Log | Files | Refs | README | LICENSE

commit b94e35615026e45d63c9df824d1f57f4824226f4
parent e4d68c14f145014798a526c658d203e6a53ed2b1
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Sun, 21 Jun 2020 18:18:59 +0200

Bring header margins back

Also, put the date in news under the headings so that it does'nt get
distorted.

Diffstat:
M_sass/minima/_layout.scss | 3+++
Mnews.md | 4++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/_sass/minima/_layout.scss b/_sass/minima/_layout.scss @@ -255,6 +255,9 @@ .post-content { margin-bottom: $spacing-unit; + h1, h2, h3 { margin-top: $spacing-unit *2 } + h4, h5, h6 { margin-top: $spacing-unit } + h2 { @include relative-font-size(1.75); diff --git a/news.md b/news.md @@ -8,11 +8,11 @@ permalink: /news/ <ul class="post-list"> {%- for post in site.posts -%} <li> - {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} - <span class="post-meta">{{ post.date | date: date_format }}</span> <h3> {{ post.title | escape }} </h3> + {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} + <span class="post-meta">{{ post.date | date: date_format }}</span> {{ post.excerpt | markdownify }} </li> {%- endfor -%}