Atom : Correct a condition;

CSS   : Underline hyperlinks of tags (Thank you, roughnecks);
CSS   : Use darker colours;
XHTML : Add a class for tags.
This commit is contained in:
Schimon Jehudah, Adv. 2024-08-28 16:25:22 +03:00
parent a53c3a3436
commit b36ecd090d
3 changed files with 19 additions and 12 deletions

View file

@ -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;
}

View file

@ -6,7 +6,7 @@
<link href="{{request.url}}"
rel="self"
type="text/html" />
<link href="{{request.url.__str__().replace('mode=feed&', '', 1)}}"
<link href="{{request.url.__str__().replace('mode=feed&', '', 1).replace('?mode=feed', '', 1)}}"
rel="alternate"
type="text/html" />
<link href="xmpp:{{pubsub_jid}}?pubsub;action=subscribe;node={{node_id}}"

View file

@ -151,6 +151,7 @@
{% endif %}
<p class="p-summary summary">{{entry['summary']}}</p>
<div class="details">
<span class="tags">
{% if entry['tags'] | length > 0 %}
to
{% for tag in entry['tags'] %}
@ -160,6 +161,7 @@
</a>
{% endfor %}
{% endif %}
</span>
by
{% if jid %}
<a class="p-author" href="/jid/{{jid}}">{{jid}}</a>