Make WordPress Core

Ticket #23550: 23550.3.diff

File 23550.3.diff, 22.5 KB (added by obenland, 13 years ago)
  • wp-content/themes/twentythirteen/rtl.css

     
    88*/
    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 */
     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
    2736
    2837/**
    29 * 4.0 Header
    30 * ----------------------------------------------------------------------------
    31 */
     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
    3279
    3380/**
    34 * 4.1 Site Header
    35 * ----------------------------------------------------------------------------
    36 */
     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 {
    39123        font-style: normal;
     
    41125
    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
    54154.main-navigation .searchform {
    55155        left: 0;
    56156        right: auto;
    57157}
     158.site-header .searchform .field {
     159        background-position: 98% center;
     160        padding: 0 34px 0 0;
     161}
    58162
     163
    59164.nav-menu .current_page_item > a,
    60165.nav-menu .current_page_ancestor > a,
    61166.nav-menu .current-menu-item > a,
     
    63168        font-style: normal;
    64169}
    65170
     171.menu-toggle {
     172        padding-left: auto;
     173        padding-right: 20px;
     174}
     175
    66176
    67177/**
    68 * 5.0 Content
    69 * ----------------------------------------------------------------------------
    70 */
     178 * 5.0 Content
     179 * ----------------------------------------------------------------------------
     180 */
    71181
    72182.sidebar .entry-header,
    73183.sidebar .entry-content,
    74184.sidebar .entry-summary,
    75185.sidebar .entry-meta {
    76         max-width: 1040px;
    77         padding-right: 60px;
    78186        padding-left: 376px;
     187        padding-right: 60px;
    79188}
    80189
     190
    81191/**
    82 * 5.2 Entry Meta
    83 * ----------------------------------------------------------------------------
    84 */
     192 * 5.2 Entry Meta
     193 * ----------------------------------------------------------------------------
     194 */
    85195
    86196.entry-meta > span {
    87         display: inline-block;
    88         margin-right: 0;
    89197        margin-left: 20px;
     198        margin-right: auto;
    90199}
    91200
    92201.entry-meta > span:last-child {
    93         margin-right: auto;
    94202        margin-left: 0;
     203        margin-right: auto;
    95204}
    96205
    97 .comments-link a:before {
    98         float: right;
     206.featured-post:before {
     207        content: normal;
    99208        margin-right: auto;
     209}
     210
     211.featured-post:after {
     212        content: "\f308";
    100213        margin-left: 2px;
    101214}
    102215
    103 .categories-links a:first-child:before,
     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
    104267.edit-link a:before {
    105         float: right;
     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;
    106281}
    107282
    108283/**
    109 * 5.4 Galleries
    110 * ----------------------------------------------------------------------------
    111 */
     284 * 5.4 Galleries
     285 * ----------------------------------------------------------------------------
     286 */
     287
     288.gallery {
     289        margin-left: auto;
     290        margin-right: -4px;
     291}
    112292
    113293.gallery-item {
    114         float: left;
     294        float: right;
    115295        margin: 0 0 4px 4px;
    116296}
    117297
     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
    118316/**
    119 * 5.6 Post Formats
    120 * ----------------------------------------------------------------------------
    121 */
     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}
    122333
    123 /* Status */
     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 {
     402        padding-left: 376px;
     403        padding-right: 95px;
     404}
     405
    124406.format-status .entry-content:before,
    125407.format-status .entry-meta:before {
    126408        left: auto;
    127409        right: 10px;
    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;
    132420        right: 4px;
    133421}
    134422
     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
    135436
    136437/**
    137 * 5.7 Post/Paging Navigation
    138 * ----------------------------------------------------------------------------
    139 */
     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 {
    142500        float: right;
     
    146504        float: left;
    147505}
    148506
     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
    149527
    150528/**
    151 * 5.8 Author Bio
    152 * ----------------------------------------------------------------------------
    153 */
     529 * 5.8 Author Bio
     530 * ----------------------------------------------------------------------------
     531 */
    154532
    155533.author-info {
    156534        text-align: right; /* gallery & video post formats */
    157535}
    158536
     537.author.sidebar .author-info {
     538        padding-left: 376px;
     539        padding-right: 60px;
     540}
     541
    159542.author-avatar {
    160543        float: right;
    161544        margin: 0 0 30px 30px;
    162545}
    163546
     547.author-link {
     548        margin-left: auto;
     549        margin-right: 2px;
     550}
     551
     552
    164553/**
    165 * 5.12 Comments
    166 * ----------------------------------------------------------------------------
    167 */
     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,
    170580.sidebar .comment-list,
     
    175585        padding-right: 60px;
    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"],
    180657#commentform label[for="url"],
     
    182659        float: right;
    183660}
    184661
    185 #reply-title {
    186         font-style: normal;
     662.form-allowed-tags code {
     663        margin-left: auto;
     664        margin-right: 3px;
    187665}
    188666
     667.sidebar .no-comments {
     668        padding-left: 376px;
     669        padding-right: 60px;
     670}
     671
     672
    189673/**
    190 * 6.0 Sidebar
    191 * ----------------------------------------------------------------------------
    192 */
     674 * 6.0 Sidebar
     675 * ----------------------------------------------------------------------------
     676 */
    193677
    194678.site-main .widget-area {
    195679        float: left;
    196680}
    197681
     682.widget-area a {
     683        max-width: 100%;
     684}
     685
     686
    198687/**
    199 * 6.1 Widgets
    200 * ----------------------------------------------------------------------------
    201 */
     688 * 6.1 Widgets
     689 * ----------------------------------------------------------------------------
     690 */
    202691
    203692.widget .widget-title {
    204693        font-style: normal;
    205694}
    206695
     696.widget li > ul,
     697.widget li > ol {
     698        margin-left: auto;
     699        margin-right: 20px;
     700}
     701
    207702/**
    208 * 7.0 Footer
    209 * ----------------------------------------------------------------------------
    210 */
     703 * 7.0 Footer
     704 * ----------------------------------------------------------------------------
     705 */
    211706
    212 .site-footer .widget {
    213         float: right;
    214         margin-right: 0;
    215         margin-left: 20px;
     707.site-footer .widget-area,
     708.sidebar .site-footer {
    216709        text-align: right;
    217710}
    218 
    219711.sidebar .site-footer .widget-area {
    220712        left: auto;
    221713        right: -158px;
    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
     731
    228732/**
    229 * 8.0 Media Queries
    230 * ----------------------------------------------------------------------------
    231 */
     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) {
    234762        .sidebar .entry-header,
     
    249777        }
    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
    257806        .sidebar .site-footer .widget-area {
    258807                left: auto;
    259808                right: 0;
    260809        }
     810
     811        .sidebar .paging-navigation .nav-links {
     812                padding: 0 60px;
     813        }
    261814}
    262815
    263 @media (max-width: 1069px) {
    264         .main-navigation .searchform {
     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;
     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;
    267940        }
    268941}
     942 No newline at end of file
  • wp-content/themes/twentythirteen/style.css

     
    2929 *   5.2 - Entry Meta
    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
    3636 *   5.9 - Archives
     
    547547.assistive-text:focus {
    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;
    553553        display: block;
     
    591591input[type="reset"] {
    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;
    600600        border: none;
     
    612612input[type="reset"]:focus {
    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;
    618618}
     
    623623input[type="reset"]:active {
    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
    633633.post-password-required input[type="submit"] {
     
    13471347
    13481348
    13491349/**
    1350  * 5.6 Post Formats
     1350 * 5.5 Post Formats
    13511351 * ----------------------------------------------------------------------------
    13521352 */
    13531353
     
    17121712.format-status .entry-meta:before {
    17131713        background: url(images/dotted-line.png) repeat-y left bottom;
    17141714        background-size: 4px 4px;
    1715         content: "";
     1715        content: normal;
    17161716        display: block;
    17171717        height: 100%;
    17181718        position: absolute;
     
    17481748
    17491749.format-status .entry-content p:first-child:before {
    17501750        background-color: rgba(0, 0, 0, 0.65);
    1751         content: "";
     1751        content: normal;
    17521752        height: 3px;
    17531753        margin-top: 13px;
    17541754        position: absolute;
     
    18001800
    18011801
    18021802/**
    1803  * 5.5 Attachments
     1803 * 5.6 Attachments
    18041804 * ----------------------------------------------------------------------------
    18051805 */
    18061806
     
    21682168        overflow: hidden;
    21692169        position: absolute;
    21702170        left: 7px;
    2171         top: 28px
     2171        top: 28px;
    21722172}
    21732173
    21742174.error404 .page-wrapper {
     
    22292229.comment-list .children > li:before {
    22302230        background: url(images/dotted-line.png) repeat left top;
    22312231        background-size: 4px 4px;
    2232         content: "";
     2232        content: normal;
    22332233        display: block;
    22342234        height: 1px;
    22352235        width: 100%;
     
    26552655
    26562656#wpstats {
    26572657        display: block;
    2658         margin: -10px auto 0 auto;
     2658        margin: -10px auto 0;
    26592659}
    26602660
    26612661
     
    28172817        }
    28182818
    28192819        .sidebar .paging-navigation .nav-links {
    2820                 padding: 0 60px 0 60px;
     2820                padding: 0 60px;
    28212821        }
    28222822
    28232823        .site-main .sidebar-container {
     
    29982998        }
    29992999
    30003000        .error404 .page-title:before {
    3001                 content: "";
     3001                content: normal;
    30023002        }
    30033003
    30043004        .comment-author {