fix(styles): Adjust heading styles

Make headings look like real headings and not just ordinary text.
The stylings are copied from the text app where a design review was done on them.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/43640/head
Ferdinand Thiessen 3 months ago
parent ff2100a4e5
commit af770d61b7
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400

@ -59,28 +59,42 @@ body {
/* BASE STYLING ------------------------------------------------------------ */ /* BASE STYLING ------------------------------------------------------------ */
// no h1 allowed since h1 = logo // no h1 allowed since h1 = logo
h2 { h2,
font-weight: bold; h3,
font-size: 20px; h4,
h5,
h6 {
font-weight: 600;
line-height: 1.5;
margin-top: 24px;
margin-bottom: 12px; margin-bottom: 12px;
line-height: 30px; color: var(--color-main-text);
color: var(--color-text-light); }
h2 {
font-size: 30px;
} }
h3 { h3 {
font-size: 16px; font-size: 26px;
margin: 12px 0;
color: var(--color-text-light);
} }
h4 { h4 {
font-size: 14px; font-size: 23px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 17px;
} }
/* do not use italic typeface style, instead lighter color */ /* do not use italic typeface style, instead lighter color */
em { em {
font-style: normal; font-style: normal;
color: var(--color-text-lighter); color: var(--color-text-maxcontrast);
} }
dl { dl {

Loading…
Cancel
Save