styled headings with proper weight

This commit is contained in:
jorge-vitrubio 2024-02-23 11:53:50 +01:00
parent 8bed7763f6
commit 4676445afa
6 changed files with 12 additions and 3 deletions

View File

@ -625,6 +625,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area h4,
.edit-post-visual-editor__content-area .h4 {
font-size: 1.2rem;
font-weight: 500;
}
.edit-post-visual-editor__content-area h4.small,
@ -635,6 +636,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area h5,
.edit-post-visual-editor__content-area .h5 {
font-size: 1.1rem;
font-weight: 500;
}
.edit-post-visual-editor__content-area h5.small,
@ -645,6 +647,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area h6,
.edit-post-visual-editor__content-area .h6 {
font-size: 1.1rem;
font-weight: 100;
}
.edit-post-visual-editor__content-area h6.small,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,18 +29,21 @@
}
h4,.h4 {
font-size: $font__size-body*1.2;
font-weight: 500;
&.small {
font-size: $font__size-body*0.9;
}
}
h5,.h5 {
font-size: $font__size-body*1.1;
font-weight: 500;
&.small {
font-size: $font__size-body*0.8;
}
}
h6,.h6 {
font-size: $font__size-body*1.1;
font-weight: 100;
&.small {
font-size: $font__size-body*0.8;
}

View File

@ -487,6 +487,7 @@ textarea {
h4,
.h4 {
font-size: 1.2rem;
font-weight: 500;
}
h4.small,
@ -497,6 +498,7 @@ textarea {
h5,
.h5 {
font-size: 1.1rem;
font-weight: 500;
}
h5.small,
@ -507,6 +509,7 @@ textarea {
h6,
.h6 {
font-size: 1.1rem;
font-weight: 100;
}
h6.small,

File diff suppressed because one or more lines are too long