Browse Source

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
commit
af770d61b7
No account linked to committer's email address
1 changed files with 24 additions and 10 deletions
  1. 24
    10
      core/css/apps.scss

+ 24
- 10
core/css/apps.scss View File

@@ -59,28 +59,42 @@ body {

/* BASE STYLING ------------------------------------------------------------ */
// no h1 allowed since h1 = logo
h2 {
font-weight: bold;
font-size: 20px;
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
line-height: 1.5;
margin-top: 24px;
margin-bottom: 12px;
line-height: 30px;
color: var(--color-text-light);
color: var(--color-main-text);
}

h2 {
font-size: 30px;
}

h3 {
font-size: 16px;
margin: 12px 0;
color: var(--color-text-light);
font-size: 26px;
}

h4 {
font-size: 14px;
font-size: 23px;
}

h5 {
font-size: 20px;
}

h6 {
font-size: 17px;
}

/* do not use italic typeface style, instead lighter color */
em {
font-style: normal;
color: var(--color-text-lighter);
color: var(--color-text-maxcontrast);
}

dl {

Loading…
Cancel
Save