Skip to content

Commit

Permalink
Merge pull request #43640 from nextcloud/fix/headings-styling
Browse files Browse the repository at this point in the history
fix(styles): Adjust heading styles
  • Loading branch information
susnux authored Apr 8, 2024
2 parents f8de545 + ff11956 commit 1d5d8d4
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 14 deletions.
2 changes: 1 addition & 1 deletion core/css/apps.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/css/apps.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 24 additions & 10 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion core/css/server.css

Large diffs are not rendered by default.

Loading

0 comments on commit 1d5d8d4

Please sign in to comment.