Better style for <small> tags
This commit is contained in:
parent
8ad0abd921
commit
e581ef7d09
@ -22,6 +22,13 @@ a, a:visited {
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
margin-left: 1em;
|
||||||
|
color: #242424;
|
||||||
|
opacity: 0.6;
|
||||||
|
font-size: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -290,20 +297,14 @@ main .article-meta .comments .list {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
}
|
}
|
||||||
|
.comments .list .comment .author * {
|
||||||
|
transition: all 0.1s ease-in;
|
||||||
|
}
|
||||||
.comments .list .comment .author .display-name {
|
.comments .list .comment .author .display-name {
|
||||||
transition: color 0.1s ease-in;
|
|
||||||
color: #242424;
|
color: #242424;
|
||||||
}
|
}
|
||||||
.comments .list .comment .author:hover .display-name { color: #7765E3; }
|
.comments .list .comment .author:hover .display-name { color: #7765E3; }
|
||||||
|
.comments .list .comment .author:hover small { opacity: 1; }
|
||||||
.comments .list .comment .author .username {
|
|
||||||
transition: color 0.1s ease-in;
|
|
||||||
margin-left: 1em;
|
|
||||||
color: #777777;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
.comments .list .comment .author:hover .username { color: #444444; }
|
|
||||||
|
|
||||||
.comments .list .comment .text {
|
.comments .list .comment .text {
|
||||||
padding: 1.25em 0;
|
padding: 1.25em 0;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ blog.title }} (~{{ blog.actor_id }})</h1>
|
<h1>{{ blog.title }} <small>~{{ blog.actor_id }}</small></h1>
|
||||||
<p>{{ blog.summary }}</p>
|
<p>{{ blog.summary }}</p>
|
||||||
<p>
|
<p>
|
||||||
{{ "{{ count }} authors in this blog: " | _n(singular="One author in this blog: ", count = n_authors) }}
|
{{ "{{ count }} authors in this blog: " | _n(singular="One author in this blog: ", count = n_authors) }}
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
<div class="comment" id="comment-{{ comment.id }}">
|
<div class="comment" id="comment-{{ comment.id }}">
|
||||||
<a class="author" href="{{ comment.author.ap_url }}">
|
<a class="author" href="{{ comment.author.ap_url }}">
|
||||||
<span class="display-name">{{ comment.author.display_name }}</span>
|
<span class="display-name">{{ comment.author.display_name }}</span>
|
||||||
<span class="username">@{{ comment.author.username }}</span>
|
<small>@{{ comment.author.username }}</small>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">{{ comment.content | safe }}</div>
|
<div class="text">{{ comment.content | safe }}</div>
|
||||||
<a class="button" href="?responding_to={{ comment.id }}">{{ "Respond" | _ }}</a>
|
<a class="button" href="?responding_to={{ comment.id }}">{{ "Respond" | _ }}</a>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
{% set follower_name = follower.username %}
|
{% set follower_name = follower.username %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3><a href="/@/{{ follower.fqn }}/">{{ follower_name }}</a> — @{{ follower.fqn }}</h3>
|
<h3><a href="/@/{{ follower.fqn }}/">{{ follower_name }}</a> <small>@{{ follower.fqn }}</small></h3>
|
||||||
<main><p>{{ follower.summary | safe }}</p></main>
|
<main><p>{{ follower.summary | safe }}</p></main>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user