diff options
author | Jordan <me@jordan.im> | 2022-08-10 23:13:51 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2022-08-10 23:13:51 -0700 |
commit | 2ba61c7c1be5c3a6897198061167648ab9266f76 (patch) | |
tree | 0af250e098c9d43539c7e6cabcb9053c05027aa4 | |
parent | d6475f61341713042004cd5569060c728bf2080f (diff) | |
download | crane-2ba61c7c1be5c3a6897198061167648ab9266f76.tar.gz crane-2ba61c7c1be5c3a6897198061167648ab9266f76.zip |
templates: delineate categories w/ padding, rm brackets
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/layout.html | 1 |
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; } |