From 644e3b2f2892bd9e762b8ee3b493a1a4cf7ba946 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 18 Jun 2024 18:58:00 +0200 Subject: Simplified template --- templates/base.html | 3 +-- templates/index.html | 2 +- templates/note.html | 3 +-- templates/post.html | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/templates/base.html b/templates/base.html index 4689ecc..bc85947 100755 --- a/templates/base.html +++ b/templates/base.html @@ -30,7 +30,7 @@ } body { - padding: 1rem; + padding: 1em; background: white; line-height: 1.3; font-family: sans-serif; @@ -138,7 +138,6 @@ @media only screen and (max-width: 600px) { body { - padding: 0.5em; word-wrap: break-word; } diff --git a/templates/index.html b/templates/index.html index 368cb0f..e36d83b 100755 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {{ define "content" }}
- You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you. + You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you.
diff --git a/templates/note.html b/templates/note.html index c5241c3..a72453f 100755 --- a/templates/note.html +++ b/templates/note.html @@ -12,9 +12,8 @@ -

-
+

Other notes

    {{ range random 20 .Pages }} diff --git a/templates/post.html b/templates/post.html index 6061e47..0f0265e 100755 --- a/templates/post.html +++ b/templates/post.html @@ -12,9 +12,8 @@
-

-
+

Other posts

    {{ range random 20 .Pages }} -- cgit v1.2.3