Make WordPress Core

Changeset 23674


Ignore:
Timestamp:
03/12/2013 09:18:15 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: second pass at RTL support and minor style.css fixes, props obenland. See #23550.

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

Legend:

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

    r23643 r23674  
    99
    1010/**
    11 * Table of Contents:
    12 *
    13 * 4.0 - Header
    14 * 4.2 - Navigation
    15 * 5.0 - Content
    16 * 5.2 - Entry Meta
    17 * 5.4 - Galleries
    18 * 5.7 - Post/Paging Navigation
    19 * 5.8 - Author Bio
    20 * 5.12 - Comments
    21 * 6.0 - Sidebar
    22 * 6.1 - Widgets
    23 * 7.0 - Footer
    24 * 8.0 - Media Queries
    25 * ----------------------------------------------------------------------------
    26 */
    27 
    28 /**
    29 * 4.0 Header
    30 * ----------------------------------------------------------------------------
    31 */
    32 
    33 /**
    34 * 4.1 Site Header
    35 * ----------------------------------------------------------------------------
    36 */
     11 * Table of Contents:
     12 *
     13 * 1.0 - Reset
     14 * 2.0 - Repeatable Patterns
     15 * 4.0 - Header
     16 *   4.1 - Site Header
     17 *   4.2 - Navigation
     18 * 5.0 - Content
     19 *   5.2 - Entry Meta
     20 *   5.4 - Galleries
     21 *   5.5 - Post Formats
     22 *   5.6 - Attachments
     23 *   5.7 - Post/Paging Navigation
     24 *   5.8 - Author Bio
     25 *   5.9 - Archives
     26 *   5.10 - Search Results/No posts
     27 *   5.12 - Comments
     28 * 6.0 - Sidebar
     29 *   6.1 - Widgets
     30 * 7.0 - Footer
     31 * 8.0 - Media Queries
     32 * 9.0 - Print
     33 * ----------------------------------------------------------------------------
     34 */
     35
     36
     37/**
     38 * 1.0 Reset
     39 * ----------------------------------------------------------------------------
     40 */
     41
     42body {
     43    direction: rtl;
     44    unicode-bidi: embed;
     45}
     46
     47a {
     48    display: inline-block;
     49}
     50
     51blockquote blockquote {
     52    margin-left: 0;
     53    margin-right: 24px;
     54}
     55
     56menu,
     57ol,
     58ul {
     59    padding: 0 40px 0 0;
     60}
     61
     62caption,
     63th,
     64td {
     65    text-align: right;
     66}
     67
     68td {
     69    padding-left: 10px;
     70    padding-right: 0;
     71}
     72.assistive-text:hover,
     73.assistive-text:active,
     74.assistive-text:focus {
     75    left: auto;
     76    right: 5px;
     77}
     78
     79
     80/**
     81 * 2.0 Repeatable patterns
     82 * ----------------------------------------------------------------------------
     83 */
     84
     85.genericon:after,
     86.menu-toggle:before,
     87.featured-post:after,
     88.date a:after,
     89.entry-meta .author a:after,
     90.format-audio .entry-content:after,
     91.comments-link a:after,
     92.tags-links a:first-child:after,
     93.categories-links a:first-child:after,
     94.edit-link a:after,
     95.attachment .entry-title:after,
     96.attachment-meta:after,
     97.attachment-meta a:after,
     98.comment-awaiting-moderation:after,
     99.comment-reply-link:after,
     100#reply-title small a:after,
     101.bypostauthor .fn:after,
     102.error404 .page-title:after {
     103    -webkit-font-smoothing: antialiased;
     104    font: normal 16px/1 Genericons;
     105    vertical-align: text-bottom;
     106}
     107
     108
     109/**
     110 * 4.0 Header
     111 * ----------------------------------------------------------------------------
     112 */
     113
     114/**
     115 * 4.1 Site Header
     116 * ----------------------------------------------------------------------------
     117 */
     118.site-header > a:first-child {
     119    display: inherit;
     120}
    37121
    38122.site-description {
     
    42126
    43127/**
    44 * 4.2 Navigation
    45 * ----------------------------------------------------------------------------
    46 */
     128 * 4.2 Navigation
     129 * ----------------------------------------------------------------------------
     130 */
    47131
    48132/* Navbar */
     133ul.nav-menu,
    49134div.nav-menu > ul {
    50     margin: 0;
    51     padding: 0;
     135    margin: 0 -20px 0 0;
     136    padding: 0 0 0 40px;
     137}
     138
     139.nav-menu .sub-menu,
     140.nav-menu .children {
     141    float: right;
     142    left: auto;
     143    right: -2px;
     144}
     145
     146.nav-menu .sub-menu ul,
     147.nav-menu .children ul {
     148    border-left: 2px solid #F7F5E7;
     149    border-right: 0;
     150    left: auto;
     151    right: 100%;
    52152}
    53153
     
    55155    left: 0;
    56156    right: auto;
     157}
     158
     159.site-header .searchform [type="search"] {
     160    background-position: 98% center;
     161    padding: 0 34px 0 0;
    57162}
    58163
     
    64169}
    65170
    66 
    67 /**
    68 * 5.0 Content
    69 * ----------------------------------------------------------------------------
    70 */
     171.menu-toggle {
     172    padding-left: auto;
     173    padding-right: 20px;
     174}
     175
     176
     177/**
     178 * 5.0 Content
     179 * ----------------------------------------------------------------------------
     180 */
    71181
    72182.sidebar .entry-header,
     
    74184.sidebar .entry-summary,
    75185.sidebar .entry-meta {
    76     max-width: 1040px;
     186    padding-left: 376px;
    77187    padding-right: 60px;
     188}
     189
     190
     191/**
     192 * 5.2 Entry Meta
     193 * ----------------------------------------------------------------------------
     194 */
     195
     196.entry-meta > span {
     197    margin-left: 20px;
     198    margin-right: auto;
     199}
     200
     201.entry-meta > span:last-child {
     202    margin-left: 0;
     203    margin-right: auto;
     204}
     205
     206.featured-post:before {
     207    content: normal;
     208    margin-right: auto;
     209}
     210
     211.featured-post:after {
     212    content: "\f308";
     213    margin-left: 2px;
     214}
     215
     216.entry-meta .date a:before {
     217    content: normal;
     218}
     219
     220.entry-meta .date a:after {
     221    content: "\f303";
     222}
     223
     224.comments-link a:before {
     225    content: normal;
     226    margin-left: auto;
     227    top: auto;
     228}
     229
     230.comments-link a:after {
     231    content: "\f300";
     232    margin-left: 2px;
     233    top: -1px;
     234    position: relative;
     235}
     236
     237.entry-meta .author a:before {
     238    content: normal;
     239    top: auto;
     240}
     241
     242.entry-meta .author a:after {
     243    content: "\f304";
     244    top: -1px;
     245    position: relative;
     246}
     247
     248.categories-links a:first-child:before {
     249    content: normal;
     250}
     251
     252.categories-links a:first-child:after {
     253    content: "\f301";
     254}
     255
     256.tags-links a:first-child:before {
     257    content: normal;
     258    top: auto;
     259}
     260
     261.tags-links a:first-child:after {
     262    content: "\f302";
     263    top: -1px;
     264    position: relative;
     265}
     266
     267.edit-link a:before {
     268    content: normal;
     269    top: auto;
     270}
     271
     272.edit-link a:after {
     273    content: "\f411";
     274    top: -1px;
     275    position: relative;
     276}
     277
     278.page-links .page-links-title {
     279    margin-left: 20px;
     280    margin-right: auto;
     281}
     282
     283/**
     284 * 5.4 Galleries
     285 * ----------------------------------------------------------------------------
     286 */
     287
     288.gallery {
     289    margin-left: auto;
     290    margin-right: -4px;
     291}
     292
     293.gallery-item {
     294    float: right;
     295    margin: 0 0 4px 4px;
     296}
     297
     298.gallery-item a {
     299    display: inline;
     300}
     301
     302.gallery-columns-1 .gallery-item:nth-of-type(1n),
     303.gallery-columns-2 .gallery-item:nth-of-type(2n),
     304.gallery-columns-3 .gallery-item:nth-of-type(3n),
     305.gallery-columns-4 .gallery-item:nth-of-type(4n),
     306.gallery-columns-5 .gallery-item:nth-of-type(5n),
     307.gallery-columns-6 .gallery-item:nth-of-type(6n),
     308.gallery-columns-7 .gallery-item:nth-of-type(7n),
     309.gallery-columns-8 .gallery-item:nth-of-type(8n),
     310.gallery-columns-9 .gallery-item:nth-of-type(9n) {
     311    margin-left: 0;
     312    margin-right: 4px;
     313}
     314
     315
     316/**
     317 * 5.5 Post Formats
     318 * ----------------------------------------------------------------------------
     319 */
     320
     321.format-aside .entry-content .date {
     322    margin-left: auto;
     323    margin-right: 20px;
     324}
     325
     326.format-aside .entry-content .date a:before {
     327    content: normal;
     328}
     329
     330.format-aside .entry-content .date a:after {
     331    content: "\f303";
     332}
     333
     334.format-aside cite:before {
     335    content: normal;
     336    margin-right: auto;
     337}
     338
     339.format-aside cite:after {
     340    content: "\2014";
     341    margin-left: 5px;
     342}
     343
     344.format-audio .entry-content:before {
     345    float: none;
     346    content: normal;
     347    font-size: inherit;
     348}
     349
     350.format-audio .entry-content:after {
     351    content: "\f109";
     352    font-size: 64px;
     353}
     354
     355.format-audio .audio-content {
     356    background-position: right top;
     357    float: left;
     358    padding-left: auto;
     359    padding-right: 35px;
     360}
     361
     362.format-chat .entry-meta .date a:before {
     363    content: normal;
     364    margin-right: auto;
     365}
     366
     367.format-chat .entry-meta .date a:after {
     368    content: "\f108";
     369    margin-left: 2px;
     370}
     371
     372.blog .format-gallery .gallery-item,
     373.archive .format-gallery .gallery-item,
     374.search .format-gallery .gallery-item {
     375    margin-left: 4px;
     376    margin-right: auto;
     377}
     378.blog .format-gallery .gallery-item img,
     379.archive .format-gallery .gallery-item img,
     380.search .format-gallery .gallery-item img {
     381    position: absolute;
     382    left: 0;
     383}
     384
     385.format-image .wp-caption-text {
     386    text-align: right;
     387}
     388
     389.format-link .entry-title {
     390    margin-left: 20px;
     391    margin-right: auto;
     392}
     393
     394.format-status .entry-content,
     395.format-status .entry-meta {
     396    padding-left: auto;
     397    padding-right: 35px;
     398}
     399
     400.sidebar .format-status .entry-content,
     401.sidebar .format-status .entry-meta {
    78402    padding-left: 376px;
    79 }
    80 
    81 /**
    82 * 5.2 Entry Meta
    83 * ----------------------------------------------------------------------------
    84 */
    85 
    86 .entry-meta > span {
    87     display: inline-block;
    88     margin-right: 0;
    89     margin-left: 20px;
    90 }
    91 
    92 .entry-meta > span:last-child {
    93     margin-right: auto;
    94     margin-left: 0;
    95 }
    96 
    97 .comments-link a:before {
    98     float: right;
    99     margin-right: auto;
    100     margin-left: 2px;
    101 }
    102 
    103 .categories-links a:first-child:before,
    104 .edit-link a:before {
    105     float: right;
    106 }
    107 
    108 /**
    109 * 5.4 Galleries
    110 * ----------------------------------------------------------------------------
    111 */
    112 
    113 .gallery-item {
    114     float: left;
    115     margin: 0 0 4px 4px;
    116 }
    117 
    118 /**
    119 * 5.6 Post Formats
    120 * ----------------------------------------------------------------------------
    121 */
    122 
    123 /* Status */
     403    padding-right: 95px;
     404}
     405
    124406.format-status .entry-content:before,
    125407.format-status .entry-meta:before {
     
    128410}
    129411
     412.sidebar .format-status .entry-content:before,
     413.sidebar .format-status .entry-meta:before {
     414    left: auto;
     415    right: 70px;
     416}
     417
    130418.format-status .entry-content p:first-child:before {
    131419    left: auto;
     
    133421}
    134422
    135 
    136 /**
    137 * 5.7 Post/Paging Navigation
    138 * ----------------------------------------------------------------------------
    139 */
     423.sidebar .format-status .entry-content p:first-child:before {
     424    left: auto;
     425    right: 64px;
     426}
     427
     428.format-status .entry-meta .date a:before {
     429    content: normal;
     430}
     431
     432.format-status .entry-meta .date a:after {
     433    content: "\f105";
     434}
     435
     436
     437/**
     438 * 5.6 Attachments
     439 * ----------------------------------------------------------------------------
     440 */
     441
     442.attachment .entry-title {
     443    float: right;
     444}
     445
     446.attachment .entry-title:before {
     447    content: normal;
     448    font-size: inherit;
     449    margin-right: auto;
     450}
     451
     452.attachment .entry-title:after {
     453    content: "\f416";
     454    font-size: 32px;
     455    margin-left: 10px;
     456}
     457
     458.attachment .entry-meta {
     459    float: left;
     460}
     461
     462.attachment-meta:before,
     463.full-size-link a:before {
     464    content: normal;
     465}
     466
     467.attachment-meta:after {
     468    content: "\f307";
     469}
     470
     471.full-size-link a:after {
     472    content: "\f402";
     473}
     474
     475.full-size-link:after {
     476    content: normal;
     477}
     478
     479.image-navigation .nav-previous {
     480    left: auto;
     481    right: 0;
     482}
     483
     484.image-navigation .nav-next {
     485    left: 0;
     486    right: auto;
     487}
     488
     489.attachment .entry-caption {
     490    text-align: right;
     491}
     492
     493
     494/**
     495 * 5.7 Post/Paging Navigation
     496 * ----------------------------------------------------------------------------
     497 */
    140498
    141499.navigation .nav-previous {
     
    147505}
    148506
    149 
    150 /**
    151 * 5.8 Author Bio
    152 * ----------------------------------------------------------------------------
    153 */
     507.sidebar .paging-navigation .nav-links,
     508.sidebar .post-navigation .nav-links {
     509    padding-left: 376px;
     510    padding-right: 60px;
     511}
     512
     513.paging-navigation .nav-previous .meta-nav {
     514    margin-left: 10px;
     515    margin-right: auto;
     516}
     517
     518.paging-navigation .nav-next .meta-nav {
     519    margin-left: auto;
     520    margin-right: 10px;
     521}
     522
     523.post-navigation a[rel="next"] {
     524    float: left;
     525}
     526
     527
     528/**
     529 * 5.8 Author Bio
     530 * ----------------------------------------------------------------------------
     531 */
    154532
    155533.author-info {
    156534    text-align: right; /* gallery & video post formats */
     535}
     536
     537.author.sidebar .author-info {
     538    padding-left: 376px;
     539    padding-right: 60px;
    157540}
    158541
     
    162545}
    163546
    164 /**
    165 * 5.12 Comments
    166 * ----------------------------------------------------------------------------
    167 */
     547.author-link {
     548    margin-left: auto;
     549    margin-right: 2px;
     550}
     551
     552
     553/**
     554 * 5.9 Archives
     555 * ----------------------------------------------------------------------------
     556 */
     557
     558.sidebar .archive-meta {
     559    padding-left: 316px;
     560    padding-right: 0;
     561}
     562
     563
     564/**
     565 * 5.10 Search Results/No posts
     566 * ----------------------------------------------------------------------------
     567 */
     568
     569.sidebar .page-content {
     570    padding-left: 376px;
     571    padding-right: 60px;
     572}
     573
     574/**
     575 * 5.12 Comments
     576 * ----------------------------------------------------------------------------
     577 */
    168578
    169579.sidebar .comments-title,
     
    176586}
    177587
     588.comment-list .children {
     589    margin-left: auto;
     590    margin-right: 20px;
     591}
     592
     593.comment-author {
     594    float: right;
     595    margin-left: 50px;
     596    margin-right: auto;
     597}
     598
     599
     600.bypostauthor .fn:before {
     601    content: normal;
     602    vertical-align: inherit;
     603}
     604
     605.bypostauthor .fn:after {
     606    content: "\f408";
     607    vertical-align: text-top;
     608}
     609
     610.comment-list .edit-link {
     611    margin-left: auto;
     612    margin-right: 20px;
     613}
     614
     615.comment-meta,
     616.comment-content,
     617.reply {
     618    float: left;
     619}
     620
     621.comment-awaiting-moderation:before {
     622    content: normal;
     623    margin-right: auto;
     624    top: auto;
     625}
     626
     627.comment-awaiting-moderation:after {
     628    content: "\f414";
     629    margin-left: 5px;
     630    position: relative;
     631    top: -2px;
     632}
     633
     634.comment-reply-link:before {
     635    content: normal;
     636    margin-right: auto;
     637}
     638
     639.comment-reply-link:after {
     640    content: "\f412";
     641    margin-left: 3px;
     642}
     643
     644#reply-title small a {
     645    float: left;
     646    height: auto;
     647    overflow: visible;
     648    width: auto;
     649}
     650
     651#reply-title small a:before {
     652    content: normal;
     653}
     654
    178655#commentform label[for="author"],
    179656#commentform label[for="email"],
     
    183660}
    184661
    185 #reply-title {
    186     font-style: normal;
    187 }
    188 
    189 /**
    190 * 6.0 Sidebar
    191 * ----------------------------------------------------------------------------
    192 */
     662.form-allowed-tags code {
     663    margin-left: auto;
     664    margin-right: 3px;
     665}
     666
     667.sidebar .no-comments {
     668    padding-left: 376px;
     669    padding-right: 60px;
     670}
     671
     672
     673/**
     674 * 6.0 Sidebar
     675 * ----------------------------------------------------------------------------
     676 */
    193677
    194678.site-main .widget-area {
     
    196680}
    197681
    198 /**
    199 * 6.1 Widgets
    200 * ----------------------------------------------------------------------------
    201 */
     682.widget-area a {
     683    max-width: 100%;
     684}
     685
     686
     687/**
     688 * 6.1 Widgets
     689 * ----------------------------------------------------------------------------
     690 */
    202691
    203692.widget .widget-title {
     
    205694}
    206695
    207 /**
    208 * 7.0 Footer
    209 * ----------------------------------------------------------------------------
    210 */
    211 
    212 .site-footer .widget {
    213     float: right;
    214     margin-right: 0;
    215     margin-left: 20px;
     696.widget li > ul,
     697.widget li > ol {
     698    margin-left: auto;
     699    margin-right: 20px;
     700}
     701
     702/**
     703 * 7.0 Footer
     704 * ----------------------------------------------------------------------------
     705 */
     706
     707.site-footer .widget-area,
     708.sidebar .site-footer {
    216709    text-align: right;
    217710}
    218 
    219711.sidebar .site-footer .widget-area {
    220712    left: auto;
     
    222714}
    223715
     716.site-footer .widget {
     717    float: right;
     718    margin-right: auto;
     719    margin-left: 20px;
     720}
     721
     722.sidebar .site-footer .widget:nth-of-type(4),
     723.sidebar .site-footer .widget:nth-of-type(3) {
     724    margin-left: 0;
     725    margin-right: auto;
     726}
    224727.site-info {
    225728    text-align: right;
    226729}
    227730
    228 /**
    229 * 8.0 Media Queries
    230 * ----------------------------------------------------------------------------
    231 */
     731
     732/**
     733 * 8.0 Media Queries
     734 * ----------------------------------------------------------------------------
     735 */
     736
     737@media (max-width: 1069px) {
     738    ul.nav-menu,
     739    div.nav-menu > ul {
     740        margin-left: auto;
     741        margin-right: 0;
     742    }
     743
     744    .error404 .page-header,
     745    .sidebar .format-image .entry-content img.size-full,
     746    .sidebar .format-image .wp-caption:first-child .wp-caption-text {
     747        margin-right: auto;
     748    }
     749
     750    .main-navigation .searchform {
     751        right: auto;
     752        left: 20px;
     753    }
     754
     755    .site-main .widget-area {
     756        margin-left: 60px;
     757        margin-right: auto;
     758    }
     759}
    232760
    233761@media (max-width: 999px) {
     
    250778
    251779    .site-main .widget-area {
    252         margin: 0;
    253         float: none !important;
    254         width: 100%;
     780        float: none;
     781        margin-left: auto;
     782    }
     783
     784    .attachment .entry-meta {
     785        float: right;
     786        text-align: right;
     787    }
     788
     789    .sidebar .format-status .entry-content,
     790    .sidebar .format-status .entry-meta {
     791        padding-left: auto;
     792        padding-right: 35px;
     793    }
     794
     795    .sidebar .format-status .entry-content:before,
     796    .sidebar .format-status .entry-meta:before {
     797        left: auto;
     798        right: 10px;
     799    }
     800
     801    .sidebar .format-status .entry-content p:first-child:before {
     802        left: auto;
     803        right: 4px;
    255804    }
    256805
     
    259808        right: 0;
    260809    }
    261 }
    262 
    263 @media (max-width: 1069px) {
    264     .main-navigation .searchform {
     810
     811    .sidebar .paging-navigation .nav-links {
     812        padding: 0 60px;
     813    }
     814}
     815
     816@media (max-width: 767px) {
     817    .format-image .entry-content img:first-of-type,
     818    .format-image .wp-caption:first-child .wp-caption-text {
     819        margin-right: auto;
     820    }
     821}
     822
     823@media (max-width: 643px) {
     824    #content .format-status .entry-content,
     825    #content .format-status .entry-met {
     826        padding-left: auto;
     827        padding-right: 35px;
     828    }
     829
     830    .menu-toggle:before {
     831        content: "\f502";
     832        font-size: 12px;
     833        padding-right: 8px;
     834        vertical-align: -webkit-calc(-4px);
     835        vertical-align:         calc(-4px);
     836    }
     837
     838    .menu-toggle:after {
     839        content: normal;
     840        font-size: 12px;
     841        padding-left: auto;
     842        vertical-align: baseline;
     843    }
     844
     845    .toggled-on .menu-toggle:before {
     846        content: "\f500";
     847        vertical-align: -webkit-calc(2px);
     848        vertical-align:         calc(2px);
     849    }
     850
     851    .toggled-on .menu-toggle:after {
     852        content: normal;
     853        vertical-align: baseline;
     854    }
     855
     856    .toggled-on .nav-menu,
     857    .toggled-on .nav-menu > ul {
     858        margin-left: auto;
     859        margin-right: 0px;
     860    }
     861
     862    .toggled-on .nav-menu li > ul {
     863        margin-left: auto;
     864        margin-right: 20px;
    265865        right: auto;
    266         left: 20px;
    267     }
    268 }
     866    }
     867   
     868    #content .featured-gallery {
     869        padding-left: auto;
     870        padding-right: 24px;
     871    }
     872
     873    .gallery-columns-1 .gallery-item {
     874        margin-left: 0;
     875        margin-right: auto;
     876    }
     877
     878    .comment-author {
     879        margin-left: 30px;
     880        margin-right: auto;
     881    }
     882
     883    .format-audio .audio-content {
     884        padding-left: auto;
     885        padding-right: 0;
     886    }
     887
     888    .single .gallery-columns-3 .gallery-item:nth-of-type(3n) {
     889        margin-left: 4px;
     890        margin-right: auto;
     891    }
     892}
     893
     894@media (max-width: 359px) {
     895    .gallery {
     896        margin-left: auto;
     897        margin-right: 0;
     898    }
     899
     900    .gallery .gallery-item,
     901    .single .gallery-columns-2.gallery-size-thumbnail .gallery-item,
     902    .blog .format-gallery .gallery-item,
     903    .archive .format-gallery .gallery-item,
     904    .search .format-gallery .gallery-item,
     905    .single .gallery.gallery-columns-3 .gallery-item:nth-of-type(even),
     906    .gallery-columns-5 .gallery-item:nth-of-type(5n),
     907    .gallery-columns-7 .gallery-item:nth-of-type(7n),
     908    .gallery-columns-9 .gallery-item:nth-of-type(9n) {
     909        margin-left: 2%;
     910        margin-right: auto;
     911    }
     912
     913    .blog .format-gallery .gallery-item:nth-of-type(odd),
     914    .archive .format-gallery .gallery-item:nth-of-type(odd),
     915    .search .format-gallery .gallery-item:nth-of-type(odd),
     916    .single .gallery .gallery-item:nth-of-type(even),
     917    .single .gallery.gallery-columns-3 .gallery-item:nth-of-type(3n) {
     918        margin-left: 0;
     919        margin-right: auto;
     920    }
     921}
     922
     923
     924/**
     925 * 9.0 Print
     926 * ----------------------------------------------------------------------------
     927 */
     928
     929@media print {
     930    .entry-content img.alignleft,
     931    .entry-content .wp-caption.alignleft {
     932        margin-left: auto;
     933        margin-right: 0;
     934    }
     935
     936    .entry-content img.alignright,
     937    .entry-content .wp-caption.alignright {
     938        margin-left: 0;
     939        margin-right: auto;
     940    }
     941}
  • trunk/wp-content/themes/twentythirteen/style.css

    r23673 r23674  
    3030 *   5.3 - Entry Content
    3131 *   5.4 - Galleries
    32  *   5.5 - Attachments
    33  *   5.6 - Post Formats
     32 *   5.5 - Post Formats
     33 *   5.6 - Attachments
    3434 *   5.7 - Post/Paging Navigation
    3535 *   5.8 - Author Bio
     
    548548    background-color: #f1f1f1;
    549549    border-radius: 3px;
    550     box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
     550    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    551551    clip: auto !important;
    552552    color: #21759b;
     
    592592    background: #e05d22; /* Old browsers */
    593593    background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
    594     background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
     594    background:   linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
    595595    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e05d22', endColorstr='#d94412', GradientType=0); /* IE6-9 */
    596596    display: inline-block;
    597     padding: 11px 24px 10px 24px;
     597    padding: 11px 24px 10px;
    598598    color: #fff;
    599599    text-decoration: none;
     
    613613    background: #ed6a31; /* Old browsers */
    614614    background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%); /* Chrome 10+, Safari 5.1+ */
    615     background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */
     615    background:   linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */
    616616    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed6a31', endColorstr='#e55627', GradientType=0); /* IE6-9 */
    617617    outline: none;
     
    624624    background: #d94412; /* Old browsers */
    625625    background: -webkit-linear-gradient(top, #d94412 0%, #e05d22 100%); /* Chrome 10+, Safari 5.1+ */
    626     background: linear-gradient(to bottom, #d94412 0%, #e05d22 100%); /* W3C */
     626    background:   linear-gradient(to bottom, #d94412 0%, #e05d22 100%); /* W3C */
    627627    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d94412', endColorstr='#e05d22', GradientType=0); /* IE6-9 */
    628628    border: none;
    629629    border-top: 3px solid #b93207;
    630     padding: 10px 24px 11px 24px;
     630    padding: 10px 24px 11px;
    631631}
    632632
     
    13731373
    13741374/**
    1375  * 5.6 Post Formats
     1375 * 5.5 Post Formats
    13761376 * ----------------------------------------------------------------------------
    13771377 */
     
    17381738    background: url(images/dotted-line.png) repeat-y left bottom;
    17391739    background-size: 4px 4px;
    1740     content: "";
     1740    content: normal;
    17411741    display: block;
    17421742    height: 100%;
     
    17741774.format-status .entry-content p:first-child:before {
    17751775    background-color: rgba(0, 0, 0, 0.65);
    1776     content: "";
     1776    content: normal;
    17771777    height: 3px;
    17781778    margin-top: 13px;
     
    18261826
    18271827/**
    1828  * 5.5 Attachments
     1828 * 5.6 Attachments
    18291829 * ----------------------------------------------------------------------------
    18301830 */
     
    21942194    position: absolute;
    21952195    left: 7px;
    2196     top: 28px
     2196    top: 28px;
    21972197}
    21982198
     
    22552255    background: url(images/dotted-line.png) repeat left top;
    22562256    background-size: 4px 4px;
    2257     content: "";
     2257    content: normal;
    22582258    display: block;
    22592259    height: 1px;
     
    26812681#wpstats {
    26822682    display: block;
    2683     margin: -10px auto 0 auto;
     2683    margin: -10px auto 0;
    26842684}
    26852685
     
    28432843
    28442844    .sidebar .paging-navigation .nav-links {
    2845         padding: 0 60px 0 60px;
     2845        padding: 0 60px;
    28462846    }
    28472847
     
    30243024
    30253025    .error404 .page-title:before {
    3026         content: "";
     3026        content: normal;
    30273027    }
    30283028
Note: See TracChangeset for help on using the changeset viewer.