mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@50347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c3bf0a2fec
commit
caffd32f52
@ -168,6 +168,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-code code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote {
|
||||
|
||||
@ -357,6 +357,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-code code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote {
|
||||
|
||||
@ -149,6 +149,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-code code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote {
|
||||
|
||||
@ -622,6 +622,10 @@ html[lang="th"] .edit-post-visual-editor * {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-code code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Classic */
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce li,
|
||||
|
||||
@ -145,12 +145,14 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
.wp-block-code {
|
||||
border: 0;
|
||||
font-family: Inconsolata, monospace;
|
||||
font-size: 16px;
|
||||
font-size: 1rem;
|
||||
line-height: 1.75;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-code code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user