Update sidebar heading font sizes
This commit is contained in:
parent
6a20cdfd13
commit
4a61de8ff4
@ -266,6 +266,7 @@ Enabling the sidebar also reduces the default page padding, which can be overrid
|
||||
**Notes:**
|
||||
* The Latest Posts widget always hides the thumbnail, regardless of block settings.
|
||||
* Use the optional `no-theme-style` CSS class to remove the widget styling if needed.
|
||||
* The style under **Appearance > Widgets** is NOT fully representative of the frontend.
|
||||
|
||||
## Stories
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -2,11 +2,33 @@
|
||||
font-size: var(--fs-widget);
|
||||
|
||||
&.widget_block .wp-block-heading {
|
||||
font-size: 1.1em;
|
||||
&:is(h1) {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
&:is(h2) {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
&:is(h3) {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
&:is(h4) {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
&:is(h5) {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
&:is(h6) {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
}
|
||||
|
||||
.widgettitle {
|
||||
font-size: 1.1em;
|
||||
font-size: 1.4em; // h3
|
||||
margin-bottom: .625rem;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user