Make WordPress Core

Ticket #61753: 61753.patch

File 61753.patch, 1.8 KB (added by sabernhardt, 5 months ago)

inherit font size when code is inside pre

  • src/wp-content/themes/twentyeleven/editor-style.css

     
    119119code, kbd, samp, var {
    120120        font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    121121}
     122pre code {
     123        font-size: inherit;
     124}
    122125abbr, acronym, dfn {
    123126        border-bottom: 1px dotted #666;
    124127        cursor: help;
  • src/wp-content/themes/twentyeleven/style.css

     
    408408code, kbd, samp, var {
    409409        font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    410410}
     411pre code {
     412        font-size: inherit;
     413}
    411414abbr, acronym, dfn {
    412415        border-bottom: 1px dotted #666;
    413416        cursor: help;
  • src/wp-content/themes/twentytwelve/editor-style.css

     
    157157        font-size: 0.857142857rem;
    158158        line-height: 2;
    159159}
     160pre code {
     161        font-size: inherit;
     162}
    160163abbr,
    161164acronym,
    162165dfn {
  • src/wp-content/themes/twentytwelve/style.css

     
    903903.entry-content pre code,
    904904.comment-content pre code {
    905905        display: block;
     906        font-size: inherit;
    906907}
    907908.entry-content abbr,
    908909.comment-content abbr,