Make WordPress Core

Ticket #47925: 47925.diff

File 47925.diff, 29.7 KB (added by sabernhardt, 8 months ago)

groups similar font rules with :is(), moves or reformats comments that do not fit and/or help much in final stylesheet, removes WOFF

  • src/wp-content/themes/twentynineteen/sass/_normalize.scss

     
    11/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
    22
    3 /* Document
    4          ========================================================================== */
     3// Document
     4// ==========================================================================
    55
    6 /**
    7  * 1. Correct the line height in all browsers.
    8  * 2. Prevent adjustments of font size after orientation changes in iOS.
    9  */
     6// 1. Correct the line height in all browsers.
     7// 2. Prevent adjustments of font size after orientation changes in iOS.
    108
    119html {
    12         line-height: 1.15; /* 1 */
    13         -webkit-text-size-adjust: 100%; /* 2 */
     10        line-height: 1.15; // 1
     11        -webkit-text-size-adjust: 100%; // 2
    1412}
    1513
    16 /* Sections
    17          ========================================================================== */
     14// Sections
     15// ==========================================================================
    1816
    19 /**
    20  * Remove the margin in all browsers.
    21  */
     17// Remove the margin in all browsers.
    2218
    2319body {
    2420        margin: 0;
    2521}
    2622
    27 /**
    28  * Correct the font size and margin on `h1` elements within `section` and
    29  * `article` contexts in Chrome, Firefox, and Safari.
    30  */
     23// Correct the font size and margin on `h1` elements within `section` and
     24// `article` contexts in Chrome, Firefox, and Safari.
    3125
    3226h1 {
    3327        font-size: 2em;
     
    3428        margin: 0.67em 0;
    3529}
    3630
    37 /* Grouping content
    38          ========================================================================== */
     31// Grouping content
     32// ==========================================================================
    3933
    40 /**
    41  * 1. Add the correct box sizing in Firefox.
    42  * 2. Show the overflow in Edge and IE.
    43  */
     34// 1. Add the correct box sizing in Firefox.
     35// 2. Show the overflow in Edge and IE.
    4436
    4537hr {
    46         box-sizing: content-box; /* 1 */
    47         height: 0; /* 1 */
    48         overflow: visible; /* 2 */
     38        box-sizing: content-box; // 1
     39        height: 0; // 1
     40        overflow: visible; // 2
    4941}
    5042
    51 /**
    52  * 1. Correct the inheritance and scaling of font size in all browsers.
    53  * 2. Correct the odd `em` font sizing in all browsers.
    54  */
     43// 1. Correct the inheritance and scaling of font size in all browsers.
     44// 2. Correct the odd `em` font sizing in all browsers.
    5545
    5646pre {
    57         font-family: monospace, monospace; /* 1 */
    58         font-size: 1em; /* 2 */
     47        font-family: monospace, monospace; // 1
     48        font-size: 1em; // 2
    5949}
    6050
    61 /* Text-level semantics
    62          ========================================================================== */
     51// Text-level semantics
     52// ==========================================================================
    6353
    64 /**
    65  * Remove the gray background on active links in IE 10.
    66  */
     54// Remove the gray background on active links in IE 10.
    6755
    6856a {
    6957        background-color: transparent;
    7058}
    7159
    72 /**
    73  * 1. Remove the bottom border in Chrome 57-
    74  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
    75  */
     60// 1. Remove the bottom border in Chrome 57-
     61// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
    7662
    7763abbr[title] {
    78         border-bottom: none; /* 1 */
    79         text-decoration: underline; /* 2 */
    80         text-decoration: underline dotted; /* 2 */
     64        border-bottom: none; // 1
     65        text-decoration: underline; // 2
     66        text-decoration: underline dotted; // 2
    8167}
    8268
    83 /**
    84  * Add the correct font weight in Chrome, Edge, and Safari.
    85  */
     69// Add the correct font weight in Chrome, Edge, and Safari.
    8670
    8771b,
    8872strong {
     
    8973        font-weight: bolder;
    9074}
    9175
    92 /**
    93  * 1. Correct the inheritance and scaling of font size in all browsers.
    94  * 2. Correct the odd `em` font sizing in all browsers.
    95  */
     76// 1. Correct the inheritance and scaling of font size in all browsers.
     77// 2. Correct the odd `em` font sizing in all browsers.
    9678
    9779code,
    9880kbd,
    9981samp {
    100         font-family: monospace, monospace; /* 1 */
    101         font-size: 1em; /* 2 */
     82        font-family: monospace, monospace; // 1
     83        font-size: 1em; // 2
    10284}
    10385
    104 /**
    105  * Add the correct font size in all browsers.
    106  */
     86// Add the correct font size in all browsers.
    10787
    10888small {
    10989        font-size: 80%;
    11090}
    11191
    112 /**
    113  * Prevent `sub` and `sup` elements from affecting the line height in
    114  * all browsers.
    115  */
     92// Prevent `sub` and `sup` elements from affecting the line height in
     93// all browsers.
    11694
    11795sub,
    11896sup {
     
    130108        top: -0.5em;
    131109}
    132110
    133 /* Embedded content
    134          ========================================================================== */
     111// Embedded content
     112// ==========================================================================
    135113
    136 /**
    137  * Remove the border on images inside links in IE 10.
    138  */
     114// Remove the border on images inside links in IE 10.
    139115
    140116img {
    141117        border-style: none;
    142118}
    143119
    144 /* Forms
    145          ========================================================================== */
     120// Forms
     121// ==========================================================================
    146122
    147 /**
    148  * 1. Change the font styles in all browsers.
    149  * 2. Remove the margin in Firefox and Safari.
    150  */
     123// 1. Change the font styles in all browsers.
     124// 2. Remove the margin in Firefox and Safari.
    151125
    152126button,
    153127input,
     
    154128optgroup,
    155129select,
    156130textarea {
    157         font-family: inherit; /* 1 */
    158         font-size: 100%; /* 1 */
    159         line-height: 1.15; /* 1 */
    160         margin: 0; /* 2 */
     131        font-family: inherit; // 1
     132        font-size: 100%; // 1
     133        line-height: 1.15; // 1
     134        margin: 0; // 2
    161135}
    162136
    163 /**
    164  * Show the overflow in IE.
    165  * 1. Show the overflow in Edge.
    166  */
     137// Show the overflow in IE.
     138// 1. Show the overflow in Edge.
    167139
    168140button,
    169 input { /* 1 */
     141input { // 1
    170142        overflow: visible;
    171143}
    172144
    173 /**
    174  * Remove the inheritance of text transform in Edge, Firefox, and IE.
    175  * 1. Remove the inheritance of text transform in Firefox.
    176  */
     145// Remove the inheritance of text transform in Edge, Firefox, and IE.
     146// 1. Remove the inheritance of text transform in Firefox.
    177147
    178148button,
    179 select { /* 1 */
     149select { // 1
    180150        text-transform: none;
    181151}
    182152
    183 /**
    184  * Correct the inability to style clickable types in iOS and Safari.
    185  */
     153// Correct the inability to style clickable types in iOS and Safari.
    186154
    187155button,
    188156[type="button"],
     
    191159        -webkit-appearance: button;
    192160}
    193161
    194 /**
    195  * Remove the inner border and padding in Firefox.
    196  */
     162// Remove the inner border and padding in Firefox.
    197163
    198164button::-moz-focus-inner,
    199165[type="button"]::-moz-focus-inner,
     
    203169        padding: 0;
    204170}
    205171
    206 /**
    207  * Restore the focus styles unset by the previous rule.
    208  */
     172// Restore the focus styles unset by the previous rule.
    209173
    210174button:-moz-focusring,
    211175[type="button"]:-moz-focusring,
     
    214178        outline: 1px dotted ButtonText;
    215179}
    216180
    217 /**
    218  * Correct the padding in Firefox.
    219  */
     181// Correct the padding in Firefox.
    220182
    221183fieldset {
    222184        padding: 0.35em 0.75em 0.625em;
    223185}
    224186
    225 /**
    226  * 1. Correct the text wrapping in Edge and IE.
    227  * 2. Correct the color inheritance from `fieldset` elements in IE.
    228  * 3. Remove the padding so developers are not caught out when they zero out
    229  *              `fieldset` elements in all browsers.
    230  */
     187// 1. Correct the text wrapping in Edge and IE.
     188// 2. Correct the color inheritance from `fieldset` elements in IE.
     189// 3. Remove the padding so developers are not caught out when they zero out
     190//    `fieldset` elements in all browsers.
    231191
    232192legend {
    233         box-sizing: border-box; /* 1 */
    234         color: inherit; /* 2 */
    235         display: table; /* 1 */
    236         max-width: 100%; /* 1 */
    237         padding: 0; /* 3 */
    238         white-space: normal; /* 1 */
     193        box-sizing: border-box; // 1
     194        color: inherit; // 2
     195        display: table; // 1
     196        max-width: 100%; // 1
     197        padding: 0; // 3
     198        white-space: normal; // 1
    239199}
    240200
    241 /**
    242  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
    243  */
     201// Add the correct vertical alignment in Chrome, Firefox, and Opera.
    244202
    245203progress {
    246204        vertical-align: baseline;
    247205}
    248206
    249 /**
    250  * Remove the default vertical scrollbar in IE 10+.
    251  */
     207// Remove the default vertical scrollbar in IE 10+.
    252208
    253209textarea {
    254210        overflow: auto;
    255211}
    256212
    257 /**
    258  * 1. Add the correct box sizing in IE 10.
    259  * 2. Remove the padding in IE 10.
    260  */
     213// 1. Add the correct box sizing in IE 10.
     214// 2. Remove the padding in IE 10.
    261215
    262216[type="checkbox"],
    263217[type="radio"] {
    264         box-sizing: border-box; /* 1 */
    265         padding: 0; /* 2 */
     218        box-sizing: border-box; // 1
     219        padding: 0; // 2
    266220}
    267221
    268 /**
    269  * Correct the cursor style of increment and decrement buttons in Chrome.
    270  */
     222// Correct the cursor style of increment and decrement buttons in Chrome.
    271223
    272224[type="number"]::-webkit-inner-spin-button,
    273225[type="number"]::-webkit-outer-spin-button {
     
    274226        height: auto;
    275227}
    276228
    277 /**
    278  * 1. Correct the odd appearance in Chrome and Safari.
    279  * 2. Correct the outline style in Safari.
    280  */
     229// 1. Correct the odd appearance in Chrome and Safari.
     230// 2. Correct the outline style in Safari.
    281231
    282232[type="search"] {
    283         -webkit-appearance: textfield; /* 1 */
    284         outline-offset: -2px; /* 2 */
     233        -webkit-appearance: textfield; // 1
     234        outline-offset: -2px; // 2
    285235}
    286236
    287 /**
    288  * Remove the inner padding in Chrome and Safari on macOS.
    289  */
     237// Remove the inner padding in Chrome and Safari on macOS.
    290238
    291239[type="search"]::-webkit-search-decoration {
    292240        -webkit-appearance: none;
    293241}
    294242
    295 /**
    296  * 1. Correct the inability to style clickable types in iOS and Safari.
    297  * 2. Change font properties to `inherit` in Safari.
    298  */
     243// 1. Correct the inability to style clickable types in iOS and Safari.
     244// 2. Change font properties to `inherit` in Safari.
    299245
     246
    300247::-webkit-file-upload-button {
    301         -webkit-appearance: button; /* 1 */
    302         font: inherit; /* 2 */
     248        -webkit-appearance: button; // 1
     249        font: inherit; // 2
    303250}
    304251
    305 /* Interactive
    306          ========================================================================== */
     252// Interactive
     253// ==========================================================================
    307254
    308 /*
    309  * Add the correct display in Edge, IE 10+, and Firefox.
    310  */
     255// Add the correct display in Edge, IE 10+, and Firefox.
    311256
    312257details {
    313258        display: block;
    314259}
    315260
    316 /*
    317  * Add the correct display in all browsers.
    318  */
     261// Add the correct display in all browsers.
    319262
    320263summary {
    321264        display: list-item;
    322265}
    323266
    324 /* Misc
    325          ========================================================================== */
     267// Misc
     268// ==========================================================================
    326269
    327 /**
    328  * Add the correct display in IE 10+.
    329  */
     270// Add the correct display in IE 10+.
    330271
    331272template {
    332273        display: none;
    333274}
    334275
    335 /**
    336  * Add the correct display in IE 10.
    337  */
     276// Add the correct display in IE 10.
    338277
    339278[hidden] {
    340279        display: none;
  • src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

     
    734734                        }
    735735                }
    736736
    737                 /* Remove duplicate rule-line when a separator
    738                  * is followed by an H1, or H2 */
    739737                & + h1,
    740738                & + h2 {
    741739
    742740                        &:before {
     741                                /* Remove duplicate rule-line when a separator
     742                                 * is followed by an H1 or H2 */
    743743                                display: none;
    744744                        }
    745745                }
  • src/wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss

     
    4343                opacity: .8;
    4444                z-index: 3;
    4545
    46                 /* Browsers supporting mix-blend-mode don't need opacity < 1 */
    4746                @supports (mix-blend-mode: multiply) {
     47                        /* Browsers supporting mix-blend-mode don't need opacity < 1 */
    4848                        opacity: 1;
    4949                }
    5050        }
     
    8585        }
    8686}
    8787
    88 /* If we add the border using a regular CSS border, it won't look good on non-retina devices,
    89  * since its edges can look jagged due to lack of antialiasing. In this case, we are several
    90  * layers of box-shadow to add the border visually, which will render the border smoother. */
     88// If we add the border using a regular CSS border, it won't look good on non-retina devices,
     89// since its edges can look jagged due to lack of antialiasing. In this case, we are several
     90// layers of box-shadow to add the border visually, which will render the border smoother.
    9191
    9292@mixin box-shadow( $size ) {
    9393        box-shadow:
     
    9696                0 0 1px 0 rgba( $color__text-light, 0.7 );      // Antialiasing, outer edge.
    9797}
    9898
    99 /* Calculates maximum width for post content */
     99// Calculates maximum width for post content
    100100@mixin postContentMaxWidth() {
    101101
    102102        @include media(tablet) {
     
    108108        }
    109109}
    110110
    111 /* Nested sub-menu padding: 10 levels deep */
     111// Nested sub-menu padding: 10 levels deep
    112112@mixin nestedSubMenuPadding() {
    113113
    114114        ul {
     
    129129        @extend %non-latin-fonts;
    130130}
    131131
    132 /* Build our non-latin font styles */
     132// Build our non-latin font styles
    133133%non-latin-fonts {
    134         @each $lang, $font__fallback in $font__fallbacks {
    135                 &:lang(#{$lang}) {
    136                         font-family: unquote( $font__fallback );
    137                 }
     134        // Arabic
     135        &:is(:lang(ar),:lang(ary),:lang(azb),:lang(ckb),:lang(fa),:lang(haz),:lang(ps)) {
     136                font-family: Tahoma, Arial, sans-serif;
    138137        }
     138        // Cyrillic
     139        &:is(:lang(be),:lang(bg),:lang(kk),:lang(mk),:lang(mn),:lang(ru),:lang(sah),:lang(sr),:lang(tt),:lang(uk)) {
     140                font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
     141        }
     142        // Chinese (Hong Kong)
     143        &:lang(zh-HK) {
     144                font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif;
     145        }
     146        // Chinese (Taiwan)
     147        &:lang(zh-TW) {
     148                font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif;
     149        }
     150        // Chinese (China)
     151        &:lang(zh-CN) {
     152                font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif;
     153        }
     154        // Devanagari
     155        &:is(:lang(bn),:lang(hi),:lang(mr),:lang(ne)) {
     156                font-family: Arial, sans-serif;
     157        }
     158        // Greek
     159        &:lang(el) {
     160                font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     161        }
     162        // Gujarati
     163        &:lang(gu) {
     164                font-family: Arial, sans-serif;
     165        }
     166        // Hebrew
     167        &:lang(he) {
     168                font-family: "Arial Hebrew", Arial, sans-serif;
     169        }
     170        // Japanese
     171        &:lang(ja) {
     172                font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif;
     173        }
     174        // Korean
     175        &:lang(ko) {
     176                font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", Dotum, sans-serif;
     177        }
     178        // Thai
     179        &:lang(th) {
     180                font-family: "Sukhumvit Set", "Helvetica Neue", helvetica, arial, sans-serif;
     181        }
     182        // Vietnamese
     183        &:lang(vi) {
     184                font-family: "Libre Franklin", sans-serif;
     185        }
    139186}
    140187
    141188@import "utilities";
  • src/wp-content/themes/twentynineteen/sass/navigation/_menu-main-navigation.scss

     
    1313                display: inline;
    1414        }
    1515
    16         /* Un-style buttons */
     16        // Un-style buttons
    1717        button {
    1818                display: inline-block;
    1919                border: none;
     
    102102                                        display: inline-block;
    103103                                        margin-right: #{0.25 * $size__spacing-unit};
    104104
    105                                         /* Priority+ Menu */
     105                                        // Priority+ Menu
    106106                                        &.main-menu-more-toggle {
    107107
    108108                                                position: relative;
     
    243243                }
    244244        }
    245245
    246         /*
    247          * Sub-menu styles
    248          *
    249          * :focus-within needs its own selector so other similar
    250          * selectors don’t get ignored if a browser doesn’t recognize it
    251          */
     246        // Sub-menu styles
     247        //
     248        // :focus-within needs its own selector so other similar
     249        // selectors don’t get ignored if a browser doesn’t recognize it
     250
    252251        .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
    253252
    254253                display: block;
     
    259258                min-width: 100%;
    260259
    261260
    262                 /* Non-mobile position */
     261                // Non-mobile position
    263262                @include media(tablet) {
    264263                        display: block;
    265264                        margin-top: 0;
     
    302301                        left: 0;
    303302                        opacity: 1;
    304303
    305                         /* Non-mobile position */
     304                        // Non-mobile position
    306305                        @include media(tablet) {
    307306                                float: none;
    308307                                max-width: 100%;
     
    309308                        }
    310309                }
    311310
    312                 /* Nested sub-menu dashes */
     311                // Nested sub-menu dashes
    313312                .sub-menu {
    314313                        counter-reset: submenu;
    315314                }
     
    334333                min-width: 100%;
    335334
    336335
    337                 /* Non-mobile position */
     336                // Non-mobile position
    338337                @include media(tablet) {
    339338                        display: block;
    340339                        float: none;
     
    378377                        left: 0;
    379378                        opacity: 1;
    380379
    381                         /* Non-mobile position */
     380                        // Non-mobile position
    382381                        @include media(tablet) {
    383382                                float: none;
    384383                                max-width: 100%;
     
    385384                        }
    386385                }
    387386
    388                 /* Nested sub-menu dashes */
     387                // Nested sub-menu dashes
    389388                .sub-menu {
    390389                        counter-reset: submenu;
    391390                }
     
    398397                }
    399398        }
    400399
    401         /**
    402          * Fade-in animation for top-level submenus
    403          */
     400        // Fade-in animation for top-level submenus
     401
    404402        .main-menu > .menu-item-has-children:not(.off-canvas):hover > .sub-menu {
    405403                animation: fade_in 0.1s forwards;
    406404        }
    407405
    408         /**
    409          * Off-canvas touch device styles
    410          */
     406        // Off-canvas touch device styles
     407
    411408        .main-menu .menu-item-has-children.off-canvas .sub-menu {
    412409
    413410                .submenu-expand .svg-icon {
     
    457454                                display: block;
    458455                        }
    459456
    460                         /* Prevent menu from being blocked by admin bar */
    461457                        .admin-bar & {
     458                                /* Prevent menu from being blocked by admin bar */
    462459                                top: 46px;
    463460                                height: calc( 100vh - 46px );
    464461
  • src/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss

     
    1111        /* Add text shadow to text, to increase readability. */
    1212        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    1313
    14         /* Set white text color when featured image is set. */
     14        // Set white text color when featured image is set.
    1515        .site-branding .site-title,
    1616        .site-branding .site-description,
    1717        .main-navigation a:after,
     
    4949                opacity: inherit;
    5050        }
    5151
    52         /* add focus state to social media icons */
     52        // add focus state to social media icons
    5353        .social-navigation a {
    5454                &:focus {
    5555                        color: $color__background-body;
     
    6565                                filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35) );
    6666        }
    6767
    68         /* Entry header */
     68        // Entry header
    6969        .site-featured-image {
    7070
    7171                .post-thumbnail img {
     
    116116                                }
    117117                        }
    118118
    119                         /* Entry meta */
     119                        // Entry meta
    120120
    121121                        .entry-meta {
    122122
     
    182182                }
    183183        }
    184184
    185         /* Custom Logo Link */
     185        // Custom Logo Link
    186186
    187187        .custom-logo-link {
    188188
     
    196196                }
    197197        }
    198198
    199         /* Make sure important elements are above pseudo elements used for effects. */
     199        // Make sure important elements are above pseudo elements used for effects.
     200
    200201        .site-branding {
    201202                position: relative;
    202203                z-index: 10;
     
    207208                z-index: 9;
    208209        }
    209210
    210         /* Set up image filter layer positioning */
     211        // Set up image filter layer positioning
    211212        .site-branding-container:after,
    212213        .site-featured-image:before,
    213214        .site-featured-image:after,
     
    226227        background-repeat: no-repeat;
    227228        background-size: cover;
    228229
    229         /* The intensity of each blend mode is controlled via layer opacity. */
     230        // The intensity of each blend mode is controlled via layer opacity.
    230231
    231         /* Second layer: screen. */
    232232        .image-filters-enabled & .site-featured-image:before {
     233                /* Second layer: screen. */
    233234                background: $color__link;
    234235                mix-blend-mode: screen;
    235236                opacity: 0.1;
    236237        }
    237238
    238         /* Third layer: multiply. */
    239         /* When image filters are inactive, a black overlay is added. */
    240239        .site-featured-image:after {
     240                /* Third layer: multiply. */
     241                /* When image filters are inactive, a black overlay is added. */
    241242                background: #000;
    242243                mix-blend-mode: multiply;
    243244                opacity: .7;
    244245
    245                 /* When image filters are active, a blue overlay is added. */
    246246                .image-filters-enabled & {
     247                        /* When image filters are active, a blue overlay is added. */
    247248                        background: $color__link;
    248249                        opacity: .8;
    249250                        z-index: 3;
    250251
    251                         /* Browsers supporting mix-blend-mode don't need opacity < 1 */
    252252                        @supports (mix-blend-mode: multiply) {
     253                                /* Browsers supporting mix-blend-mode don't need opacity < 1 */
    253254                                opacity: 1;
    254255                        }
    255256                }
    256257        }
    257258
    258         /* Fourth layer: overlay. */
    259259        .image-filters-enabled & .site-branding-container:after {
     260                /* Fourth layer: overlay. */
    260261                background: rgba(0, 0, 0, 0.35);
    261262                mix-blend-mode: overlay;
    262263                opacity: 0.5;
    263264                z-index: 4;
    264265
    265                 /* Browsers supporting mix-blend-mode can have a light overlay */
    266266                @supports (mix-blend-mode: overlay) {
     267                        /* Browsers supporting mix-blend-mode can have a light overlay */
    267268                        background: rgba($color__background-body, 0.35);
    268269                }
    269270        }
    270271
    271         /* Fifth layer: readability overlay */
    272272        &:after {
     273                /* Fifth layer: readability overlay */
    273274                background: #000;
    274275                /**
    275276                 * Add a transition to the readability overlay, to add a subtle
     
    279280                opacity: 0.7;
    280281                z-index: 5;
    281282
    282                 /* When image filters are active, a blue overlay is added. */
    283283                .image-filters-enabled & {
     284                        /* When image filters are active, a blue overlay is added. */
    284285                        background: mix($color__link, black, 12%);
    285286                        opacity: 0.38;
    286287
  • src/wp-content/themes/twentynineteen/sass/site/header/_site-header.scss

     
    113113                }
    114114        }
    115115
    116         /* When there is no description set, make sure navigation appears below title. */
    117116        + .main-navigation {
     117                /* When there is no description set, make sure navigation appears below title. */
    118118                display: block;
    119119        }
    120120
  • src/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss

     
    2929                }
    3030        }
    3131
    32         /* Add extra margin when the comments section is located immediately after the
    33          * post itself (this happens on pages).
    34          */
    3532        .entry + & {
     33                /* Add extra margin when the comments section is located immediately after the
     34                 * post itself (this happens on pages).
     35                 */
    3636                margin-top: calc(3 * #{$size__spacing-unit});
    3737        }
    3838
  • src/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss

     
    55                font-size: $font__size-lg;
    66        }
    77
    8         /* Make sure select elements fit in widgets. */
    98        select {
     9                /* Make sure select elements fit in widgets. */
    1010                max-width: 100%;
    1111        }
    1212
  • src/wp-content/themes/twentynineteen/sass/variables-site/_fonts.scss

     
    77 */
    88@font-face {
    99        font-family: 'NonBreakingSpaceOverride';
    10         src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAAMoAA0AAAAACDQAAALTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCahEICjx3CywAATYCJANUBCAFhiEHgWwbXQfILgpsY+rQRRARwyAs6uL7pxzYhxEE+32b3aeHmifR6tklkS9hiZA0ewkqGRJE+H7/+6378ASViK/PGeavqJyOzsceKi1s3BCiQsiOdn1r/RBgIJYEgCUhbm/8/8/h4saPssnTNkkiWUBrTRtjmQSajw3Ui3pZ3LYDPD+XG2C3JA/yKAS8/rU5eNfuGqRf4eNNgV4YAlIIgxglEkWe6FYpq10+wi3g+/nUgvgPFczNrz/RsTgVm/zfbPuHZlsuQECxuyqBcQwKFBjFgKO8AqP4bAN9tFJtnM9xPcbNjeXS/x1wY/xU52f5W/X1+9cnH4YwKIaoRRAkUkj/YlAAeF/624foiIDBgBmgQBeGAyhBljUPZUm/l2dTvmpqcBDUOHdbPZWd8JsBAsGr4w8/EDn82/bUPx4eh0YNrQTBuHO2FjQEAGBwK0DeI37DpQVqdERS4gZBhpeUhWCfLFz7J99aEBgsJCHvUGAdAPp4IADDCAPCEFMGpMZ9AQpTfQtQGhLbGVBZFV8BaqNyP68oTZgHNj3M8kBPfXTTC9t90UuzYhy9ciH0grVlOcqyCytisvbsERsEYztiznR0WCrmTksJwbSNK6fd1Rvr25I9oLvctUoEbNOmXJbqgYgPXEHJ82IUsrCnpkxh23F1rfZ2zcRnJYoXtauB3VTFkFXQg3uoZYD5qE0kdjDtoDoF1h2bulGmev5HbYhbrjtohQSRI4aNOkffIcT+d3v6atpaYh3JvPoQsztCcqvaBkppDSPcQ3bw3KaCBo1f5CJWTZEgW3LjLofYg51MaVezrx8xZitYbQ9KYeoRaqQdVLwSEfrKXLK1otCWOKNdR/YwYAfon5Yk8O2MJfSD10dPGA5PIJJQMkah0ugMJiv6x4Dm7LEa8xnrRGGGLAg4sAlbsA07sAt76DOsXKO3hIjtIlpnnFrt1qW4kh6NhS83P/6HB/fl1SMAAA==) format('woff2'),
    11                  url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAUQAA0AAAAACDQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAE9AAAABwAAAAchf5yU0dERUYAAATYAAAAHAAAAB4AJwAbT1MvMgAAAaAAAABJAAAAYJAcgU5jbWFwAAACIAAAAF4AAAFqUUxBZ2dhc3AAAATQAAAACAAAAAgAAAAQZ2x5ZgAAApAAAAAyAAAAPL0n8y9oZWFkAAABMAAAADAAAAA2Fi93Z2hoZWEAAAFgAAAAHQAAACQOSgWaaG10eAAAAewAAAAzAAAAVC7TAQBsb2NhAAACgAAAABAAAAAsAOQBAm1heHAAAAGAAAAAHQAAACAAWQALbmFtZQAAAsQAAAF6AAADIYvD/Adwb3N0AAAEQAAAAI4AAADsapk2o3jaY2BkYGAA4ov5mwzj+W2+MnCzXwCKMNzgCBSB0LfbQDQ7AxuI4mBgAlEAFKQIRHjaY2BkYGD3+NvCwMDBAALsDAyMDKhAFAA3+wH3AAAAeNpjYGRgYBBl4GBgYgABEMnIABJzAPMZAAVmAGUAAAB42mNgZlJhnMDAysDCKsKygYGBYRqEZtrDYMT4D8gHSmEHjgUFOQwODAqqf9g9/rYwMLB7MNUAhRlBcsxBrMlASoGBEQAj8QtyAAAAeNrjYGBkAAGmWQwMjO8gmBnIZ2NA0ExAzNjAAFYJVn0ASBsD6VAIDZb7AtELAgANIgb9AHjaY2BgYGaAYBkGRgYQSAHyGMF8FgYPIM3HwMHAxMDGoMCwQIFLQV8hXvXP//9AcRCfAcb///h/ygPW+w/vb7olBjUHCTCyMcAFGZmABBO6AogThgZgIUsXAEDcEzcAAHjaY2BgECMCyoEgACZaAed42mNgYmRgYGBnYGNgYAZSDJqMgorCgoqCjECRXwwNrCAKSP5mAAFGBiRgyAAAi/YFBQAAeNqtkc1OwkAUhU/5M25cEhcsZick0AwlBJq6MWwgJkAgYV/KAA2lJeUn+hY+gktXvpKv4dLTMqKycGHsTZNv7px7z50ZAFd4hYHjdw1Ls4EiHjVncIFnzVnc4F1zDkWjrzmPW+NNcwGlzIRKI3fJlUyrEjZQxb3mDH2fNGfRx4vmHKqG0JzHg6E0F9DOlFBGBxUI1GEzLNT4S0aLuTtsGAEUuYcQHkyg3KmIum1bNUvKlrjbbAIleqHHnS4iSudpQcySMYtdFiXlAxzSbAwfMxK6kZoHKhbjjespMTioOPZnzI+4ucCeTVyKMVKLfeAS6vSWaTinuZwzyy/Dc7vaed+6KaV0kukdPUk6yOcctZPvvxxqksq2lEW8RvHjMEO2FCl/zy6p3NEm0R9OFSafJdldc4QVeyaaObMBO0/5cCaa6d9Ggyubxire+lEojscdjoWUR1xGOy8KD8mG2ZLO2l2paDc3A39qmU2z2W5YNv5+u79e6QfGJY/hAAB42m3NywrCMBQE0DupWp/1AYI7/6DEaLQu66Mrd35BKUWKJSlFv1+rue4cGM7shgR981qSon+ZNwUJ8iDgoYU2OvDRRQ99DDDECAHGmGCKmf80hZSx/Kik/LliFbtmN6xmt+yOjdg9GztV4tROnRwX/Bsaaw51nt4Lc7tWaZYHp/MlzKx51LZs5htNri+2AAAAAQAB//8AD3jaY2BkYGDgAWIxIGZiYARCESBmAfMYAAR6AEMAAAABAAAAANXtRbgAAAAA2AhRFAAAAADYCNuG) format('woff');
    12 
     10        src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAAMoAA0AAAAACDQAAALTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCahEICjx3CywAATYCJANUBCAFhiEHgWwbXQfILgpsY+rQRRARwyAs6uL7pxzYhxEE+32b3aeHmifR6tklkS9hiZA0ewkqGRJE+H7/+6378ASViK/PGeavqJyOzsceKi1s3BCiQsiOdn1r/RBgIJYEgCUhbm/8/8/h4saPssnTNkkiWUBrTRtjmQSajw3Ui3pZ3LYDPD+XG2C3JA/yKAS8/rU5eNfuGqRf4eNNgV4YAlIIgxglEkWe6FYpq10+wi3g+/nUgvgPFczNrz/RsTgVm/zfbPuHZlsuQECxuyqBcQwKFBjFgKO8AqP4bAN9tFJtnM9xPcbNjeXS/x1wY/xU52f5W/X1+9cnH4YwKIaoRRAkUkj/YlAAeF/624foiIDBgBmgQBeGAyhBljUPZUm/l2dTvmpqcBDUOHdbPZWd8JsBAsGr4w8/EDn82/bUPx4eh0YNrQTBuHO2FjQEAGBwK0DeI37DpQVqdERS4gZBhpeUhWCfLFz7J99aEBgsJCHvUGAdAPp4IADDCAPCEFMGpMZ9AQpTfQtQGhLbGVBZFV8BaqNyP68oTZgHNj3M8kBPfXTTC9t90UuzYhy9ciH0grVlOcqyCytisvbsERsEYztiznR0WCrmTksJwbSNK6fd1Rvr25I9oLvctUoEbNOmXJbqgYgPXEHJ82IUsrCnpkxh23F1rfZ2zcRnJYoXtauB3VTFkFXQg3uoZYD5qE0kdjDtoDoF1h2bulGmev5HbYhbrjtohQSRI4aNOkffIcT+d3v6atpaYh3JvPoQsztCcqvaBkppDSPcQ3bw3KaCBo1f5CJWTZEgW3LjLofYg51MaVezrx8xZitYbQ9KYeoRaqQdVLwSEfrKXLK1otCWOKNdR/YwYAfon5Yk8O2MJfSD10dPGA5PIJJQMkah0ugMJiv6x4Dm7LEa8xnrRGGGLAg4sAlbsA07sAt76DOsXKO3hIjtIlpnnFrt1qW4kh6NhS83P/6HB/fl1SMAAA==) format('woff2');
    1311}
    1412
    1513// Font and typographic variables
     
    1614
    1715$font__body: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
    1816$font__heading: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    19 $font__fallbacks: (
    20         /* Arabic */
    21         ar: 'Tahoma, Arial, sans-serif',
    22         ary: 'Tahoma, Arial, sans-serif',
    23         azb: 'Tahoma, Arial, sans-serif',
    24         ckb: 'Tahoma, Arial, sans-serif',
    25         fa-IR: 'Tahoma, Arial, sans-serif',
    26         haz: 'Tahoma, Arial, sans-serif',
    27         ps: 'Tahoma, Arial, sans-serif',
    28         /* Cyrillic */
    29         be: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    30         bg-BG: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    31         kk: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    32         mk-MK: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    33         mn: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    34         ru-RU: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    35         sah: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    36         sr-RS: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    37         tt-RU: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    38         uk: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif',
    39         /* Chinese (Hong Kong) */
    40         zh-HK: '-apple-system, BlinkMacSystemFont, "PingFang HK", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif',
    41         /* Chinese (Taiwan) */
    42         zh-TW: '-apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif',
    43         /* Chinese (China) */
    44         zh-CN: '-apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif',
    45         /* Devanagari */
    46         bn-BD: 'Arial, sans-serif',
    47         hi-IN: 'Arial, sans-serif',
    48         mr: 'Arial, sans-serif',
    49         ne-NP: 'Arial, sans-serif',
    50         /* Greek */
    51         el: '"Helvetica Neue", Helvetica, Arial, sans-serif',
    52         /* Gujarati */
    53         gu: 'Arial, sans-serif',
    54         /* Hebrew */
    55         he-IL: '"Arial Hebrew", Arial, sans-serif',
    56         /* Japanese */
    57         ja: '-apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif',
    58         /* Korean */
    59         ko-KR: '"Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", Dotum, sans-serif',
    60         /* Thai */
    61         th: '"Sukhumvit Set", "Helvetica Neue", helvetica, arial, sans-serif',
    62         /* Vietnamese */
    63         vi: '"Libre Franklin", sans-serif',
    64 );
    6517$font__code: Menlo, monaco, Consolas, Lucida Console, monospace;
    6618$font__pre: "Courier 10 Pitch", Courier, monospace;
    6719