From b36ecd090d20dad40ab3d5728cf506cde8773065 Mon Sep 17 00:00:00 2001 From: "Schimon Jehudah, Adv." Date: Wed, 28 Aug 2024 16:25:22 +0300 Subject: [PATCH] Atom : Correct a condition; CSS : Underline hyperlinks of tags (Thank you, roughnecks); CSS : Use darker colours; XHTML : Add a class for tags. --- stylesheet/stylesheet.css | 9 +++++++-- template/browse.atom | 2 +- template/browse.xhtml | 20 +++++++++++--------- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/stylesheet/stylesheet.css b/stylesheet/stylesheet.css index 5892e78..ff2acd6 100644 --- a/stylesheet/stylesheet.css +++ b/stylesheet/stylesheet.css @@ -1,16 +1,21 @@ a { - color: #439639; + color: #2c6825; /* #439639 */ text-decoration: none; } a:visited { - color: #d9541e; + color: #bf420f; /* #d9541e */ } a:hover { text-decoration: underline } +.tags > a { + margin-right: 8px; + text-decoration: underline; +} + body { background-color:#f5f5f5; } diff --git a/template/browse.atom b/template/browse.atom index 2abd33c..ba81d4d 100644 --- a/template/browse.atom +++ b/template/browse.atom @@ -6,7 +6,7 @@ - {{entry['summary']}}

- {% if entry['tags'] | length > 0 %} - to - {% for tag in entry['tags'] %} - - {{tag}} - - {% endfor %} - {% endif %} + + {% if entry['tags'] | length > 0 %} + to + {% for tag in entry['tags'] %} + + {{tag}} + + {% endfor %} + {% endif %} + by {% if jid %} {{jid}}