Skip to content

Commit b4fc3fb

Browse files
committed
Add h3 styles
1 parent 9a39c72 commit b4fc3fb

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/styles/article.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ article {
2828
}
2929

3030
// Inspired from MDN's heading link styles
31-
h2 a {
31+
h2 a,
32+
h3 a {
3233
text-decoration: none;
3334

3435
&::before {

src/styles/page.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ body {
4141
line-height: 1.6;
4242
}
4343
h1,
44-
h2 {
44+
h2,
45+
h3 {
4546
margin-bottom: v-size(2, "em");
4647
font-family: v-font("title");
4748
font-weight: 600;
@@ -53,6 +54,9 @@ h1 {
5354
h2 {
5455
font-size: v-size(7);
5556
}
57+
h3 {
58+
font-size: v-size(6);
59+
}
5660
main {
5761
flex-grow: 1;
5862
}
@@ -115,6 +119,9 @@ code {
115119
h2 {
116120
font-size: v-size(9);
117121
}
122+
h3 {
123+
font-size: v-size(7);
124+
}
118125
}
119126

120127
@include m-large {

0 commit comments

Comments
 (0)