WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/30/2018 02:13:07 AM (3 years ago)
Author:
allancole
Message:

Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.

Let Gutenberg shine with this simple, fast, and powerful theme. Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/sass/navigation/_next-previous.scss

    r43808 r43842  
    55
    66    margin: calc(3 * 1rem) 0;
     7   
     8    @include media(tablet) {
     9        margin: calc(3 * 1rem) calc(2 * (100vw / 12));
     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 {
     
    1222        display: flex;
    1323        flex-direction: column;
     24       
     25        @include media(tablet) {
     26            margin: 0;
     27        }
    1428
    1529        @include media(desktop) {
     
    7488            @include media(desktop) {
    7589                order: 2;
     90                padding-left: $size__spacing-unit;
    7691            }
    7792
     
    139154
    140155    .nav-links {
    141 
    142156        display: flex;
    143157        flex-direction: row;
     158        margin: 0 $size__spacing-unit;
     159
     160        @include media(desktop) {
     161            margin: 0 calc(2 * (100vw / 12));
     162            max-width: calc(8 * (100vw / 12));
     163        }
    144164    }
    145165
     
    148168        min-width: 50%;
    149169        width: 100%;
     170        font-family: $font__heading;
     171        font-weight: bold;
    150172
    151173        .secondary-text {
Note: See TracChangeset for help on using the changeset viewer.