From 089aa592be7f05caf1faedd22f034b542e4153df Mon Sep 17 00:00:00 2001 From: zPlus Date: Mon, 4 Sep 2023 05:41:31 +0200 Subject: [PATCH] Add plaintext view to library page. --- pages/templates/library/item.tpl | 13 +++++++------ static/css/dokk.css | 7 +++++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/pages/templates/library/item.tpl b/pages/templates/library/item.tpl index 6fe7f13..a4a7aa1 100644 --- a/pages/templates/library/item.tpl +++ b/pages/templates/library/item.tpl @@ -50,13 +50,9 @@ DOKK Library -
- -
{{ plaintext }}
-
-
+ -
+

{{ data["library:title"] }}

@@ -73,6 +69,11 @@ {% endfor%}

+ +
+ Plaintext +
{{ plaintext }}
+
{% endblock %} diff --git a/static/css/dokk.css b/static/css/dokk.css index 587f6d2..ddf5784 100644 --- a/static/css/dokk.css +++ b/static/css/dokk.css @@ -33,15 +33,18 @@ body > .library_item { } body > .library_item object { - box-shadow: 0 0 2rem 0 #AAA; height: 80vh; width: 100%; } - body > .library_item > .details { + body > .library_item > .info { padding: 3rem 5rem; } + body > .library_item > details { + padding: 0rem 5rem 3rem 5rem; + } + body > .mimi_and_eunice_strip { padding: 1rem; }