Make WordPress Core


Ignore:
Timestamp:
11/02/2018 11:52:16 PM (6 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, mukeshpanchal27, burhandodhy, crunnells, Ismail-elkorchi, aryaprakasa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss

    r43842 r43860  
    4343        opacity: .8;
    4444        z-index: 3;
    45        
     45
    4646        /* Browsers supporting mix-blend-mode don't need opacity < 1 */
    4747        @supports (mix-blend-mode: multiply) {
     
    8888}
    8989
     90/* Calculates maximum width for post content */
     91@mixin postContentMaxWidth() {
     92    max-width: calc(100vw - (2 * #{ $size__spacing-unit }));
     93
     94    @include media(tablet) {
     95        max-width: calc(8 * (100vw / 12));
     96    }
     97
     98    @include media(desktop) {
     99        max-width: calc(6 * (100vw / 12));
     100    }
     101}
     102
    90103@import "utilities";
Note: See TracChangeset for help on using the changeset viewer.