diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-06-25 20:13:51 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-06-25 20:13:51 +0100 |
commit | 40e21fb3cb28016dd2dcd89961d1c29323fedde9 (patch) | |
tree | 2d8056ad3e683f00f09cee662c834f5c89b9ba6b /themes | |
parent | 69dc4fa5bb64ae42649cb142dc0be5b1a040dcc7 (diff) | |
download | yannherklotz.com-40e21fb3cb28016dd2dcd89961d1c29323fedde9.tar.gz yannherklotz.com-40e21fb3cb28016dd2dcd89961d1c29323fedde9.zip |
Fix some styling
Diffstat (limited to 'themes')
-rw-r--r-- | themes/ymherklotz/layouts/partials/news.html | 1 | ||||
-rw-r--r-- | themes/ymherklotz/layouts/partials/news_all.html | 9 | ||||
-rw-r--r-- | themes/ymherklotz/static/css/default.css | 9 |
3 files changed, 10 insertions, 9 deletions
diff --git a/themes/ymherklotz/layouts/partials/news.html b/themes/ymherklotz/layouts/partials/news.html index 3326367..727d674 100644 --- a/themes/ymherklotz/layouts/partials/news.html +++ b/themes/ymherklotz/layouts/partials/news.html @@ -3,5 +3,6 @@ {{ range first 10 $.Site.Data.news.news }} <tr><td class="news-date">{{ .date }}</td><td>{{ safeHTML .event }}</td></tr> {{ end }} + <tr><td><a href="{{ .Site.BaseURL }}/news">more...</a></td><td></td></tr> </tbody> </table> diff --git a/themes/ymherklotz/layouts/partials/news_all.html b/themes/ymherklotz/layouts/partials/news_all.html deleted file mode 100644 index 92d255e..0000000 --- a/themes/ymherklotz/layouts/partials/news_all.html +++ /dev/null @@ -1,9 +0,0 @@ -<table class="news"> - <tbody> - {{ range $.Site.Data.news }} - {{ range . }} - <tr><td class="news-date">{{ .date.Format "2006-01-02" }}</td><td>{{ safeHTML .event }}</td></tr> - {{ end }} - {{ end }} - </tbody> -</table> diff --git a/themes/ymherklotz/static/css/default.css b/themes/ymherklotz/static/css/default.css index 9333500..601a56e 100644 --- a/themes/ymherklotz/static/css/default.css +++ b/themes/ymherklotz/static/css/default.css @@ -255,6 +255,7 @@ table { width: 100%; border-bottom: 0.15rem solid #171d30; border-top: 0.15rem solid #171d30; + margin: 30px 0; } th, td { @@ -262,6 +263,14 @@ th, td { text-align: left; } +dd { + margin-bottom: 15px; +} + +dl { + margin: 30px 0; +} + #navbar a, .logo a { font-family: 'Iosevka Web', monospace; font-size: 1.3rem; |