diff options
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; |