diff --git a/fedireads/static/format.css b/fedireads/static/format.css index 8278f255..f0b5e1a8 100644 --- a/fedireads/static/format.css +++ b/fedireads/static/format.css @@ -42,6 +42,16 @@ h2 { border-bottom: 3px solid #B2DBBF; } +h3 { + font-size: 1rem; + margin: 1rem 0 0.5rem 0; + border-bottom: 3px solid #70C1B2; + font-weight: bold; +} +h3 small { + font-weight: normal; +} + #top-bar { overflow: visible; padding: 0.5rem; @@ -222,9 +232,30 @@ ul.menu a { flex-grow: 1; display: inline-block; } + + +.book-form textarea { + display: block; + width: 100%; + font-size: 0.9em; +} +.book-form label { + display: inline-block; + width: 8rem; + vertical-align: top; +} +.book-form .row label { + width: max-content; +} form input { flex-grow: 1; } +form div { + margin-bottom: 1em; +} +textarea { + padding: 0.5em; +} .content-container button { border: none; background-color: #247BA0; diff --git a/fedireads/templates/edit_book.html b/fedireads/templates/edit_book.html index 529a2f0c..83ba15c6 100644 --- a/fedireads/templates/edit_book.html +++ b/fedireads/templates/edit_book.html @@ -1,15 +1,54 @@ {% extends 'layout.html' %} +{% load humanize %} {% block content %}
{% include 'snippets/book_cover.html' with book=book %}
- - +Added: {{ book.created_date | naturaltime }}
+Updated: {{ book.updated_date | naturaltime }}
+