Make WordPress Core


Ignore:
Timestamp:
12/14/2018 02:32:33 AM (6 years ago)
Author:
pento
Message:

Default Themes: Import Twenty Nineteen from the 5.0 branch.

Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.

Fixes #45424.

Location:
trunk
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-content/themes/twentynineteen/sass/navigation/_next-previous.scss

    r43808 r44149  
    55
    66    margin: calc(3 * 1rem) 0;
     7
     8    @include media(tablet) {
     9        margin: calc(3 * 1rem) $size__site-margins;
     10        max-width: calc(6 * (100vw / 12));
     11    }
     12
     13    @include media(desktop) {
     14        margin: calc(3 * 1rem) 0;
     15        max-width: 100%;
     16    }
    717
    818    .nav-links {
     
    1323        flex-direction: column;
    1424
     25        @include media(tablet) {
     26            margin: 0;
     27        }
     28
    1529        @include media(desktop) {
    1630            flex-direction: row;
    17             margin: 0 calc(2 * (100vw / 12));
    18             max-width: calc(8 * (100vw / 12));
     31            margin: 0 $size__site-margins;
     32            max-width: $size__site-desktop-content;
    1933        }
    2034
     
    7488            @include media(desktop) {
    7589                order: 2;
     90                padding-left: $size__spacing-unit;
    7691            }
    7792
     
    109124        }
    110125
     126        a:focus {
     127            text-decoration: underline;
     128            outline-offset: -1px;
     129
     130            &.prev,
     131            &.next {
     132                text-decoration: none;
     133
     134                .nav-prev-text,
     135                .nav-next-text {
     136                    text-decoration: underline;
     137                }
     138            }
     139        }
     140
    111141        .nav-next-text,
    112142        .nav-prev-text {
     
    116146        @include media(tablet) {
    117147
    118             margin-left: calc(2 * (100vw / 12) );
     148            margin-left: $size__site-margins;
    119149            padding: 0;
    120150
     
    139169
    140170    .nav-links {
    141 
    142171        display: flex;
    143172        flex-direction: row;
     
    148177        min-width: 50%;
    149178        width: 100%;
     179        font-family: $font__heading;
     180        font-weight: bold;
    150181
    151182        .secondary-text {
     
    163194            top: -1px;
    164195        }
    165 
    166         a {
    167 
    168             &:hover {
    169                 color: $color__link;
    170             }
    171         }
    172196    }
    173197
Note: See TracChangeset for help on using the changeset viewer.