Skip to content

Commit 0d4b5fb

Browse files
committed
Change style of h4 to pop less out
The h4 style dominated h3 which was problematic for larger bodies of text. This PR proposes a slightly smaller font-size and not using bold-face. It also adjusts the margins slightly to be closer to the textbody. The style is only rarely used and the effect can be observed on the following page: /overviews/core/actors.html
1 parent 20651f5 commit 0d4b5fb

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

_sass/layout/type-md.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343

4444
h4,
4545
h5 {
46-
font-size: 1.063rem;
46+
font-size: 1.0rem;
4747
font-family: $base-font-family;
4848
text-transform: uppercase;
49-
font-weight: $font-bold;
49+
font-weight: $font-regular;
5050
}
5151
}
5252

@@ -74,13 +74,12 @@
7474
.text-step {
7575
h2 {
7676
margin-bottom: 24px;
77-
77+
}
78+
h3 {
79+
margin-bottom: 0.5rem;
7880
}
7981

8082
blockquote,
81-
h3,
82-
h4,
83-
h5,
8483
img,
8584
p,
8685
pre,
@@ -89,6 +88,10 @@
8988
margin-bottom: 18px;
9089
}
9190

91+
h4, h5 {
92+
margin-bottom: 0.5rem;
93+
}
94+
9295
ol,
9396
ul {
9497
padding-left: 18px;

0 commit comments

Comments
 (0)