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/site/header/_site-header.scss

    r43808 r43842  
    3232    @include media(tablet) {
    3333        margin: 0 calc(2 * (100vw / 12));
    34         max-width: 22em;
    3534    }
    3635}
     
    4746        margin-bottom: 0;
    4847        position: absolute;
    49         right: calc(100% + (0.5 * calc(100vw / 12)));
     48        right: calc(100% + (0.5 * 100vw / 12));
    5049        top: 4px; // Accounts for box-shadow widths
    5150        z-index: 999;
     
    8281
    8382.site-title {
    84 
    8583    margin: auto;
    8684    display: inline;
    87     color: $color__text-main;
     85   
     86
     87    a:link,
     88    a:visited {
     89        color: $color__text-main;
     90    }
    8891
    8992    .featured-image & {
     
    111114        display: inline;
    112115    }
     116
     117    &:not(:empty) + .site-description:not(:empty):before {
     118        content: "\2014";
     119        margin: 0 .2em;
     120    }
    113121}
    114122
     
    121129    font-weight: normal;
    122130    margin: 0;
    123 
    124     &:not(:empty):before {
    125         content: "\2014";
    126         margin: 0 .2em;
    127     }
    128131}
Note: See TracChangeset for help on using the changeset viewer.