aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-08-10 23:13:51 -0700
committerJordan <me@jordan.im>2022-08-10 23:13:51 -0700
commit2ba61c7c1be5c3a6897198061167648ab9266f76 (patch)
tree0af250e098c9d43539c7e6cabcb9053c05027aa4
parentd6475f61341713042004cd5569060c728bf2080f (diff)
downloadcrane-2ba61c7c1be5c3a6897198061167648ab9266f76.tar.gz
crane-2ba61c7c1be5c3a6897198061167648ab9266f76.zip
templates: delineate categories w/ padding, rm brackets
-rw-r--r--templates/index.html2
-rw-r--r--templates/layout.html1
2 files changed, 2 insertions, 1 deletions
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 @@
<div class="cat-cont">
<div class="cat">
{{ range $category, $paper := .Papers.List }}
- <span class="cat">[<a href="#{{ $category }}">{{ $category }}</a>]</span>
+ <span class="cat"><a href="#{{ $category }}">{{ $category }}</a></span>
{{ end }}
</div>
</div>
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; }