mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 18:48:18 +01:00
Multiple themes: Fixes Code block not adjusting to font size changes.
This resolves the Code block not changing when the font sizes are switched in Twenty Eleven and Twenty Twelve. The solution is the same as used for other code block adjustments for font sizes. Props viralsampat, sabernhardt. Fixes #61753. git-svn-id: https://develop.svn.wordpress.org/trunk@58816 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
916a992530
commit
a3e07a2ec0
@ -119,6 +119,9 @@ pre {
|
||||
code, kbd, samp, var {
|
||||
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
}
|
||||
abbr, acronym, dfn {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
|
@ -408,6 +408,9 @@ pre {
|
||||
code, kbd, samp, var {
|
||||
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
}
|
||||
abbr, acronym, dfn {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
|
@ -157,6 +157,9 @@ var {
|
||||
font-size: 0.857142857rem;
|
||||
line-height: 2;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
}
|
||||
abbr,
|
||||
acronym,
|
||||
dfn {
|
||||
|
@ -903,6 +903,7 @@ article.sticky .featured-post {
|
||||
.entry-content pre code,
|
||||
.comment-content pre code {
|
||||
display: block;
|
||||
font-size: inherit;
|
||||
}
|
||||
.entry-content abbr,
|
||||
.comment-content abbr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user