From 2ba61c7c1be5c3a6897198061167648ab9266f76 Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 10 Aug 2022 23:13:51 -0700 Subject: templates: delineate categories w/ padding, rm brackets --- templates/index.html | 2 +- templates/layout.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 861410d..727e727 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@
{{ range $category, $paper := .Papers.List }} - [{{ $category }}] + {{ $category }} {{ end }}
diff --git a/templates/layout.html b/templates/layout.html index a4c648f..b69ee49 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -30,6 +30,7 @@ a.permalink { color: var(--ansi3); text-decoration: none; } div.paper { padding-bottom: 1em; } div.cat-cont { } div.cat { justify-content: space-between; display: flex; flex-wrap: wrap; } +div.cat a { padding: 0rem 1rem 1rem 0rem; } div.action { padding-bottom: 1em; margin-left: 1em; } span.doi a { text-decoration: none; } span.title a { text-decoration: underline; color: blue; } -- cgit v1.2.3-54-g00ecf