Make WordPress Core

Ticket #21376: 21376.5.diff

File 21376.5.diff, 2.4 KB (added by obenland, 13 years ago)
  • wp-content/themes/twentytwelve/editor-style.css

     
    1 /*
    2 Theme Name: Twenty Twelve
    3 Description: Used to style the TinyMCE editor.
    4 */
     1/**
     2 * Theme Name: Twenty Twelve
     3 * Description: Used to style the TinyMCE editor.
     4 */
    55
    66html {
    77        font-size: 87.5%;
     
    1919        vertical-align: baseline;
    2020}
    2121
    22 /* Headings */
     22/**
     23 * 1.0 Headings
     24 */
    2325h1,
    2426h2,
    2527h3,
     
    7173        margin: 0 0 24px;
    7274        margin: 0 0 1.714285714rem;
    7375}
    74 ul, ol {
     76ul,
     77ol {
    7578        margin: 0 0 24px;
    7679        margin: 0 0 1.714285714rem;
    7780        line-height: 1.714285714;
     
    8386ol {
    8487        list-style: decimal outside;
    8588}
    86 ul ul, ol ol, ul ol, ol ul {
     89ul ul,
     90ol ol,
     91ul ol,
     92ol ul {
    8793        margin-bottom: 0;
    8894}
    8995li {
     
    107113strong {
    108114        font-weight: bold;
    109115}
    110 cite, em, i {
     116cite,
     117em,
     118i {
    111119        font-style: italic;
    112120}
    113121cite {
     
    136144        padding: 24px;
    137145        padding: 1.714285714rem;
    138146}
    139 code, kbd, samp, var {
     147code,
     148kbd,
     149samp,
     150var {
    140151        font-family: Consolas, Monaco, Lucida Console, monospace;
    141152        font-size: 12px;
    142153        font-size: 0.857142857rem;
    143154        line-height: 2;
    144155}
    145 abbr, acronym, dfn {
     156abbr,
     157acronym,
     158dfn {
    146159        border-bottom: 1px dotted #666;
    147160        cursor: help;
    148161}
     
    174187sub {
    175188        bottom: -0.25em;
    176189}
    177 input[type=text] {
     190input[type="text"] {
    178191        border: 1px solid #ccc;
    179192        border-radius: 3px;
    180193        font-family: inherit;
     
    193206        width: 96%;
    194207}
    195208
    196 /* Links */
     209/**
     210 * 3.0 Links
     211 */
    197212a,
    198213a em,
    199214a strong {
    200215        color: #21759b;
    201216        outline: none;
    202217}
     218
    203219a:focus,
    204220a:active,
    205221a:hover {
    206222        color: #0f3647;
    207223}
    208224
    209 /* Alignment */
     225/**
     226 * 4.0 Alignment
     227 */
    210228.alignleft {
    211229        display: inline;
    212230        float: left;
     231        margin: 12px 24px 12px 0;
     232        margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
    213233}
    214234.alignright {
    215235        display: inline;
     
    226246        margin-bottom: 0.857142857rem;
    227247}
    228248
    229 /* Tables */
     249/**
     250 * 5.0 Tables
     251 */
    230252table {
    231253        border-bottom: 1px solid #ededed;
    232254        border-collapse: collapse;
     
    257279        text-align: left;
    258280}
    259281
    260 /* Images */
     282/**
     283 * 5.0 Images
     284 */
    261285img {
    262286        border: 0;
    263287        border-radius: 3px;
     
    271295        height: auto;
    272296        max-width: 100%;
    273297}
    274 img.alignleft {
    275         margin: 12px 24px 12px 0;
    276         margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
    277 }
    278298img[class*="align"],
    279299img[class*="wp-image-"],
    280300img[class*="attachment-"] {