updated theme Twenty Nineteen
version 2.4
This commit is contained in:
parent
d80868cf0e
commit
555673545b
@ -266,8 +266,8 @@ function twentynineteen_scripts() {
|
||||
wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' );
|
||||
|
||||
if ( has_nav_menu( 'menu-1' ) ) {
|
||||
wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '20181214', true );
|
||||
wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '20181231', true );
|
||||
wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '20200129', true );
|
||||
wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '20221101', true );
|
||||
}
|
||||
|
||||
wp_enqueue_style( 'twentynineteen-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' );
|
||||
|
1380
wp-content/themes/twentynineteen/package-lock.json
generated
1380
wp-content/themes/twentynineteen/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,20 +1,20 @@
|
||||
{
|
||||
"name": "twentynineteen",
|
||||
"version": "2.3.0",
|
||||
"version": "2.4.0",
|
||||
"description": "Default WP Theme",
|
||||
"bugs": {
|
||||
"url": "https://core.trac.wordpress.org/"
|
||||
},
|
||||
"homepage": "https://wordpress.org/themes/twentynineteen/",
|
||||
"devDependencies": {
|
||||
"@wordpress/browserslist-config": "^4.1.2",
|
||||
"autoprefixer": "^9.8.8",
|
||||
"@wordpress/browserslist-config": "^5.1.0",
|
||||
"autoprefixer": "^10.4.12",
|
||||
"chokidar-cli": "^3.0.0",
|
||||
"node-sass": "^6.0.1",
|
||||
"node-sass": "^7.0.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-cli": "^7.1.2",
|
||||
"postcss-focus-within": "^4.0.0",
|
||||
"rtlcss": "^3.5.0"
|
||||
"rtlcss": "^4.0.0"
|
||||
},
|
||||
"rtlcssConfig": {
|
||||
"options": {
|
||||
|
@ -2,8 +2,8 @@
|
||||
Contributors: wordpressdotorg
|
||||
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-patterns
|
||||
Requires at least: 4.9.6
|
||||
Tested up to: 6.0
|
||||
Stable tag: 2.3
|
||||
Tested up to: 6.1
|
||||
Stable tag: 2.4
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -39,6 +39,11 @@ GNU General Public License for more details.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.4 =
|
||||
* Released: November 1, 2022
|
||||
|
||||
https://codex.wordpress.org/Twenty_Nineteen_Theme_Changelog#Version_2.4
|
||||
|
||||
= 2.3 =
|
||||
* Released: May 24, 2022
|
||||
|
||||
|
@ -350,12 +350,12 @@
|
||||
|
||||
//! Pullquote
|
||||
.wp-block-pullquote {
|
||||
color: $color__text-main;
|
||||
border-color: transparent;
|
||||
border-width: 2px;
|
||||
padding: $size__spacing-unit;
|
||||
|
||||
blockquote {
|
||||
color: $color__text-main;
|
||||
border: none;
|
||||
margin-top: calc(4 * #{ $size__spacing-unit});
|
||||
margin-bottom: calc(4.33 * #{ $size__spacing-unit});
|
||||
|
@ -40,6 +40,7 @@ a:focus {
|
||||
outline: thin;
|
||||
outline-style: dotted;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
h1,
|
||||
|
@ -17,5 +17,6 @@ a {
|
||||
&:focus {
|
||||
outline: thin dotted;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
}
|
||||
|
@ -323,6 +323,7 @@
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
|
@ -212,6 +212,7 @@
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
|
||||
&.button,
|
||||
&:hover {
|
||||
|
@ -81,6 +81,7 @@
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.wp-calendar-table {
|
||||
|
@ -58,5 +58,6 @@ a {
|
||||
|
||||
&:focus {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
}
|
||||
|
@ -659,6 +659,8 @@ body .wp-block.aligncenter {
|
||||
|
||||
/** === Base Typography === */
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-size: 22px;
|
||||
font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
|
||||
line-height: 1.8;
|
||||
@ -1059,7 +1061,7 @@ figcaption,
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.71111em;
|
||||
line-height: 1.6;
|
||||
color: #767676;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/** === Pullquote === */
|
||||
|
@ -94,6 +94,8 @@ body {
|
||||
/** === Base Typography === */
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-size: $font__size_base;
|
||||
@include font-family( $font__body );
|
||||
line-height: $font__line-height-body;
|
||||
@ -443,7 +445,7 @@ figcaption,
|
||||
@include font-family( $font__heading );
|
||||
font-size: $font__size-xs;
|
||||
line-height: 1.6;
|
||||
color: $color__text-light;
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,10 +5,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 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.
|
||||
Tested up to: 6.0
|
||||
Tested up to: 6.1
|
||||
Requires at least: 4.9.6
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.3
|
||||
Version: 2.4
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentynineteen
|
||||
@ -2471,6 +2471,7 @@ a:hover {
|
||||
|
||||
a:focus {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
/* Elements */
|
||||
@ -2512,6 +2513,7 @@ a:focus {
|
||||
outline: thin;
|
||||
outline-style: dotted;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
h1,
|
||||
@ -2760,6 +2762,7 @@ a:active {
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
@ -4423,6 +4426,7 @@ body.page .main-navigation {
|
||||
|
||||
.entry .entry-content a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.entry .entry-content a.button, .entry .entry-content a:hover {
|
||||
@ -4900,6 +4904,7 @@ body.page .main-navigation {
|
||||
|
||||
.comment .comment-content a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.comment .comment-content a:hover {
|
||||
@ -5225,6 +5230,7 @@ body.page .main-navigation {
|
||||
|
||||
.widget_calendar .calendar_wrap a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.widget_calendar .calendar_wrap .wp-calendar-table {
|
||||
@ -5662,13 +5668,13 @@ body.page .main-navigation {
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-pullquote {
|
||||
color: #111;
|
||||
border-color: transparent;
|
||||
border-width: 2px;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-pullquote blockquote {
|
||||
color: #111;
|
||||
border: none;
|
||||
margin-top: calc(4 * 1rem);
|
||||
margin-bottom: calc(4.33 * 1rem);
|
||||
|
@ -5,10 +5,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 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.
|
||||
Tested up to: 6.0
|
||||
Tested up to: 6.1
|
||||
Requires at least: 4.9.6
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.3
|
||||
Version: 2.4
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentynineteen
|
||||
@ -2471,6 +2471,7 @@ a:hover {
|
||||
|
||||
a:focus {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
/* Elements */
|
||||
@ -2512,6 +2513,7 @@ a:focus {
|
||||
outline: thin;
|
||||
outline-style: dotted;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
h1,
|
||||
@ -2760,6 +2762,7 @@ a:active {
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
@ -4429,6 +4432,7 @@ body.page .main-navigation {
|
||||
|
||||
.entry .entry-content a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.entry .entry-content a.button, .entry .entry-content a:hover {
|
||||
@ -4906,6 +4910,7 @@ body.page .main-navigation {
|
||||
|
||||
.comment .comment-content a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.comment .comment-content a:hover {
|
||||
@ -5231,6 +5236,7 @@ body.page .main-navigation {
|
||||
|
||||
.widget_calendar .calendar_wrap a {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
|
||||
.widget_calendar .calendar_wrap .wp-calendar-table {
|
||||
@ -5674,13 +5680,13 @@ body.page .main-navigation {
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-pullquote {
|
||||
color: #111;
|
||||
border-color: transparent;
|
||||
border-width: 2px;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-pullquote blockquote {
|
||||
color: #111;
|
||||
border: none;
|
||||
margin-top: calc(4 * 1rem);
|
||||
margin-bottom: calc(4.33 * 1rem);
|
||||
|
1
wp-content/themes/twentynineteen/style.css.map
Normal file
1
wp-content/themes/twentynineteen/style.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -4,10 +4,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 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.
|
||||
Tested up to: 6.0
|
||||
Tested up to: 6.1
|
||||
Requires at least: 4.9.6
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.3
|
||||
Version: 2.4
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentynineteen
|
||||
|
@ -7,7 +7,8 @@
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) :
|
||||
?>
|
||||
|
||||
<aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
@ -21,4 +22,5 @@ if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
?>
|
||||
</aside><!-- .widget-area -->
|
||||
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
endif;
|
||||
|
@ -11,7 +11,9 @@ $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentyni
|
||||
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
|
||||
<?php if ( ! is_page() ) : ?>
|
||||
<?php
|
||||
if ( ! is_page() ) :
|
||||
?>
|
||||
<div class="entry-meta">
|
||||
<?php twentynineteen_posted_by(); ?>
|
||||
<?php twentynineteen_posted_on(); ?>
|
||||
@ -43,4 +45,5 @@ $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentyni
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
endif;
|
||||
|
@ -7,7 +7,8 @@
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
if ( (bool) get_the_author_meta( 'description' ) ) : ?>
|
||||
if ( (bool) get_the_author_meta( 'description' ) ) :
|
||||
?>
|
||||
<div class="author-bio">
|
||||
<h2 class="author-title">
|
||||
<span class="author-heading">
|
||||
@ -27,4 +28,5 @@ if ( (bool) get_the_author_meta( 'description' ) ) : ?>
|
||||
</a>
|
||||
</p><!-- .author-description -->
|
||||
</div><!-- .author-bio -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
endif;
|
||||
|
Loading…
Reference in New Issue
Block a user