Skip to content

Commit 9558a49

Browse files
committed
Code in title: don't overwrite the font size (#563)
titles with code don't look pretty because of the changed font-size: <img width="938" alt="Screenshot 2023-03-04 at 01 03 24" src="https://user-images.githubusercontent.com/8672791/222857529-af0f3a49-750b-401f-b68d-a3383dc143e5.png">
1 parent 3ce214c commit 9558a49

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sass/pages/_content.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,19 @@ $content-font-size: 1.22rem;
1212
h2 {
1313
margin-top: 3.0rem;
1414
font-size: 2.2rem;
15+
16+
code {
17+
font-size: inherit;
18+
}
1519
}
1620

1721
h3 {
1822
font-size: 1.5rem;
1923
margin-bottom: 1rem;
24+
25+
code {
26+
font-size: inherit;
27+
}
2028
}
2129

2230
h4 {

0 commit comments

Comments
 (0)