From dda2f3dcd0c4ce5870617016befe1fae10b8f360 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 30 Jul 2025 11:21:33 +0200 Subject: [PATCH] more semantics in html --- src/main/resources/static/stylesheet.css | 27 +++++++++++++++++++----- src/main/resources/templates/show.html | 22 +++++++++---------- 2 files changed, 32 insertions(+), 17 deletions(-) diff --git a/src/main/resources/static/stylesheet.css b/src/main/resources/static/stylesheet.css index 95e398d..392f086 100644 --- a/src/main/resources/static/stylesheet.css +++ b/src/main/resources/static/stylesheet.css @@ -24,10 +24,26 @@ nav { main { .show__meta { - display: flex; - justify-content: space-evenly; - font-size: 90%; + + dl { + margin: 0; + + display: flex; + justify-content: center; + + dd { + margin-left: .3rem; + } + + dt { + margin-left: 3rem; + } + + dt:first-of-type { + margin: 0; + } + } } .tag-container { @@ -40,8 +56,9 @@ main { } .tag-block { + border: 1px solid ButtonText; border-left: .5rem solid AccentColor; - padding-left: .5rem; + padding: .2rem .2rem .2rem .5rem; } fieldset { @@ -49,7 +66,7 @@ main { margin-bottom: 1rem; } - .low-key-hint { + .low-key-hint, dt { color: #717171; } diff --git a/src/main/resources/templates/show.html b/src/main/resources/templates/show.html index 29664ed..68af1e7 100644 --- a/src/main/resources/templates/show.html +++ b/src/main/resources/templates/show.html @@ -16,18 +16,16 @@
meta - - id: - - - - erstellt: - - - - aktualisiert: - - +
+
id:
+
+ +
erstellt:
+
+ +
aktualisiert:
+
+