Bundled Themes: Support font size option for code block.
Adds font-size support to Twenty Fourteen, Twenty Sixteen, and Twenty Seventeen. Props poena, paaljoachim, peterwilsoncc. Fixes #52431. Built from https://develop.svn.wordpress.org/trunk@50347 git-svn-id: http://core.svn.wordpress.org/trunk@49958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec38e1434a
commit
0e7386521b
wp-content/themes
twentyfourteen/css
twentyseventeen/assets/css
twentysixteen/css
wp-includes
|
@ -168,6 +168,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-code code {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Pullquote */
|
/* Pullquote */
|
||||||
|
|
||||||
.wp-block-pullquote {
|
.wp-block-pullquote {
|
||||||
|
|
|
@ -357,6 +357,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .wp-block-code code {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Pullquote */
|
/* Pullquote */
|
||||||
|
|
||||||
.wp-block-pullquote {
|
.wp-block-pullquote {
|
||||||
|
|
|
@ -149,6 +149,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-code code {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Pullquote */
|
/* Pullquote */
|
||||||
|
|
||||||
.wp-block-pullquote {
|
.wp-block-pullquote {
|
||||||
|
|
|
@ -622,6 +622,10 @@ html[lang="th"] .edit-post-visual-editor * {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .wp-block-code code {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Classic */
|
/* Classic */
|
||||||
|
|
||||||
.wp-block-freeform.block-library-rich-text__tinymce li,
|
.wp-block-freeform.block-library-rich-text__tinymce li,
|
||||||
|
|
|
@ -145,12 +145,14 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||||
.wp-block-code {
|
.wp-block-code {
|
||||||
border: 0;
|
border: 0;
|
||||||
font-family: Inconsolata, monospace;
|
font-family: Inconsolata, monospace;
|
||||||
font-size: 16px;
|
|
||||||
font-size: 1rem;
|
|
||||||
line-height: 1.75;
|
line-height: 1.75;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-code code {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Pullquote */
|
/* Pullquote */
|
||||||
|
|
||||||
.wp-block-pullquote {
|
.wp-block-pullquote {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.7-beta2-50346';
|
$wp_version = '5.7-beta2-50347';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue