From 9e4eb63a6a90cdeba92c88e72a559024e1774e23 Mon Sep 17 00:00:00 2001 From: Jordan Date: Thu, 4 Nov 2021 00:31:18 -0700 Subject: styling: between-paper breaks, bullets --- templates/admin-edit.html | 7 +++++-- templates/layout.html | 21 ++++++++++----------- templates/list.html | 8 +++++--- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/templates/admin-edit.html b/templates/admin-edit.html index f28518b..5bd4fa1 100644 --- a/templates/admin-edit.html +++ b/templates/admin-edit.html @@ -51,7 +51,8 @@ {{ range $path, $paper := $papers }} -
+
+ + {{ end }} +
{{ end }} {{ end }} diff --git a/templates/layout.html b/templates/layout.html index e70c260..02549bd 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -32,6 +32,12 @@ div#crane { border-radius: 2px; } +div#crane ul { + list-style: square; + padding-left: 1.5em; + padding-right: .5em; +} + div#crane a { color: #000; text-decoration: none; @@ -145,8 +151,6 @@ div#crane table.tabs td.form form { div#crane div.content { margin-top: 1em; - padding-bottom: 1em; - border-bottom: solid 2px #ccc; } div#crane div.cat { @@ -175,13 +179,6 @@ div#crane div.content div.action { padding-bottom: 1em; } -div#crane div.list div.paper { - padding-top: 0.5em; - padding-bottom: 0.5em; - padding-left: 10px; - padding-right: 10px; -} - div#crane div.list span.authors { font-size: 80%; color: #900; @@ -215,15 +212,17 @@ div#crane div.list span.title a { div#crane div.list div.papersection { font-weight: bold; padding-top: 0.5em; - padding-bottom: 0.5em; color: black; } +div#crane hr { + border: solid 1px #ccc; +} + div#crane div.footer { margin-top: 0.5em; text-align: center; font-size: 80%; - color: #ccc; } div#crane div.footer a { diff --git a/templates/list.html b/templates/list.html index aa857ee..52e7bb9 100644 --- a/templates/list.html +++ b/templates/list.html @@ -7,7 +7,8 @@ {{ $category }} {{ range $path, $paper := $papers }} -
+
+ + {{ end }} +
{{ end }} {{ end }} -- cgit v1.2.3-54-g00ecf