Commit f41ed4cc authored by lucha's avatar lucha
Browse files

[auto] theme: twentyseventeen 1.8

parent 02d77d34
...@@ -31,5 +31,4 @@ get_header(); ?> ...@@ -31,5 +31,4 @@ get_header(); ?>
</div><!-- #primary --> </div><!-- #primary -->
</div><!-- .wrap --> </div><!-- .wrap -->
<?php <?php get_footer();
get_footer();
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Contributors: the WordPress team Contributors: the WordPress team
Requires at least: WordPress 4.7 Requires at least: WordPress 4.7
Tested up to: WordPress 5.0-trunk Tested up to: WordPress 5.0-trunk
Version: 1.7 Version: 1.8
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
...@@ -60,6 +60,11 @@ Source: https://unsplash.com/@englr?photo=bIhpiQA009k ...@@ -60,6 +60,11 @@ Source: https://unsplash.com/@englr?photo=bIhpiQA009k
== Changelog == == Changelog ==
= 1.8 =
* Released: December 6, 2018
https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.8
= 1.7 = = 1.7 =
* Released: August 2, 2018 * Released: August 2, 2018
......
...@@ -27,12 +27,10 @@ get_header(); ?> ...@@ -27,12 +27,10 @@ get_header(); ?>
<main id="main" class="site-main" role="main"> <main id="main" class="site-main" role="main">
<?php <?php
if ( have_posts() ) : if ( have_posts() ) : ?>
?>
<?php <?php
/* Start the Loop */ /* Start the Loop */
while ( have_posts() ) : while ( have_posts() ) : the_post();
the_post();
/* /*
* Include the Post-Format-specific template for the content. * Include the Post-Format-specific template for the content.
...@@ -43,25 +41,21 @@ get_header(); ?> ...@@ -43,25 +41,21 @@ get_header(); ?>
endwhile; endwhile;
the_posts_pagination( the_posts_pagination( array(
array(
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>', 'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ), 'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>', 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
) ) );
);
else : else :
get_template_part( 'template-parts/post/content', 'none' ); get_template_part( 'template-parts/post/content', 'none' );
endif; endif; ?>
?>
</main><!-- #main --> </main><!-- #main -->
</div><!-- #primary --> </div><!-- #primary -->
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</div><!-- .wrap --> </div><!-- .wrap -->
<?php <?php get_footer();
get_footer();
/*
Theme Name: Twenty Seventeen
Description: Used to style Gutenberg Blocks.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Blocks - Common Blocks
2.0 Blocks - Formatting
3.0 Blocks - Layout Elements
4.0 Blocks - Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/
/* Captions */
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
font-style: italic;
margin-bottom: 1.5em;
text-align: left;
}
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
text-align: right;
}
/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/
/* Paragraph */
p.has-drop-cap:not(:focus)::first-letter {
font-size: 5em;
margin-top: 0.075em;
}
/* Image */
.wp-block-image {
margin-bottom: 1.5em;
}
.wp-block-image figure {
margin-bottom: 0;
margin-top: 0;
}
.wp-block-image figure.alignleft {
margin-right: 1.5em;
}
.wp-block-image figure.alignright {
margin-left: 1.5em;
}
/* Gallery */
.wp-block-gallery {
margin-bottom: 1.5em;
}
.wp-block-gallery figcaption {
font-style: italic;
}
.wp-block-gallery.aligncenter {
display: flex;
margin: 0 -8px;
}
/* Quote */
.wp-block-quote:not(.is-large):not(.is-style-large) {
border: 0;
padding: 0;
}
.wp-block-quote.alignleft p:last-of-type,
.wp-block-quote.alignright p:last-of-type {
margin-bottom: 0;
}
.wp-block-quote cite {
color: inherit;
font-size: inherit;
}
/* Audio */
.wp-block-audio audio {
display: block;
width: 100%;
}
/* Cover */
.wp-block-cover-image.alignright,
.wp-block-cover.alignright,
.wp-block-cover-image.alignleft,
.wp-block-cover.alignleft,
.wp-block-cover-image.aligncenter,
.wp-block-cover.aligncenter {
display: flex;
}
/* File */
.wp-block-file .wp-block-file__button {
background-color: #222;
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
display: inline-block;
font-size: 14px;
font-size: 0.875rem;
font-weight: 800;
margin-top: 2em;
padding: 0.7em 2em;
-webkit-transition: background-color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out;
white-space: nowrap;
}
.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus {
background-color: #767676;
-webkit-box-shadow: none;
box-shadow: none;
}
/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/
/* Code */
.wp-block-code {
background: transparent;
border: 0;
padding: 0;
}
/* Pullquote */
.wp-block-pullquote {
border: 0;
}
.wp-block-pullquote__citation,
.wp-block-pullquote cite {
font-size: inherit;
text-transform: none;
}
/* Table */
.wp-block-table thead th {
border-bottom: 2px solid #bbb;
padding-bottom: 0.5em;
}
.wp-block-table tr {
border-bottom: 1px solid #eee;
}
.wp-block-table th,
.wp-block-table td {
border: 0;
}
.rtl .wp-block-table th,
.rtl .wp-block-table td {
text-align: right;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/
/* Buttons */
.wp-block-button .wp-block-button__link {
background-color: #222;
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
display: inline-block;
font-size: 14px;
font-size: 0.875rem;
font-weight: 800;
line-height: 1.66;
margin-top: 2em;
padding: 0.7em 2em;
-webkit-transition: background-color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out;
white-space: nowrap;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
background-color: #767676;
-webkit-box-shadow: none;
box-shadow: none;
}
/* Separator */
.wp-block-separator {
border: 0;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 100px;
}
/* Media & Text */
.wp-block-media-text {
margin-bottom: 1.5em;
}
.wp-block-media-text *:last-child {
margin-bottom: 0;
}
/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/
/* Archives, Categories & Latest Posts */
.wp-block-archives.aligncenter,
.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter {
list-style-position: inside;
text-align: center;
}
/* Comments */
.wp-block-latest-comments article {
margin-bottom: 4em;
}
.blog:not(.has-sidebar) #primary .wp-block-latest-comments article,
.archive:not(.page-one-column):not(.has-sidebar) #primary .wp-block-latest-comments article,
.search:not(.has-sidebar) #primary .wp-block-latest-comments article {
float: none;
width: 100%;
}
.wp-block-latest-comments .avatar,
.wp-block-latest-comments__comment-avatar {
border-radius: 0;
}
.wp-block-latest-comments a {
-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
}
.wp-block-latest-comments__comment-meta {
font-size: 16px;
font-size: 1rem;
margin-bottom: 0.4em;
}
.wp-block-latest-comments__comment-author,
.wp-block-latest-comments__comment-link {
font-weight: 700;
text-decoration: none;
}
.wp-block-latest-comments__comment-date {
color: #767676;
font-size: 10px;
font-size: 0.625rem;
font-weight: 800;
letter-spacing: 0.1818em;
margin-top: 0.4em;
text-transform: uppercase;
}
.editor-block-list__block .wp-block-latest-comments__comment-excerpt p {
font-size: 14px;
font-size: 0.875rem;
}
/*
Theme Name: Twenty Seventeen
Description: Used to style Gutenberg Blocks in the editor.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Typography
2.0 General Block Settings
3.0 Blocks - Common Blocks
4.0 Blocks - Formatting
5.0 Blocks - Layout Elements
6.0 Blocks - Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 General Typography
--------------------------------------------------------------*/
.edit-post-visual-editor .editor-block-list__block,
.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
font-size: 15px;
font-size: 0.9375rem;
}
.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}
.edit-post-visual-editor .editor-block-list__block {
color: #333;
}
.editor-post-title__block .editor-post-title__input {
color: #333;
font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
font-size: 20px;
font-size: 1.25rem;
font-weight: 300;
}
@media screen and (min-width: 30em) {
.edit-post-visual-editor .editor-block-list__block {
font-size: 18px;
font-size: 1.125rem;
}
.editor-post-title__block .editor-post-title__input {
font-size: 26px;
font-size: 1.625rem;
}
.edit-post-visual-editor .editor-block-list__block h1 {
font-size: 30px;
font-size: 1.875rem;
}
.edit-post-visual-editor .editor-block-list__block h2 {
font-size: 26px;
font-size: 1.625rem;
}
.edit-post-visual-editor .editor-block-list__block h3 {
font-size: 22px;
font-size: 1.375rem;
}
.edit-post-visual-editor .editor-block-list__block h4 {
font-size: 18px;
font-size: 1.125rem;
}
.edit-post-visual-editor .editor-block-list__block h5 {
font-size: 13px;
font-size: 0.8125rem;
}
.edit-post-visual-editor .editor-block-list__block h6 {
font-size: 16px;
font-size: 1rem;
}
}
@media screen and (min-width: 48em) {
.edit-post-visual-editor .editor-block-list__block {
font-size: 16px;
font-size: 1rem;
}
.editor-rich-text__tinymce.mce-content-body {
line-height: 1.5;
}
}
/* Typography for Arabic Font */
html[lang="ar"] .edit-post-visual-editor .editor-block-list__block,
html[lang="ary"] .edit-post-visual-editor .editor-block-list__block,
html[lang="azb"] .edit-post-visual-editor .editor-block-list__block,
html[lang="fa-IR"] .edit-post-visual-editor .editor-block-list__block,
html[lang="haz"] .edit-post-visual-editor .editor-block-list__block,
html[lang="ps"] .edit-post-visual-editor .editor-block-list__block,
html[lang="ur"] .edit-post-visual-editor .editor-block-list__block {
font-family: Tahoma, Arial, sans-serif;
}
html[lang="ar"] .edit-post-visual-editor h1,
html[lang="ar"] .edit-post-visual-editor h2,
html[lang="ar"] .edit-post-visual-editor h3,
html[lang="ar"] .edit-post-visual-editor h4,
html[lang="ar"] .edit-post-visual-editor h5,
html[lang="ar"] .edit-post-visual-editor h6,
html[lang="ary"] .edit-post-visual-editor h1,
html[lang="ary"] .edit-post-visual-editor h2,
html[lang="ary"] .edit-post-visual-editor h3,
html[lang="ary"] .edit-post-visual-editor h4,
html[lang="ary"] .edit-post-visual-editor h5,
html[lang="ary"] .edit-post-visual-editor h6,
html[lang="azb"] .edit-post-visual-editor h1,
html[lang="azb"] .edit-post-visual-editor h2,
html[lang="azb"] .edit-post-visual-editor h3,
html[lang="azb"] .edit-post-visual-editor h4,
html[lang="azb"] .edit-post-visual-editor h5,
html[lang="azb"] .edit-post-visual-editor h6,
html[lang="fa-IR"] .edit-post-visual-editor h1,
html[lang="fa-IR"] .edit-post-visual-editor h2,
html[lang="fa-IR"] .edit-post-visual-editor h3,
html[lang="fa-IR"] .edit-post-visual-editor h4,
html[lang="fa-IR"] .edit-post-visual-editor h5,
html[lang="fa-IR"] .edit-post-visual-editor h6,
html[lang="haz"] .edit-post-visual-editor h1,
html[lang="haz"] .edit-post-visual-editor h2,
html[lang="haz"] .edit-post-visual-editor h3,
html[lang="haz"] .edit-post-visual-editor h4,
html[lang="haz"] .edit-post-visual-editor h5,
html[lang="haz"] .edit-post-visual-editor h6,
html[lang="ps"] .edit-post-visual-editor h1,
html[lang="ps"] .edit-post-visual-editor h2,
html[lang="ps"] .edit-post-visual-editor h3,
html[lang="ps"] .edit-post-visual-editor h4,
html[lang="ps"] .edit-post-visual-editor h5,
html[lang="ps"] .edit-post-visual-editor h6,
html[lang="ur"] .edit-post-visual-editor h1,
html[lang="ur"] .edit-post-visual-editor h2,
html[lang="ur"] .edit-post-visual-editor h3,
html[lang="ur"] .edit-post-visual-editor h4,
html[lang="ur"] .edit-post-visual-editor h5,
html[lang="ur"] .edit-post-visual-editor h6 {
font-weight: 700;
}
/* Typography for Chinese Font */
html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block,
html[lang="zh-CN"] .edit-post-visual-editor .editor-block-list__block {
font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif;
}
html[lang^="zh-"] .edit-post-visual-editor h1,
html[lang^="zh-"] .edit-post-visual-editor h2,
html[lang^="zh-"] .edit-post-visual-editor h3,
html[lang^="zh-"] .edit-post-visual-editor h4,
html[lang^="zh-"] .edit-post-visual-editor h5,
html[lang^="zh-"] .edit-post-visual-editor h6 {
font-weight: 700;
}
/* Typography for Cyrillic Font */
html[lang="bg-BG"] .edit-post-visual-editor .editor-block-list__block,
html[lang="ru-RU"] .edit-post-visual-editor .editor-block-list__block,
html[lang="uk"] .edit-post-visual-editor .editor-block-list__block {
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}
html[lang="bg-BG"] .edit-post-visual-editor h1,
html[lang="bg-BG"] .edit-post-visual-editor h2,
html[lang="bg-BG"] .edit-post-visual-editor h3,
html[lang="bg-BG"] .edit-post-visual-editor h4,
html[lang="bg-BG"] .edit-post-visual-editor h5,
html[lang="bg-BG"] .edit-post-visual-editor h6,
html[lang="ru-RU"] .edit-post-visual-editor h1,
html[lang="ru-RU"] .edit-post-visual-editor h2,
html[lang="ru-RU"] .edit-post-visual-editor h3,
html[lang="ru-RU"] .edit-post-visual-editor h4,
html[lang="ru-RU"] .edit-post-visual-editor h5,
html[lang="ru-RU"] .edit-post-visual-editor h6,
html[lang="uk"] .edit-post-visual-editor h1,
html[lang="uk"] .edit-post-visual-editor h2,
html[lang="uk"] .edit-post-visual-editor h3,
html[lang="uk"] .edit-post-visual-editor h4,
html[lang="uk"] .edit-post-visual-editor h5,
html[lang="uk"] .edit-post-visual-editor h6 {
font-weight: 700;
line-height: 1.2;
}
/* Typography for Devanagari Font */
html[lang="bn-BD"] .edit-post-visual-editor .editor-block-list__block,
html[lang="hi-IN"] .edit-post-visual-editor .editor-block-list__block,