Beautified the tags in posts.

This commit is contained in:
Cotes Chung 2019-11-29 00:04:01 +08:00
parent 5354a2adbf
commit 98e1cf8252
2 changed files with 5 additions and 2 deletions

View file

@ -69,7 +69,7 @@ layout: default
<a href="{{ site.baseurl }}/tags/{{ tag | replace: ' ', '-' | downcase }}/"
class="post-tag no-text-decoration" >
{{- tag -}}
</a>{%- if forloop.last != true -%}&ensp;{%- endif -%}
</a>
{% endfor %}
</div>
{% endif %}

View file

@ -713,9 +713,12 @@ table tbody td {
}
.post-tag {
display: inline-block;
min-width: 2rem;
text-align: center;
background: rgba(0, 0, 0, 0.075);
border-radius: .34rem;
padding: .25rem .4rem;
padding: 0 .4rem;
margin: 0 .1rem;
color: #818182;
line-height: 1.6rem;