WordPress.org

Make WordPress Core

Ticket #53422: 53422.2.diff

File 53422.2.diff, 6.8 KB (added by danieldudzic, 3 months ago)
  • src/wp-content/themes/twentyfourteen/css/blocks.css

     
    331331        color: #41a62a;
    332332}
    333333
     334.widget-area .wp-block-latest-comments__comment-meta a {
     335        color: inherit;
     336}
     337
    334338.wp-block-latest-comments__comment-excerpt p:last-child {
    335339}
    336340
  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    306306        margin-bottom: 4em;
    307307}
    308308
     309.widget-area .wp-block-latest-comments article,
     310.widget-area .wp-block-latest-comments__comment,
     311.widget-area .wp-block-latest-comments__comment-excerpt p,
     312.widget-area .wp-block-latest-comments__comment-meta,
     313.widget-area .wp-block-latest-comments__comment-date {
     314        margin-top: 0;
     315        margin-bottom: 0;
     316}
     317
    309318.blog:not(.has-sidebar) #primary .wp-block-latest-comments article,
    310319.archive:not(.page-one-column):not(.has-sidebar) #primary .wp-block-latest-comments article,
    311320.search:not(.has-sidebar) #primary .wp-block-latest-comments article {
  • src/wp-content/themes/twentysixteen/css/blocks.css

     
    312312        text-align: center;
    313313}
    314314
     315.widget-area .widget_block .wp-block-query h2 {
     316        margin-bottom: 0;
     317}
     318
    315319/* Latest Comments */
    316320
    317321.wp-block-latest-comments__comment-meta a {
     
    327331        line-height: 1.6153846154;
    328332}
    329333
    330 .wp-block-latest-comments .wp-block-latest-comments__comment {
     334.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
    331335        border-top: 1px solid #d1d1d1;
    332336        margin-bottom: 0;
    333337        padding: 1.75em 0;
    334338}
    335339
     340.wp-block-query .wp-block-query-loop li {
     341        margin-bottom: 0;
     342        padding: 1.5em 0;
     343}
     344
     345.wp-block-query .wp-block-query-loop li:not(:first-child) {
     346        border-top: 1px solid #d1d1d1;
     347}
     348
    336349.wp-block-latest-comments__comment-excerpt p:last-child {
    337350        margin-bottom: 0;
    338351}
  • src/wp-content/themes/twentyten/style.css

     
    12851285        margin-left: 1.3em;
    12861286        padding: 0;
    12871287}
     1288
     1289#main .widget-area ul.wp-block-latest-posts.wp-block-latest-posts__list {
     1290        list-style: square;
     1291}
     1292
    12881293#primary {
    12891294}
    12901295#secondary {
  • src/wp-content/themes/twentythirteen/css/blocks.css

     
    202202}
    203203
    204204@media screen and (min-width: 665px) {
    205         body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.alignfull, 
     205        body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.alignfull,
    206206        body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.has-background.alignfull {
    207207                padding: 20px;
    208208        }
     
    583583        font-size: 16px;
    584584}
    585585
    586 .wp-block-latest-comments .wp-block-latest-comments__comment {
     586.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
    587587        background: url(../images/dotted-line.png) repeat-x left top;
    588588        margin-bottom: 0;
    589589        padding: 24px 0;
  • src/wp-content/themes/twentytwentyone/assets/css/ie.css

     
    35783578        margin-bottom: 0;
    35793579}
    35803580
     3581.widget-area .wp-block-latest-posts:not(.is-grid) > li {
     3582        margin-top: 0;
     3583        margin-bottom: 0;
     3584}
     3585
    35813586.wp-block-latest-posts.is-grid {
    35823587        word-wrap: break-word;
    35833588        word-break: break-word;
     
    36323637        }
    36333638}
    36343639
     3640.widget-area .wp-block-latest-posts > li > a {
     3641        font-size: inherit;
     3642        margin-bottom: 0;
     3643}
     3644
    36353645.wp-block-latest-posts .wp-block-latest-posts__post-author {
    36363646        color: #28303d;
    36373647        font-size: 1.25rem;
  • src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/latest-posts/_style.scss

     
    1515                }
    1616        }
    1717
     18        .widget-area &:not(.is-grid) > li {
     19                margin-top: 0;
     20                margin-bottom: 0;
     21        }
     22
    1823        &.is-grid {
    1924                word-wrap: break-word;
    2025                word-break: break-word;
     
    6570                margin-bottom: calc(0.333 * var(--global--spacing-vertical));
    6671        }
    6772
     73        .widget-area & > li > a {
     74                font-size: inherit;
     75                margin-bottom: 0;
     76        }
     77
    6878        // Post author
    6979        .wp-block-latest-posts__post-author {
    7080                color: var(--global--color-primary);
  • src/wp-content/themes/twentytwentyone/style-rtl.css

     
    24582458        margin-bottom: 0;
    24592459}
    24602460
     2461.widget-area .wp-block-latest-posts:not(.is-grid) > li {
     2462        margin-top: 0;
     2463        margin-bottom: 0;
     2464}
     2465
    24612466.wp-block-latest-posts.is-grid {
    24622467        word-wrap: break-word;
    24632468        word-break: break-word;
     
    25062511        margin-bottom: calc(0.333 * var(--global--spacing-vertical));
    25072512}
    25082513
     2514.widget-area .wp-block-latest-posts > li > a {
     2515        font-size: inherit;
     2516        margin-bottom: 0;
     2517}
     2518
    25092519.wp-block-latest-posts .wp-block-latest-posts__post-author {
    25102520        color: var(--global--color-primary);
    25112521        font-size: var(--global--font-size-md);
  • src/wp-content/themes/twentytwentyone/style.css

     
    24682468        margin-bottom: 0;
    24692469}
    24702470
     2471.widget-area .wp-block-latest-posts:not(.is-grid) > li {
     2472        margin-top: 0;
     2473        margin-bottom: 0;
     2474}
     2475
    24712476.wp-block-latest-posts.is-grid {
    24722477        word-wrap: break-word;
    24732478        word-break: break-word;
     
    25162521        margin-bottom: calc(0.333 * var(--global--spacing-vertical));
    25172522}
    25182523
     2524.widget-area .wp-block-latest-posts > li > a {
     2525        font-size: inherit;
     2526        margin-bottom: 0;
     2527}
     2528
    25192529.wp-block-latest-posts .wp-block-latest-posts__post-author {
    25202530        color: var(--global--color-primary);
    25212531        font-size: var(--global--font-size-md);