docs: Adjust heading sizes (#33628)
Just fine-tuning some heading sizes that were off, particularly h4s and h5s. Release Notes: - N/A
This commit is contained in:
parent
bc5927d5af
commit
c3d0230f89
1 changed files with 18 additions and 4 deletions
22
docs/theme/css/general.css
vendored
22
docs/theme/css/general.css
vendored
|
@ -79,20 +79,34 @@ h6 code {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 3.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
border-color: var(--border-light);
|
border-color: var(--border-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
h2,
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-block-start: 1.5em;
|
font-size: 2rem;
|
||||||
margin-block-end: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
h4,
|
h4,
|
||||||
h5 {
|
h5 {
|
||||||
margin-block-start: 2em;
|
margin-block-start: 1.5em;
|
||||||
|
margin-block-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header + .header h3,
|
.header + .header h3,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue