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:
parent
a53c3a3436
commit
b36ecd090d
3 changed files with 19 additions and 12 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}}"
|
||||||
|
|
|
@ -151,15 +151,17 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p class="p-summary summary">{{entry['summary']}}</p>
|
<p class="p-summary summary">{{entry['summary']}}</p>
|
||||||
<div class="details">
|
<div class="details">
|
||||||
{% if entry['tags'] | length > 0 %}
|
<span class="tags">
|
||||||
to
|
{% if entry['tags'] | length > 0 %}
|
||||||
{% for tag in entry['tags'] %}
|
to
|
||||||
<a class="p-category"
|
{% for tag in entry['tags'] %}
|
||||||
href="{% if jid %}/jid/{{jid}}{% elif path in ('query', 'url') %}/{% endif %}?tags={{tag}}">
|
<a class="p-category"
|
||||||
{{tag}}
|
href="{% if jid %}/jid/{{jid}}{% elif path in ('query', 'url') %}/{% endif %}?tags={{tag}}">
|
||||||
</a>
|
{{tag}}
|
||||||
{% endfor %}
|
</a>
|
||||||
{% endif %}
|
{% endfor %}
|
||||||
|
{% 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>
|
||||||
|
|
Loading…
Reference in a new issue