aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-07-23 13:46:24 -0700
committerJordan <me@jordan.im>2021-07-23 13:46:24 -0700
commita137591f04e28d387b3d76408d5e1d8238344720 (patch)
tree819bf640be1fafcd1af2f12ec65c46a54e0df330
parente0d9f4984e9b0b6aab4e9cff24a436bda9a3e317 (diff)
downloadcrane-a137591f04e28d387b3d76408d5e1d8238344720.tar.gz
crane-a137591f04e28d387b3d76408d5e1d8238344720.zip
category styling, orphaned td
-rw-r--r--templates/index.html4
-rw-r--r--templates/layout.html7
2 files changed, 9 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 6397671..294ecea 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -8,7 +8,9 @@
<span>{{ range $category, $paper := .Papers.List }}[<a href="#{{ $category }}">{{ $category }}</a>] {{ end }}</span>
</div>
<table class='tabs'>
- <td><a class='active' href='/admin/'>Manage</a></td>
+ <tr>
+ <td><a class='active' href='/admin/'>Manage</a></td>
+ </tr>
</table>
<div class="content">
{{ block "list" . }}{{ end }}
diff --git a/templates/layout.html b/templates/layout.html
index 131e9e4..57dc200 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -143,13 +143,18 @@ div#crane div.content {
}
div#crane div.cat {
- font-size: 80%;
+ text-align: left;
+ padding-left: .5em;
color: #555;
padding-bottom: 0.5em;
overflow-wrap: normal;
line-height: 1.5em;
}
+div#crane div.cat a {
+ text-decoration: underline;
+}
+
div#crane div.list {
width: 100%;
border: none;