Skip to content

Commit 477a1d4

Browse files
committed
modify tag and css
1 parent 4f74602 commit 477a1d4

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

_layouts/keynote.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
140140
<h5><a href="/tags/">FEATURED TAGS</a></h5>
141141
<div class="tags">
142142
{% for tag in site.tags %}
143-
{% if tag[1].size > {{site.featured-condition-size}} %}
143+
{% if tag[1].size >= {{site.featured-condition-size}} %}
144144
<a href="/tags/#{{ tag[0] }}" title="{{ tag[0] }}" rel="{{ tag[1].size }}">
145145
{{ tag[0] }}
146146
</a>

_layouts/page.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1
3939
<h5><a href="{{'/tags/' | prepend: site.baseurl }}">FEATURED TAGS</a></h5>
4040
<div class="tags">
4141
{% for tag in site.tags %}
42-
{% if tag[1].size > {{site.featured-condition-size}} %}
42+
{% if tag[1].size >= {{site.featured-condition-size}} %}
4343
<a href="{{ site.baseurl }}/tags/#{{ tag[0] }}" title="{{ tag[0] }}" rel="{{ tag[1].size }}">
4444
{{ tag[0] }}
4545
</a>
@@ -88,7 +88,7 @@ <h5>FRIENDS</h5>
8888
<h5><a href="{{'/tags/' | prepend: site.baseurl }}">FEATURED TAGS</a></h5>
8989
<div class="tags">
9090
{% for tag in site.tags %}
91-
{% if tag[1].size > {{site.featured-condition-size}} %}
91+
{% if tag[1].size >= {{site.featured-condition-size}} %}
9292
<a href="{{ site.baseurl }}/tags/#{{ tag[0] }}" title="{{ tag[0] }}" rel="{{ tag[1].size }}">
9393
{{ tag[0] }}
9494
</a>

_layouts/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ <h5>
194194
<h5><a href="/tags/">FEATURED TAGS</a></h5>
195195
<div class="tags">
196196
{% for tag in site.tags %}
197-
{% if tag[1].size > {{site.featured-condition-size}} %}
197+
{% if tag[1].size >= {{site.featured-condition-size}} %}
198198
<a href="/tags/#{{ tag[0] }}" title="{{ tag[0] }}" rel="{{ tag[1].size }}">
199199
{{ tag[0] }}
200200
</a>

less/hux-blog.less

+4-1
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,15 @@ pre code{
482482
// Post Preview Pages (Home Page)
483483

484484
.post-preview {
485+
> .post-title {
486+
color: @brand-primary-green
487+
}
485488
> a {
486489
color: @gray-dark;
487490
&:hover,
488491
&:focus {
489492
text-decoration: none;
490-
color: @brand-primary;
493+
color: @brand-primary-red;
491494
}
492495
> .post-title {
493496
font-size: 21px;

less/variables.less

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Variables
22

33
@brand-primary: #0085A1;
4+
@brand-primary-red: #ea6f5a;
5+
@brand-primary-green: #009688;
46
@gray-dark: lighten(black, 25%);
57
@gray: lighten(black, 50%);
68
@gray-l: lighten(black, 75%);

0 commit comments

Comments
 (0)