Make WordPress Core

Ticket #48979: 48979.3.diff

File 48979.3.diff, 3.4 KB (added by audrasjb, 3 years ago)

Bundled Themes: Twenty Twenty: Use consistent and responsive margins for pagination links.

  • src/wp-content/themes/twentytwenty/style-rtl.css

    diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css
    index f0affb2558..963d16130b 100644
    a b h2.entry-title { 
    25932593        font-size: 0.9em;
    25942594        font-weight: 600;
    25952595        line-height: 1;
    2596         margin-top: 3em;
    2597         padding: 0 0.25em;
     2596        margin: 3em auto 0 auto;
     2597        padding: 0;
     2598        width: calc(100% - 4rem);
     2599        max-width: 58rem;
     2600}
     2601
     2602.post-nav-links > span.label {
     2603        padding: 1em 0;
    25982604}
    25992605
    26002606.post-nav-links > * {
    a.to-the-top > * { 
    44624468        li {
    44634469                margin: 0.5rem 1rem 0 0;
    44644470        }
     4471
     4472        /* Post Footer --------------------------- */
     4473
     4474        /* POST NAV LINKS */
     4475
     4476        .post-nav-links {
     4477                margin: 3em 0 0 0;
     4478        }
    44654479}
    44664480
    44674481@media ( min-width: 480px ) {
    a.to-the-top > * { 
    44974511        .alignright {
    44984512                max-width: 26rem;
    44994513        }
     4514
     4515        /* Post Footer --------------------------- */
     4516
     4517        /* POST NAV LINKS */
     4518
     4519        .post-nav-links {
     4520                margin: 3em 0 0 0;
     4521        }
    45004522}
    45014523
    45024524@media ( max-width: 599px ) {
    a.to-the-top > * { 
    45224544                margin-top: -1.8rem;
    45234545        }
    45244546
     4547        /* Post Footer --------------------------- */
     4548
     4549        /* POST NAV LINKS */
     4550
     4551        .post-nav-links {
     4552                margin: 3em 0 0 0;
     4553        }
    45254554}
    45264555
    45274556@media ( min-width: 600px ) {
    a.to-the-top > * { 
    45354564                margin-top: -4rem;
    45364565        }
    45374566
     4567        /* Post Footer --------------------------- */
     4568
     4569        /* POST NAV LINKS */
     4570
     4571        .post-nav-links {
     4572                margin: 3em 0 0 0;
     4573        }
    45384574}
    45394575
    45404576@media ( min-width: 660px ) {
    a.to-the-top > * { 
    45854621                margin-right: 0;
    45864622        }
    45874623
     4624        /* Post Footer --------------------------- */
     4625
     4626        /* POST NAV LINKS */
     4627
     4628        .post-nav-links {
     4629                margin: 3em auto 0 auto;
     4630        }
    45884631}
    45894632
    45904633@media ( min-width: 700px ) {
  • src/wp-content/themes/twentytwenty/style.css

    diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css
    index a78afe44e9..9fc1b8df69 100644
    a b h2.entry-title { 
    26092609        font-size: 0.9em;
    26102610        font-weight: 600;
    26112611        line-height: 1;
    2612         margin-top: 3em;
    2613         padding: 0 0.25em;
     2612        margin: 3em auto 0 auto;
     2613        padding: 0;
     2614        width: calc(100% - 4rem);
     2615        max-width: 58rem;
     2616}
     2617
     2618.post-nav-links > span.label {
     2619        padding: 1em 0;
    26142620}
    26152621
    26162622.post-nav-links > * {
    a.to-the-top > * { 
    44964502        li {
    44974503                margin: 0.5rem 0 0 1rem;
    44984504        }
     4505
     4506        /* Post Footer --------------------------- */
     4507
     4508        /* POST NAV LINKS */
     4509
     4510        .post-nav-links {
     4511                margin: 3em 0 0 0;
     4512        }
    44994513}
    45004514
    45014515@media ( min-width: 480px ) {
    a.to-the-top > * { 
    45314545        .alignright {
    45324546                max-width: 26rem;
    45334547        }
     4548
     4549        /* Post Footer --------------------------- */
     4550
     4551        /* POST NAV LINKS */
     4552
     4553        .post-nav-links {
     4554                margin: 3em 0 0 0;
     4555        }
    45344556}
    45354557
    45364558@media ( max-width: 599px ) {
    a.to-the-top > * { 
    45564578                margin-top: -1.8rem;
    45574579        }
    45584580
     4581        /* Post Footer --------------------------- */
     4582
     4583        /* POST NAV LINKS */
     4584
     4585        .post-nav-links {
     4586                margin: 3em 0 0 0;
     4587        }
    45594588}
    45604589
    45614590@media ( min-width: 600px ) {
    a.to-the-top > * { 
    45694598                margin-top: -4rem;
    45704599        }
    45714600
     4601        /* Post Footer --------------------------- */
     4602
     4603        /* POST NAV LINKS */
     4604
     4605        .post-nav-links {
     4606                margin: 3em 0 0 0;
     4607        }
    45724608}
    45734609
    45744610@media ( min-width: 660px ) {
    a.to-the-top > * { 
    46354671                margin-right: 0;
    46364672        }
    46374673
     4674        /* Post Footer --------------------------- */
     4675
     4676        /* POST NAV LINKS */
     4677
     4678        .post-nav-links {
     4679                margin: 3em auto 0 auto;
     4680        }
    46384681}
    46394682
    46404683@media ( min-width: 700px ) {