Make WordPress Core

Changeset 24512


Ignore:
Timestamp:
06/25/2013 09:10:37 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: add editor styles for post formats back in. Props celloexpressions, closes #24308.

File:
1 edited

Legend:

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

    r24404 r24512  
    1515 * 6.0 - Tables
    1616 * 7.0 - Images
    17  * 8.0 - RTL
     17 * 8.0 - Post Formats
     18 * 9.0 - RTL
    1819 * ----------------------------------------------------------------------------
    1920 */
     
    367368
    368369/**
    369  * 8.0 RTL
     370 * 8.0 Post Formats
     371 * ----------------------------------------------------------------------------
     372 */
     373
     374/* Aside */
     375.post-format-aside {
     376    background-color: #f7f5e7;
     377}
     378
     379.post-format-aside blockquote {
     380    font-size: 100%;
     381    font-weight: normal;
     382}
     383
     384.post-format-aside cite {
     385    font-size: 100%;
     386    text-transform: none;
     387}
     388
     389.post-format-aside cite:before {
     390    content: "\2014";
     391    margin-right: 5px;
     392}
     393
     394/* Audio */
     395.post-format-audio {
     396    background-color: #db572f;
     397    padding-left: 120px;
     398}
     399
     400.post-format-audio a {
     401    color: #fbfaf3;
     402}
     403
     404.post-format-audio:before {
     405    background: url(../images/dotted-line.png) repeat-y 85px 0;
     406    background-size: 4px 4px;
     407    -webkit-font-smoothing: antialiased;
     408    font-family: Genericons;
     409    font-size: 64px;
     410    content: "\f109";
     411    float: left;
     412    width: 120px;
     413    display: block;
     414    height: 100%;
     415    position: absolute;
     416    left: 0;
     417    top: 4px;
     418}
     419
     420/* Chat */
     421.post-format-chat {
     422    background-color: #eadaa6;
     423}
     424
     425.post-format-chat a {
     426    color: #722d19;
     427}
     428
     429/* Gallery */
     430.post-format-gallery {
     431    background-color: #fbca3c;
     432}
     433
     434.post-format-gallery a {
     435    color: #722d19;
     436}
     437
     438/* Image: same as Standard/Defaults */
     439
     440/* Link */
     441.post-format-link {
     442    background-color: #f7f5e7;
     443}
     444
     445/* Quote */
     446.post-format-quote {
     447    background-color: #210d10;
     448    color: #f7f5e7;
     449}
     450
     451.post-format-quote a {
     452    color: #e63f2a;
     453}
     454
     455.post-format-quote blockquote {
     456    font-size: 28px;
     457    font-style: italic;
     458    font-weight: 300;
     459    margin: 0;
     460    padding-left: 75px;
     461    position: relative;
     462}
     463
     464.post-format-quote blockquote:before {
     465    content: '\201C';
     466    font-size: 140px;
     467    font-weight: 400;
     468    line-height: .8;
     469    padding-right: 25px;
     470    position: absolute;
     471    left: -15px;
     472    top: -3px;
     473}
     474
     475.post-format-quote blockquote small,
     476.post-format-quote blockquote cite {
     477    display: block;
     478    font-size: 16px;
     479}
     480
     481.format-quote .entry-content cite a {
     482    border-bottom: 1px dotted #fff;
     483    color: #fff;
     484}
     485
     486.format-quote .entry-content cite a:hover {
     487    text-decoration: none;
     488}
     489
     490
     491/* Status */
     492.post-format-status {
     493    background-color: #722d19;
     494    color: #f7f5e7;
     495    font-style: italic;
     496    font-weight: 300;
     497    padding: 0;
     498    padding-left: 35px;
     499}
     500
     501.post-format-status.mceContentBody {
     502    font-size: 24px;
     503}
     504
     505.post-format-status:before {
     506    background: url(../images/dotted-line.png) repeat-y left bottom;
     507    background-size: 4px 4px;
     508    content: "";
     509    display: block;
     510    height: 100%;
     511    position: absolute;
     512    left: 15px;
     513    top: 0;
     514    width: 1px;
     515}
     516
     517.post-format-status p:first-child:before {
     518    background-color: rgba(0, 0, 0, 0.65);
     519    content: "";
     520    height: 3px;
     521    width: 13px;
     522    margin-top: 13px;
     523    position: absolute;
     524    left: 9px;
     525}
     526
     527.post-format-status a {
     528    color: #eadaa6;
     529}
     530
     531/* Video */
     532.post-format-video {
     533    background-color: #db572f;
     534}
     535
     536.post-format-video a {
     537    color: #fbfaf3;
     538}
     539
     540/**
     541 * 9.0 RTL
    370542 * ----------------------------------------------------------------------------
    371543 */
Note: See TracChangeset for help on using the changeset viewer.