summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-08-18 20:52:09 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-08-18 20:52:09 -0600
commitf7b4fd644b33111802c0c75a0b5790a4cef96c86 (patch)
tree866408c5e191900cc3935a7d7fac7097bd89473b
parent062e5bbd10dd4e2b4d46a9e22dd3511c2172532c (diff)
improve how index table looks
-rw-r--r--srv/src/http/static/mediocre.css13
-rw-r--r--srv/src/http/tpl/index.html5
2 files changed, 10 insertions, 8 deletions
diff --git a/srv/src/http/static/mediocre.css b/srv/src/http/static/mediocre.css
index 7b9d784..26dee81 100644
--- a/srv/src/http/static/mediocre.css
+++ b/srv/src/http/static/mediocre.css
@@ -59,16 +59,13 @@ hr {
opacity: 25%;
}
-table td {
- border: 0;
-}
-
-table tr {
- border-bottom: 1px dashed var(--nc-tx-1);
+table {
+ font-size: 0.8rem;
}
-table tr:nth-child(1) {
- border-top: 1px dashed var(--nc-tx-1);
+table td {
+ border: 0;
+ margin: 0;
}
table td form,
diff --git a/srv/src/http/tpl/index.html b/srv/src/http/tpl/index.html
index 046d6c8..ce5f264 100644
--- a/srv/src/http/tpl/index.html
+++ b/srv/src/http/tpl/index.html
@@ -12,6 +12,11 @@
{{ end }}
<table>
+
+ <colgroup>
+ <col span="1" style="width: 5rem;">
+ </colgroup>
+
{{ range .Payload.Posts }}
<tr>
<td>{{ DateTimeFormat .PublishedAt }}</td>