Make WordPress Core

Changeset 24153


Ignore:
Timestamp:
05/01/2013 05:50:55 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: avoid hyphenating post and page titles (and other unintended consequences) by moving word-breaking and hyphenation rules to only apply specifically to post/page content and widgets. Fixes #24231.

Location:
trunk/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/css/editor-style.css

    r24152 r24153  
    1111body {
    1212    font-family: "Source Sans Pro", Helvetica, sans-serif;
    13     -webkit-hyphens: auto;
    14     -moz-hyphens:    auto;
    15     -ms-hyphens:     auto;
    16     hyphens: auto;
    1713    color: #141412;
    1814    line-height: 1.5;
     
    127123    font-family: monospace, serif;
    128124    font-size: 14px;
    129     -webkit-hyphens: auto;
    130     -moz-hyphens:    auto;
    131     -ms-hyphens:     auto;
    132     hyphens: none;
    133125}
    134126
     
    148140blockquote,
    149141q {
    150     -webkit-hyphens: auto;
    151     -moz-hyphens:    auto;
    152     -ms-hyphens:     auto;
    153     hyphens: none;
    154142    quotes: none;
    155143}
  • trunk/wp-content/themes/twentythirteen/style.css

    r24152 r24153  
    108108
    109109body {
    110     -webkit-hyphens: auto;
    111     -moz-hyphens:    auto;
    112     -ms-hyphens:     auto;
    113     hyphens:         auto;
    114110    color: #141412;
    115111    line-height: 1.5;
     
    10231019.hentry {
    10241020    padding: 40px 0;
    1025     word-wrap: break-word;
    10261021}
    10271022
     
    11541149 * ----------------------------------------------------------------------------
    11551150 */
     1151
     1152.entry-content {
     1153    -webkit-hyphens: auto;
     1154    -moz-hyphens:    auto;
     1155    -ms-hyphens:     auto;
     1156    hyphens:         auto;
     1157    word-wrap: break-word;
     1158}
    11561159
    11571160.entry-content a,
     
    25472550.widget {
    25482551    background-color: rgba(247, 245, 231, 0.7);
     2552    -webkit-hyphens: auto;
     2553    -moz-hyphens:    auto;
     2554    -ms-hyphens:     auto;
     2555    hyphens:         auto;
    25492556    font-size: 14px;
    25502557    margin: 0 0 24px;
    25512558    padding: 20px;
     2559    word-wrap: break-word;
    25522560}
    25532561
Note: See TracChangeset for help on using the changeset viewer.