Make WordPress Core

Changeset 24308


Ignore:
Timestamp:
05/20/2013 10:18:09 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: first pass to add post format visual styles to visual editor. Props celloexpressions and obenland, see #24308 and #24298.

File:
1 edited

Legend:

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

    r24287 r24308  
    343343        padding: 0;
    344344}
     345
     346/**
     347 * Post Formats
     348 * ----------------------------------------------------------------------------
     349 */
     350
     351/* Aside */
     352.post-format-aside {
     353        background-color: #f7f5e7;
     354}
     355
     356.post-format-aside blockquote {
     357        font-size: 100%;
     358        font-weight: normal;
     359}
     360
     361.post-format-aside cite {
     362        font-size: 100%;
     363        text-transform: none;
     364}
     365
     366.post-format-aside cite:before {
     367        content: "\2014";
     368        margin-right: 5px;
     369}
     370
     371/* Audio */
     372.post-format-audio {
     373        background-color: #db572f;
     374}
     375
     376.post-format-audio a {
     377        color: #fbfaf3;
     378}
     379
     380/* Chat */
     381.post-format-chat {
     382        background-color: #eadaa6;
     383}
     384
     385.post-format-chat a {
     386        color: #722d19;
     387}
     388
     389/* Gallery */
     390.post-format-gallery {
     391        background-color: #fbca3c;
     392}
     393
     394.post-format-gallery a {
     395        color: #722d19;
     396}
     397
     398/* Image: same as Standard/Defaults */
     399
     400/* Link */
     401.post-format-link {
     402        background-color: #f7f5e7;
     403}
     404
     405/* Quote */
     406.post-format-quote {
     407        background-color: #210d10;
     408        color: #f7f5e7;
     409        font-style: italic;
     410        font-weight: 300;
     411        margin: 0;
     412        padding-left: 75px;
     413}
     414
     415.post-format-quote.mceContentBody {
     416        font-size: 28px;
     417}
     418
     419.post-format-quote:before {
     420        content: '\201C';
     421        font-size: 140px;
     422        font-weight: 400;
     423        line-height: .8;
     424        padding-right: 25px;
     425        position: absolute;
     426        left: -8px;
     427        top: -3px;
     428}
     429
     430.post-format-quote blockquote {
     431        margin: 0;
     432}
     433
     434.post-format-quote a {
     435        color: #e63f2a;
     436}
     437
     438.post-format-quote blockquote small,
     439.post-format-quote blockquote cite {
     440        display: block;
     441        font-size: 16px;
     442}
     443
     444/* Status */
     445.post-format-status {
     446        background-color: #722d19;
     447        color: #f7f5e7;
     448        font-style: italic;
     449        font-weight: 300;
     450        padding: 0;
     451        padding-left: 35px;
     452}
     453
     454.post-format-status.mceContentBody {
     455        font-size: 24px;
     456}
     457
     458.post-format-status:before {
     459        background-size: 4px 4px;
     460        background: url(../images/dotted-line.png) repeat-y left bottom;
     461        content: "";
     462        display: block;
     463        height: 100%;
     464        position: absolute;
     465        left: 15px;
     466        top: 0;
     467        width: 1px;
     468}
     469
     470.post-format-status p:first-child:before {
     471        background-color: rgba(0, 0, 0, 0.65);
     472        content: "";
     473        height: 3px;
     474        width: 13px;
     475        margin-top: 13px;
     476        position: absolute;
     477        left: 9px;
     478}
     479
     480.post-format-status a {
     481        color: #eadaa6;
     482}
     483
     484/* Video */
     485.post-format-video {
     486        background-color: #db572f;
     487}
     488
     489.post-format-video a {
     490        color: #fbfaf3;
     491}
Note: See TracChangeset for help on using the changeset viewer.