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 { a {
color: #439639; color: #2c6825; /* #439639 */
text-decoration: none; text-decoration: none;
} }
a:visited { a:visited {
color: #d9541e; color: #bf420f; /* #d9541e */
} }
a:hover { a:hover {
text-decoration: underline text-decoration: underline
} }
.tags > a {
margin-right: 8px;
text-decoration: underline;
}
body { body {
background-color:#f5f5f5; background-color:#f5f5f5;
} }

View file

@ -6,7 +6,7 @@
<link href="{{request.url}}" <link href="{{request.url}}"
rel="self" rel="self"
type="text/html" /> 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" rel="alternate"
type="text/html" /> type="text/html" />
<link href="xmpp:{{pubsub_jid}}?pubsub;action=subscribe;node={{node_id}}" <link href="xmpp:{{pubsub_jid}}?pubsub;action=subscribe;node={{node_id}}"

View file

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