Skip to content

Commit 0aff610

Browse files
committed
Add h2s to blog page buttons but maintain styling
1 parent f00c121 commit 0aff610

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

_sass/modules/_blog.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
max-width: 1080px;
77
}
88

9+
h2 {
10+
color: $color-black;
11+
font-size: 23px;
12+
padding: 0px;
13+
font-weight: 600;
14+
line-height: 42px;
15+
}
16+
17+
span:hover h2 {
18+
color: $color-red;
19+
}
20+
921
&__posts,
1022
&__pagination {
1123
margin-left: 30px;

blog/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ <h4>Discover the latest Rails news, version releases, community updates, and fea
1414
</div>
1515
</div>
1616

17-
<div class="heading common-padding--bottom-small">
17+
<div class="blog common-padding--bottom-small">
1818
<div class="container">
1919
<div class="heading__body">
2020
<div class="heading__headline common-headline">
2121
<div class="heading__buttons">
2222
<ul>
23-
<li><a href="/blog"><span>Everything</span></a></li>
24-
<li><a href="/category/releases"><span>Releases</span></a></li>
25-
<li><a href="/category/news"><span>News</span></a></li>
26-
<li><a href="/category/foundation"><span>Foundation</span></a></li>
23+
<li><a href="/blog"><span><h2>Everything</h2></span></a></li>
24+
<li><a href="/category/releases"><span><h2>Releases</h2></span></a></li>
25+
<li><a href="/category/news"><span><h2>News</h2></span></a></li>
26+
<li><a href="/category/foundation"><span><h2>Foundation</h2></span></a></li>
2727
</ul>
2828
</div>
2929
</div>

0 commit comments

Comments
 (0)