Skip to content

Commit a52df55

Browse files
XhmikosRcodebytere
authored andcommitted
doc: remove redundant properties from headers
PR-URL: #31492 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 04d783a commit a52df55

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

doc/api_assets/style.css

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,29 @@ h4, h4 code { font-size: 1.5rem; }
2727
h5, h5 code { font-size: 1.25rem; }
2828
h6, h6 code { font-size: 1rem; }
2929

30-
h1, h1 code,
31-
h2, h2 code,
32-
h3, h3 code,
33-
h4, h4 code,
34-
h5, h5 code,
35-
h6, h6 code {
36-
color: inherit;
37-
font-family: inherit;
30+
h1,
31+
h2,
32+
h3,
33+
h4,
34+
h5,
35+
h6 {
3836
font-weight: 700;
3937
line-height: inherit;
4038
position: relative;
4139
margin: 1.5rem 0 1rem;
4240
text-rendering: optimizeLegibility;
4341
}
4442

43+
h1 code,
44+
h2 code,
45+
h3 code,
46+
h4 code,
47+
h5 code,
48+
h6 code {
49+
color: inherit;
50+
font-family: inherit;
51+
}
52+
4553
pre,
4654
tt,
4755
code,

0 commit comments

Comments
 (0)