Make WordPress Core

Changeset 21409


Ignore:
Timestamp:
08/02/2012 09:06:03 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: update editor stylesheet, props obenland. See #21376.

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

Legend:

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

    r21406 r21409  
    1 /*
    2 Theme Name: Twenty Twelve
    3 Description: Used to style the TinyMCE editor.
     1/**
     2* Theme Name: Twenty Twelve
     3* Description: Used to style the TinyMCE editor.
    44*/
    55
     
    2020}
    2121
    22 /* Headings */
     22
     23/* =Headings
     24-------------------------------------------------------------- */
     25
    2326h1,
    2427h2,
     
    6669}
    6770
    68 /* Text elements */
     71
     72/* =Text elements
     73-------------------------------------------------------------- */
     74
    6975p {
    7076    line-height: 1.714285714;
     
    7278    margin: 0 0 1.714285714rem;
    7379}
    74 ul, ol {
     80ul,
     81ol {
    7582    margin: 0 0 24px;
    7683    margin: 0 0 1.714285714rem;
     
    8491    list-style: decimal outside;
    8592}
    86 ul ul, ol ol, ul ol, ol ul {
     93ul ul,
     94ol ol,
     95ul ol,
     96ol ul {
    8797    margin-bottom: 0;
    8898}
     
    108118    font-weight: bold;
    109119}
    110 cite, em, i {
     120cite,
     121em,
     122i {
    111123    font-style: italic;
    112124}
     
    137149    padding: 1.714285714rem;
    138150}
    139 code, kbd, samp, var {
     151code,
     152kbd,
     153samp,
     154var {
    140155    font-family: Consolas, Monaco, Lucida Console, monospace;
    141156    font-size: 12px;
     
    143158    line-height: 2;
    144159}
    145 abbr, acronym, dfn {
     160abbr,
     161acronym,
     162dfn {
    146163    border-bottom: 1px dotted #666;
    147164    cursor: help;
     
    175192    bottom: -0.25em;
    176193}
    177 input[type=text] {
     194input[type="text"] {
    178195    border: 1px solid #ccc;
    179196    border-radius: 3px;
     
    194211}
    195212
    196 /* Links */
     213
     214/* =Links
     215-------------------------------------------------------------- */
     216
    197217a,
    198218a em,
     
    207227}
    208228
    209 /* Alignment */
     229
     230/* =Alignment
     231-------------------------------------------------------------- */
     232
    210233.alignleft {
    211234    display: inline;
    212235    float: left;
     236    margin: 12px 24px 12px 0;
     237    margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
    213238}
    214239.alignright {
     
    227252}
    228253
    229 /* Tables */
     254
     255/* =Tables
     256-------------------------------------------------------------- */
     257
    230258table {
    231259    border-bottom: 1px solid #ededed;
     
    258286}
    259287
    260 /* Images */
     288
     289/* =Images
     290-------------------------------------------------------------- */
     291
    261292img {
    262293    border: 0;
     
    271302    height: auto;
    272303    max-width: 100%;
    273 }
    274 img.alignleft {
    275     margin: 12px 24px 12px 0;
    276     margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
    277304}
    278305img[class*="align"],
  • trunk/wp-content/themes/twentytwelve/style.css

    r21408 r21409  
    6363    line-height: 1;
    6464}
    65 ol, ul {
     65ol,
     66ul {
    6667    list-style: none;
    6768}
    68 blockquote, q {
     69blockquote,
     70q {
    6971    quotes: none;
    7072}
Note: See TracChangeset for help on using the changeset viewer.