mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Bundled Themes: Reverts [52549].
[52549] updated some default presets in use by default themes to the new format. However, this change would cause elements to lose their styling when active on an older version of WordPress. See #54782. git-svn-id: https://develop.svn.wordpress.org/trunk@52615 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
347cd20937
commit
2ee9a3ff25
@ -351,20 +351,20 @@ Inter variable font. Usage:
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-small-font-size {
|
||||
--wp--preset--font-size--small: 0.842em;
|
||||
font-size: 0.842em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-normal-font-size,
|
||||
.editor-styles-wrapper p.has-regular-font-size {
|
||||
--wp--preset--font-size--normal: 1em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-medium-font-size {
|
||||
--wp--preset--font-size--medium: 1.1em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-large-font-size {
|
||||
--wp--preset--font-size--large: 1.25em;
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-larger-font-size {
|
||||
|
||||
@ -206,21 +206,21 @@ Inter variable font. Usage:
|
||||
/* GENERAL COLORS */
|
||||
|
||||
.has-black-background-color {
|
||||
--wp--preset--color--black: #000;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.has-white-background-color {
|
||||
--wp--preset--color--white: #fff;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.has-black-color {
|
||||
--wp--preset--color--black: #000;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.has-white-color {
|
||||
--wp--preset--color--white: #fff;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
@ -351,20 +351,20 @@ Inter variable font. Usage:
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-small-font-size {
|
||||
--wp--preset--font-size--small: 0.842em;
|
||||
font-size: 0.842em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-normal-font-size,
|
||||
.editor-styles-wrapper p.has-regular-font-size {
|
||||
--wp--preset--font-size--normal: 1em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-medium-font-size {
|
||||
--wp--preset--font-size--medium: 1.1em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-large-font-size {
|
||||
--wp--preset--font-size--large: 1.25em;
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper p.has-larger-font-size {
|
||||
|
||||
@ -2836,21 +2836,21 @@ h2.entry-title {
|
||||
/* Block Font Sizes -------------------------- */
|
||||
|
||||
.entry-content .has-small-font-size {
|
||||
--wp--preset--font-size--small: 0.842em;
|
||||
font-size: 0.842em;
|
||||
}
|
||||
|
||||
.entry-content .has-normal-font-size,
|
||||
.entry-content .has-regular-font-size {
|
||||
--wp--preset--font-size--normal: 1em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.entry-content .has-medium-font-size {
|
||||
--wp--preset--font-size--medium: 1.1em;
|
||||
font-size: 1.1em;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.entry-content .has-large-font-size {
|
||||
--wp--preset--font-size--large: 1.25em;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
|
||||
@ -2854,21 +2854,21 @@ h2.entry-title {
|
||||
/* Block Font Sizes -------------------------- */
|
||||
|
||||
.entry-content .has-small-font-size {
|
||||
--wp--preset--font-size--small: 0.842em;
|
||||
font-size: 0.842em;
|
||||
}
|
||||
|
||||
.entry-content .has-normal-font-size,
|
||||
.entry-content .has-regular-font-size {
|
||||
--wp--preset--font-size--normal: 1em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.entry-content .has-medium-font-size {
|
||||
--wp--preset--font-size--medium: 1.1em;
|
||||
font-size: 1.1em;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.entry-content .has-large-font-size {
|
||||
--wp--preset--font-size--large: 1.25em;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user