Skip to content

Commit 3c8df52

Browse files
authored
Merge pull request creativecommons#470 from creativecommons/fix_links
update links hover colors
2 parents 5981e05 + 9799cc4 commit 3c8df52

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

themes/vocabulary_theme/templates/blocks/recent-posts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2 class="is-paddingless level-left">
2727
</figure>
2828
</header>
2929
<div class="blog-content">
30-
<h4 class="b-header"><a class="has-color-dark-slate-gray" href="{{ post|url }}">{{ post.title }}</a></h4>
30+
<h4 class="b-header"><a class="blog-title" href="{{ post|url }}">{{ post.title }}</a></h4>
3131
<span class="blog-author">by <a class="author-name" href="{{ author|url }}">{{ render_author_name(author) }}</a>
3232
on {{ post.pub_date|dateformat("YYYY-MM-dd") }}</span>
3333
<div class="excerpt">

webpack/sass/main.scss

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ a {
66
text-decoration: none;
77
}
88

9+
a:hover {
10+
color: $color-forest-green;
11+
}
12+
913
// Code
1014
code {
1115
color: $color-dark-slate-gray;
@@ -164,6 +168,10 @@ pre {
164168
}
165169
}
166170

171+
.blog-title {
172+
@extend .has-color-dark-slate-gray;
173+
}
174+
167175
.posts-link {
168176
@extend .has-color-forest-green;
169177
@extend .body-normal;

0 commit comments

Comments
 (0)