Skip to content

Commit 9827abc

Browse files
committed
make tags less visually strong
1 parent bb7ddee commit 9827abc

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h3 class="post-subtitle">
7878

7979
{% if site.feed_show_tags != false and post.tags.size > 0 %}
8080
<div class="blog-tags">
81-
Tags:
81+
<span>Tags:</span>
8282
{% for tag in post.tags %}
8383
<a href="{{ '/tags' | absolute_url }}#{{- tag -}}">{{- tag -}}</a>
8484
{% endfor %}

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
{% if page.tags.size > 0 %}
4747
<div class="blog-tags">
48-
Tags:
48+
<span>Tags:</span>
4949
{% for tag in page.tags %}
5050
<a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
5151
{% endfor %}

assets/css/beautifuljekyll.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -540,21 +540,28 @@ footer .footer-custom-content {
540540

541541
.blog-tags {
542542
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
543-
color: #999;
544543
font-size: 0.9375rem;
545544
margin-bottom: 1.875rem;
546545
}
547546

547+
.blog-tags span {
548+
color: {{ site.text-col | default: "#404040" }};
549+
opacity: 0.8;
550+
}
551+
548552
.blog-tags a {
549-
color: {{ site.link-col | default: "#008AFF" }};
553+
color: {{ site.text-col | default: "#404040" }};
550554
text-decoration: none;
551555
padding: 0 0.3125rem;
556+
opacity: 0.8;
557+
border: 1px solid transparent;
558+
border-radius: 2px;
552559
}
553560

554561
.blog-tags a:hover {
555-
border-radius: 2px;
556-
color: {{ site.hover-col | default: "#0085A1" }};
557-
background-color: #EEE;
562+
opacity: 1;
563+
color: {{ site.text-col | default: "#404040" }};
564+
border-color: {{ site.text-col | default: "#404040" }};
558565
}
559566

560567
.post-preview .blog-tags {

0 commit comments

Comments
 (0)