Optimized pin icon size.
This commit is contained in:
parent
b22da94134
commit
f9706411e7
2 changed files with 9 additions and 7 deletions
|
@ -52,7 +52,7 @@ layout: page
|
|||
<div class="d-flex justify-content-between pr-xl-2">
|
||||
<h1><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h1>
|
||||
{% if post.pin %}
|
||||
<i class="fas fa-thumbtack fa-fw text-muted fa-sm mt-1 mt-xl-2" data-toggle="tooltip" data-placement="left"
|
||||
<i class="fas fa-thumbtack fa-fw text-muted mt-1 ml-2 mt-xl-2" data-toggle="tooltip" data-placement="left"
|
||||
title="Pinned"></i>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -20,15 +20,17 @@
|
|||
h1 {
|
||||
font-size: 1.4rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
i.far { /* fontawesome icons */
|
||||
font-size: 86%;
|
||||
~i { // pinned icon
|
||||
font-size: .86rem;
|
||||
}
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
i:not(:first-child) { // post-meta icons on the homepage
|
||||
margin-left: 1.5rem;
|
||||
i {
|
||||
font-size: .73rem;
|
||||
&:not(:first-child) { // post-meta icons on the homepage
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue