Make WordPress Core

Ticket #25946: 25946.14.diff

File 25946.14.diff, 7.5 KB (added by iamtakashi, 12 years ago)
  • wp-content/themes/twentyfourteen/css/editor-style.css

     
    3232body {
    3333        color: #2b2b2b;
    3434        font-family: Lato, sans-serif;
     35        font-weight: 400;
    3536        line-height: 1.5;
    36         text-rendering: optimizeLegibility;
    3737        vertical-align: baseline;
    3838}
    3939
     
    5151h6 {
    5252        clear: both;
    5353        font-weight: 700;
    54         margin: 0 0 12px;
     54        margin: 36px 0 12px;
    5555}
    5656
    5757h1 {
    58         font-size: 33px;
    59         line-height: 1.0909090909;
     58        font-size: 26px;
     59        line-height: 1.3846153846;
    6060}
    6161
    6262h2 {
    63         font-size: 30px;
    64         line-height: 1.2;
     63        font-size: 24px;
     64        line-height: 1;
    6565}
    6666
    6767h3 {
    68         font-size: 26px;
    69         line-height: 1.3846153846;
     68        font-size: 22px;
     69        line-height: 1.0909090909;
    7070}
    7171
    7272h4 {
    73         font-size: 22px;
    74         line-height: 1.0909090909;
     73        font-size: 20px;
     74        line-height: 1.2;
    7575}
    7676
    7777h5 {
     
    8484        line-height: 1.5;
    8585}
    8686
    87 hr {
    88         background-color: rgba(0, 0, 0, 0.1);
    89         border: 0;
    90         height: 1px;
    91         margin-bottom: 23px;
     87h1:first-child,
     88h2:first-child,
     89h3:first-child,
     90h4:first-child,
     91h5:first-child,
     92h6:first-child {
     93        margin-top: 0;
    9294}
    9395
    9496
     
    9799 * ----------------------------------------------------------------------------
    98100 */
    99101
    100 p {
    101         margin: 0 0 24px;
     102address {
     103        font-style: italic;
     104        margin-bottom: 24px;
    102105}
    103106
    104 ol,
    105 ul {
    106         margin: 0 0 24px 22px;
    107         padding-left: 0;
     107abbr[title] {
     108        border-bottom: 1px dotted #2b2b2b;
     109        cursor: help;
    108110}
    109111
    110 ul {
    111         list-style-type: disc;
     112b,
     113strong {
     114        font-weight: 700;
    112115}
    113116
    114 ol {
    115         list-style: decimal;
     117cite {
     118        border: 0;
    116119}
    117120
    118 li > ul,
    119 li > ol {
    120         margin-bottom: 0;
    121         margin-left: 20px;
     121cite,
     122dfn,
     123em,
     124i {
     125        font-style: italic;
    122126}
    123127
    124 dl {
    125         margin: 0 20px;
     128mark,
     129ins {
     130        background: #fff9c0;
     131        text-decoration: none;
    126132}
    127133
    128 dt {
    129         font-weight: bold;
    130 }
    131 
    132 dd {
     134p {
    133135        margin: 0 0 24px;
    134136}
    135137
    136 strong {
    137         font-weight: bold;
    138 }
    139 
    140138code,
    141139kbd,
    142140tt,
    143141var,
    144 samp {
    145         font: 15px/1.6 Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
     142samp,
     143pre {
     144        font-family: monospace, serif;
     145        font-size: 15px;
     146        line-height: 1.6;
    146147}
    147148
    148149pre {
    149         background: #eee;
    150         font-family: 'Courier 10 Pitch', Courier, monospace;
    151         font-size: 15px;
    152         line-height: 1.6;
     150        border: 1px solid rgba(0, 0, 0, 0.1);
    153151        margin-bottom: 24px;
    154152        max-width: 100%;
    155153        overflow: auto;
    156154        padding: 12px;
     155        white-space: pre;
     156        white-space: pre-wrap;
     157        word-wrap: break-word;
    157158}
    158159
    159160blockquote,
     
    170171}
    171172
    172173blockquote {
     174        color: #767676;
     175        font-size: 19px;
    173176        font-style: italic;
    174177        font-weight: 300;
     178        line-height: 1.2631578947;
    175179        margin: 0 0 24px;
    176180}
    177181
    178 blockquote em, blockquote i, blockquote cite {
    179         font-style: normal;
    180 }
    181 
    182 blockquote p {
    183         color: #767676;
    184         font-size: 19px;
    185         line-height: 1.2631578947;
    186 }
    187 
    188182blockquote cite,
    189183blockquote small {
    190184        color: #2b2b2b;
     
    193187        line-height: 1.5;
    194188}
    195189
    196 blockquote.pull p {
    197         margin-bottom: 17px;
     190blockquote em,
     191blockquote i,
     192blockquote cite {
     193        font-style: normal;
    198194}
    199195
    200 blockquote.pull.alignleft,
    201 blockquote.pull.alignright {
    202         border-top: 1px solid rgba(0, 0, 0, 0.1);
    203         border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    204         padding-top: 17px;
    205         width: 50%;
     196blockquote strong,
     197blockquote b {
     198        font-weight: 400;
    206199}
    207200
    208 blockquote.pull.alignleft {
    209         margin: 7px 24px 7px 0;
     201small {
     202        font-size: smaller;
    210203}
    211204
    212 blockquote.pull.alignright {
    213         margin: 7px 0 7px 24px;
     205big {
     206        font-size: 125%;
    214207}
    215208
    216 blockquote blockquote {
    217         margin-right: 0;
     209sup,
     210sub {
     211        font-size: 75%;
     212        height: 0;
     213        line-height: 0;
     214        position: relative;
     215        vertical-align: baseline;
    218216}
    219217
    220 cite {
    221         border-bottom: 0;
     218sup {
     219        bottom: 1ex;
    222220}
    223221
    224 abbr[title] {
    225         border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
     222sub {
     223        top: .5ex;
    226224}
    227225
    228 address {
    229         font-style: normal;
     226dl {
    230227        margin: 0 0 24px;
    231228}
    232229
    233 del {
    234         color: #333;
     230dt {
     231        font-weight: bold;
    235232}
    236233
    237 ins {
    238         background: #fff9c0;
    239         border: none;
    240         color: #333;
    241         text-decoration: none;
     234dd {
     235        margin: 0 0 24px;
    242236}
    243237
    244 sub,
    245 sup {
    246         font-size: 75%;
    247         line-height: 0;
    248         position: relative;
    249         vertical-align: baseline;
     238ul,
     239ol {
     240        list-style: none;
     241        margin: 0 0 24px 20px;
     242        padding-left: 0;
    250243}
    251244
    252 sup {
    253         bottom: 1ex;
     245ul {
     246        list-style: disc;
    254247}
    255248
    256 sub {
    257         top: .5ex;
     249ol {
     250        list-style: decimal;
    258251}
    259252
     253li > ul,
     254li > ol {
     255        margin: 0 0 0 20px;
     256}
    260257
     258del {
     259        color: #767676;
     260}
     261
     262hr {
     263        background-color: rgba(0, 0, 0, 0.1);
     264        border: 0;
     265        height: 1px;
     266        margin-bottom: 23px;
     267}
     268
     269
    261270/**
    262271 * 4.0 Links
    263272 * ----------------------------------------------------------------------------
     
    278287
    279288a:active,
    280289a:hover {
    281         color: #55d737;
     290        color: #41a62a;
    282291        outline: 0;
    283292}
    284293
     294
    285295/**
    286296 * 5.0 Alignment
    287297 * ----------------------------------------------------------------------------
     
    289299
    290300.alignleft {
    291301        float: left;
    292         margin-right: 24px;
     302        margin: 7px 24px 7px 0;
    293303}
    294304
    295305.alignright {
    296306        float: right;
    297         margin-left: 24px;
     307        margin: 7px 0 7px 24px;
    298308}
    299309
    300310.aligncenter {
    301311        clear: both;
    302312        display: block;
    303         margin: 0 auto;
     313        margin: 7px auto;
    304314}
    305315
    306 img.alignnone {
    307         margin: 5px 0;
     316blockquote.alignleft,
     317blockquote.alignright {
     318        border-top: 1px solid rgba(0, 0, 0, 0.1);
     319        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
     320        padding-top: 17px;
     321        width: 50%;
    308322}
    309323
     324blockquote.alignleft p,
     325blockquote.alignright p {
     326        margin-bottom: 17px;
     327}
    310328
     329
    311330/**
    312331 * 6.0 Tables
    313332 * ----------------------------------------------------------------------------
    314333 */
    315334
    316 table {
     335.mceItemTable {
    317336        border: 1px solid rgba(0, 0, 0, 0.1);
    318         border-collapse: collapse;
     337        border-width: 1px 0 0 1px;
     338        border-collapse: separate;
    319339        border-spacing: 0;
    320340        font-size: 14px;
    321341        line-height: 1.2857142857;
     
    323343        width: 100%;
    324344}
    325345
    326 caption,
    327 th {
    328         border-right: 1px solid rgba(0, 0, 0, 0.1);
     346.mceItemTable th,
     347.mceItemTable caption {
     348        border: 1px solid rgba(0, 0, 0, 0.1);
     349        border-width: 0 1px 1px 0;
    329350        font-weight: 700;
    330351        padding: 8px;
     352        text-align: left;
    331353        text-transform: uppercase;
     354        vertical-align: baseline;
    332355}
    333356
    334 td {
    335         border-top: 1px solid rgba(0, 0, 0, 0.1);
    336         border-right: 1px solid rgba(0, 0, 0, 0.1);
     357.mceItemTable td {
     358        border: 1px solid rgba(0, 0, 0, 0.1);
     359        border-width: 0 1px 1px 0;
     360        font-family: Lato, sans-serif;
     361        font-size: 14px;
    337362        padding: 8px;
     363        vertical-align: baseline;
    338364}
    339365
     366
    340367/**
    341368 * 7.0 Images
    342369 * ----------------------------------------------------------------------------
     
    351378.wp-caption {
    352379        background: transparent;
    353380        border: none;
     381        color: #767676;
    354382        margin: 0 0 24px 0;
     383        max-width: 474px;
    355384        padding: 0;
    356385        text-align: left;
    357         max-width: 474px;
    358386}
    359387
    360388.wp-caption.alignleft {
    361         margin: 7px 24px 7px 0;
     389        margin: 7px 14px 7px 0;
    362390}
    363391
    364392.wp-caption.alignright {
    365         margin: 7px 0 7px 24px;
     393        margin: 7px 0 7px 14px;
    366394}
    367395
    368396.wp-caption.aligncenter {
     
    375403
    376404.wp-caption .wp-caption-text,
    377405.wp-caption-dd {
     406        -webkit-box-sizing: border-box;
    378407        -moz-box-sizing: border-box;
    379408        box-sizing: border-box;
    380409        font-size: 12px;
    381410        font-style: italic;
    382         line-height: 1.6666666666;
    383         margin: 4px 0;
     411        line-height: 1.5;
     412        margin: 9px 0;
    384413        padding: 0 10px 0 0; /* Avoid the caption to overflow the width of the image because wp-caption has 10px wider width */
    385414        text-align: left;
    386415}
     
    390419        list-style-position: inside;
    391420}
    392421
     422
    393423/**
    394424 * 8.0 RTL
    395425 * ----------------------------------------------------------------------------
     
    406436        margin-right: 24px;
    407437}
    408438
    409 .rtl blockquote.pull.alignleft {
    410         margin-left: 24px;
    411         margin-right: 0;
    412 }
    413 
    414 .rtl blockquote.pull.alignright {
    415         margin-left: 0;
    416         margin-right: 24px;
    417 }
    418 
    419439.rtl .wp-caption,
    420440.rtl tr th {
    421441        text-align: right;