Make WordPress Core

Ticket #24308: 24308.7.diff

File 24308.7.diff, 1.4 KB (added by obenland, 13 years ago)

Takes a different approach to avoid magic numbers.

  • wp-content/themes/twentythirteen/css/editor-style.css

     
    394394/* Audio */
    395395.post-format-audio {
    396396        background-color: #db572f;
    397         padding-left: 120px;
    398397}
    399398
    400399.post-format-audio a {
     
    404403.post-format-audio:before {
    405404        background: url(../images/dotted-line.png) repeat-y 85px 0;
    406405        background-size: 4px 4px;
    407         -webkit-font-smoothing: antialiased;
    408         font-family: Genericons;
    409         font-size: 64px;
    410406        content: "\f109";
    411         float: left;
    412         width: 120px;
    413407        display: block;
     408        float: left;
     409        font-family: Genericons;
     410        font-size: 64px;
     411        -webkit-font-smoothing: antialiased;
    414412        height: 100%;
    415         position: absolute;
    416         left: 0;
    417         top: 4px;
     413        line-height: 1;
     414        width: 120px;
    418415}
    419416
    420417/* Chat */
     
    507504        background-size: 4px 4px;
    508505        content: "";
    509506        display: block;
     507        float: left;
    510508        height: 100%;
    511         position: absolute;
    512         left: 15px;
    513         top: 0;
     509        position: relative;
     510        left: -30px;
    514511        width: 1px;
    515512}
    516513
     
    565562.rtl blockquote blockquote {
    566563        margin-left: 0;
    567564        margin-right: 24px;
    568 }
    569  No newline at end of file
     565}
     566
     567.rtl.post-format-audio:before,
     568.rtl.post-format-status:before,
     569.rtl.post-format-status > p:first-child:before {
     570        background: none;
     571        content: none;
     572}