Make WordPress Core

Changeset 44201

Timestamp:
12/14/2018 10:03:36 PM (6 years ago)
Author:
desrosj
Message:

Twenty Nineteen: Fixes and improvements.

This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

Props kjellr, allancole.

See #45424.

Location:
branches/5.0/src/wp-content/themes/twentynineteen
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/readme.txt

    r43964 r44201  
    1 # Twenty Nineteen
     1=== Twenty Nineteen ===
     2Contributors: the WordPress team
     3Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
     4Requires at least: 4.9.6
     5Tested up to: 5.0
     6Stable tag: 1.0
     7License: GPLv2 or later
     8License URI: http://www.gnu.org/licenses/gpl-2.0.html
    29
    3 [![Build Status](https://travis-ci.org/WordPress/twentynineteen.svg?branch=master)](https://travis-ci.org/WordPress/twentynineteen)
     10Our 2019 default theme is designed to show off the power of the block editor.
    411
    5 **Contributors:** the WordPress team 
    6 **Requires at least:** WordPress 4.9.6 
    7 **Tested up to:** WordPress 4.9.8 
    8 **Version:** 1.0 
    9 **License:** GPLv2 or later 
    10 **License URI:** http://www.gnu.org/licenses/gpl-2.0.html 
    11 **Tags:** one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
     12== Description ==
     13Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
    1214
    13 ## Description
     15== Changelog ==
    1416
    15 Twenty Nineteen is a Gutenberg-ready theme for WordPress.
     17= 1.0 =
     18* Initial Release
    1619
    17 ## Installation
    18 
    19 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
    20 2. Type in Twenty Nineteen in the search form and press the 'Enter' key on your keyboard.
    21 3. Click on the 'Activate' button to use your new theme right away.
    22 4. Go to https://codex.wordpress.org/Twenty_Nineteen for a guide on how to customize this theme.
    23 5. Navigate to Appearance > Customize in your admin panel and customize to taste.
    24 
    25 ## Copyright
    26 
    27 Twenty Nineteen WordPress Theme, Copyright 2018 WordPress.org
    28 Twenty Nineteen is distributed under the terms of the GNU GPL.
    29 
    30 This program is free software: you can redistribute it and/or modify
    31 it under the terms of the GNU General Public License as published by
    32 the Free Software Foundation, either version 2 of the License, or
    33 (at your option) any later version.
    34 
    35 This program is distributed in the hope that it will be useful,
    36 but WITHOUT ANY WARRANTY; without even the implied warranty of
    37 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    38 GNU General Public License for more details.
    39 
    40 Twenty Nineteen bundles the following third-party resources:
    41 
    42 _s, Copyright 2015-2018 Automattic, Inc.
    43 **License:** GPLv2 or later
    44 Source: https://github.com/Automattic/_s/
    45 
    46 normalize.css, Copyright 2012-2016 Nicolas Gallagher and Jonathan Neal
    47 **License:** MIT
    48 Source: https://necolas.github.io/normalize.css/
    49 
    50 Bundled header image 1, Copyright XXXXX XXXXX
    51 **License:** CC0 1.0 Universal (CC0 1.0)
    52 Source: https://pexels.com/xxxxxxxxxx
    53 
    54 Bundled header image 2, Copyright XXXXX XXXXX
    55 **License:** CC0 1.0 Universal (CC0 1.0)
    56 Source: https://pexels.com/xxxxxxxxxx
    57 
    58 ## Changelog
    59 
    60 ### 1.0
    61 
    62 * Released: December 6, 2018
    63 
    64 Initial release
     20== Resources ==
     21* normalize.css, © 2012-2018 Nicolas Gallagher and Jonathan Neal, MIT
     22* Underscores, © 2012-2018 Automattic, Inc., GNU GPL v2 or later
  • branches/5.0/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r44199 r44201  
    364364
    365365            blockquote {
    366                 margin-left: 0;
     366                margin 0;
    367367                padding: 0;
    368368                text-align: left;
    369369                max-width: 100%;
     370
     371
     372
     373
    370374            }
    371375        }
     
    401405
    402406            blockquote {
    403                 max-width: calc(100% - (2 * #{$size__spacing-unit}));
     407                max-width: ;
    404408                color: $color__background-body;
    405409                padding-left: 0;
    406410                margin-left: $size__spacing-unit;
     411
    407412
    408413                &.has-text-color p,
     
    419424                    margin-left: 0;
    420425                    margin-right: 0;
     426
     427
     428
     429
     430
     431
     432
    421433                }
    422434            }
     
    542554
    543555            @include media(tablet) {
    544                 padding: $size__spacing-unit;
     556                padding: $size__spacing-unit;
    545557            }
    546558        }
  • branches/5.0/src/wp-content/themes/twentynineteen/style-editor.css

    r44193 r44201  
    761761/* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
    762762.wp-block[data-type="core/freeform"] .mce-btn i {
    763     font-family: dashicons !important;
    764 }
     763font-family: dashicons !important;
     764}
  • branches/5.0/src/wp-content/themes/twentynineteen/style-rtl.css

    r44199 r44201  
    38063806
    38073807.entry .entry-content .wp-block-pullquote.alignleft blockquote, .entry .entry-content .wp-block-pullquote.alignright blockquote {
    3808   margin-right: 0;
     3808  margin 0;
    38093809  padding: 0;
    38103810  text-align: right;
    38113811  max-width: 100%;
     3812
     3813
     3814
     3815
    38123816}
    38133817
     
    38473851
    38483852.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote {
    3849   max-width: calc(100% - (2 * 1rem));
     3853  max-width: ;
    38503854  color: #fff;
    38513855  padding-right: 0;
    38523856  margin-right: 1rem;
     3857
    38533858}
    38543859
     
    38623867    margin-right: 0;
    38633868    margin-left: 0;
     3869
     3870
     3871
     3872
     3873
     3874
    38643875  }
    38653876}
     
    39934004  .entry .entry-content .wp-block-cover.alignleft,
    39944005  .entry .entry-content .wp-block-cover.alignright {
    3995     padding: 1rem;
     4006    padding: 1rem;
    39964007  }
    39974008}
  • branches/5.0/src/wp-content/themes/twentynineteen/style.css

    r44199 r44201  
    38183818
    38193819.entry .entry-content .wp-block-pullquote.alignleft blockquote, .entry .entry-content .wp-block-pullquote.alignright blockquote {
    3820   margin-left: 0;
     3820  margin 0;
    38213821  padding: 0;
    38223822  text-align: left;
    38233823  max-width: 100%;
     3824
     3825
     3826
     3827
    38243828}
    38253829
     
    38593863
    38603864.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote {
    3861   max-width: calc(100% - (2 * 1rem));
     3865  max-width: ;
    38623866  color: #fff;
    38633867  padding-left: 0;
    38643868  margin-left: 1rem;
     3869
    38653870}
    38663871
     
    38743879    margin-left: 0;
    38753880    margin-right: 0;
     3881
     3882
     3883
     3884
     3885
     3886
    38763887  }
    38773888}
     
    40054016  .entry .entry-content .wp-block-cover.alignleft,
    40064017  .entry .entry-content .wp-block-cover.alignright {
    4007     padding: 1rem;
     4018    padding: 1rem;
    40084019  }
    40094020}
Note: See TracChangeset for help on using the changeset viewer.