<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[43800] branches/5.0/src/wp-content/themes/twentyseventeen: Twenty Seventeen: Add styles and support for the new block-based editor.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/43800">43800</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/43800","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>davidakennedy</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2018-10-23 01:25:03 +0000 (Tue, 23 Oct 2018)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Twenty Seventeen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Seventeen.
These are the specific changes made to this theme:
* Add blocks.css, to style blocks on the front end, to make sure they match the theme's existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme's existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
Props laurelfulford, ianbelanger, crunnells.
Fixes <a href="https://core.trac.wordpress.org/ticket/45045">#45045</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branches50srcwpcontentthemestwentyseventeenfunctionsphp">branches/5.0/src/wp-content/themes/twentyseventeen/functions.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#branches50srcwpcontentthemestwentyseventeenassetscssblockscss">branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/blocks.css</a></li>
<li><a href="#branches50srcwpcontentthemestwentyseventeenassetscsseditorblockscss">branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches50srcwpcontentthemestwentyseventeenassetscssblockscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/blocks.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/blocks.css (rev 0)
+++ branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/blocks.css 2018-10-23 01:25:03 UTC (rev 43800)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,275 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+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 Image */
+
+.wp-block-cover-image.alignright,
+.wp-block-cover-image.alignleft,
+.wp-block-cover-image.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;
+}
+
+/*--------------------------------------------------------------
+5.0 Blocks - Widgets
+--------------------------------------------------------------*/
+
+/* 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;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/blocks.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches50srcwpcontentthemestwentyseventeenassetscsseditorblockscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css (rev 0)
+++ branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css 2018-10-23 01:25:03 UTC (rev 43800)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,776 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+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;
+}
+
+.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,
+html[lang="mr-IN"] .edit-post-visual-editor .editor-block-list__block {
+ font-family: Arial, sans-serif;
+}
+
+html[lang="bn-BD"] .edit-post-visual-editor h1,
+html[lang="bn-BD"] .edit-post-visual-editor h2,
+html[lang="bn-BD"] .edit-post-visual-editor h3,
+html[lang="bn-BD"] .edit-post-visual-editor h4,
+html[lang="bn-BD"] .edit-post-visual-editor h5,
+html[lang="bn-BD"] .edit-post-visual-editor h6,
+html[lang="hi-IN"] .edit-post-visual-editor h1,
+html[lang="hi-IN"] .edit-post-visual-editor h2,
+html[lang="hi-IN"] .edit-post-visual-editor h3,
+html[lang="hi-IN"] .edit-post-visual-editor h4,
+html[lang="hi-IN"] .edit-post-visual-editor h5,
+html[lang="hi-IN"] .edit-post-visual-editor h6,
+html[lang="mr-IN"] .edit-post-visual-editor h1,
+html[lang="mr-IN"] .edit-post-visual-editor h2,
+html[lang="mr-IN"] .edit-post-visual-editor h3,
+html[lang="mr-IN"] .edit-post-visual-editor h4,
+html[lang="mr-IN"] .edit-post-visual-editor h5,
+html[lang="mr-IN"] .edit-post-visual-editor h6 {
+ font-weight: 700;
+}
+
+/* Typography for Greek Font */
+
+html[lang="el"] .edit-post-visual-editor .editor-block-list__block {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+
+html[lang="el"] .edit-post-visual-editor h1,
+html[lang="el"] .edit-post-visual-editor h2,
+html[lang="el"] .edit-post-visual-editor h3,
+html[lang="el"] .edit-post-visual-editor h4,
+html[lang="el"] .edit-post-visual-editor h5,
+html[lang="el"] .edit-post-visual-editor h6 {
+ font-weight: 700;
+ line-height: 1.3;
+}
+
+/* Typography for Gujarati Font */
+
+html[lang="gu-IN"] .edit-post-visual-editor .editor-block-list__block {
+ font-family: Arial, sans-serif;
+}
+
+html[lang="gu-IN"] .edit-post-visual-editor h1,
+html[lang="gu-IN"] .edit-post-visual-editor h2,
+html[lang="gu-IN"] .edit-post-visual-editor h3,
+html[lang="gu-IN"] .edit-post-visual-editor h4,
+html[lang="gu-IN"] .edit-post-visual-editor h5,
+html[lang="gu-IN"] .edit-post-visual-editor h6 {
+ font-weight: 700;
+}
+
+/* Typography for Hebrew Font */
+
+html[lang="he-IL"] .edit-post-visual-editor .editor-block-list__block {
+ font-family: "Arial Hebrew", Arial, sans-serif;
+}
+
+html[lang="he-IL"] .edit-post-visual-editor h1,
+html[lang="he-IL"] .edit-post-visual-editor h2,
+html[lang="he-IL"] .edit-post-visual-editor h3,
+html[lang="he-IL"] .edit-post-visual-editor h4,
+html[lang="he-IL"] .edit-post-visual-editor h5,
+html[lang="he-IL"] .edit-post-visual-editor h6 {
+ font-weight: 700;
+}
+
+/* Typography for Japanese Font */
+
+html[lang="ja"] .edit-post-visual-editor .editor-block-list__block {
+ font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
+}
+
+html[lang="ja"] .edit-post-visual-editor h1,
+html[lang="ja"] .edit-post-visual-editor h2,
+html[lang="ja"] .edit-post-visual-editor h3,
+html[lang="ja"] .edit-post-visual-editor h4,
+html[lang="ja"] .edit-post-visual-editor h5,
+html[lang="ja"] .edit-post-visual-editor h6 {
+ font-weight: 700;
+}
+
+/* Typography for Korean font */
+
+html[lang="ko-KR"] .edit-post-visual-editor .editor-block-list__block {
+ font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", Dotum, sans-serif;
+}
+
+html[lang="ko-KR"] .edit-post-visual-editor h1,
+html[lang="ko-KR"] .edit-post-visual-editor h2,
+html[lang="ko-KR"] .edit-post-visual-editor h3,
+html[lang="ko-KR"] .edit-post-visual-editor h4,
+html[lang="ko-KR"] .edit-post-visual-editor h5,
+html[lang="ko-KR"] .edit-post-visual-editor h6 {
+ font-weight: 600;
+}
+
+/* Typography for Thai Font */
+
+html[lang="th"] .edit-post-visual-editor .editor-block-list__block {
+ line-height: 1.8;
+ font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+
+html[lang="th"] .edit-post-visual-editor h1,
+html[lang="th"] .edit-post-visual-editor h2,
+html[lang="th"] .edit-post-visual-editor h3,
+html[lang="th"] .edit-post-visual-editor h4,
+html[lang="th"] .edit-post-visual-editor h5,
+html[lang="th"] .edit-post-visual-editor h6 {
+ line-height: 1.65;
+ font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+
+/* Remove letter-spacing for all non-latin alphabets */
+
+html[lang="ar"] .edit-post-visual-editor *,
+html[lang="ary"] .edit-post-visual-editor *,
+html[lang="azb"] .edit-post-visual-editor *,
+html[lang="haz"] .edit-post-visual-editor *,
+html[lang="ps"] .edit-post-visual-editor *,
+html[lang^="zh-"] .edit-post-visual-editor *,
+html[lang="bg-BG"] .edit-post-visual-editor *,
+html[lang="ru-RU"] .edit-post-visual-editor *,
+html[lang="uk"] .edit-post-visual-editor *,
+html[lang="bn-BD"] .edit-post-visual-editor *,
+html[lang="hi-IN"] .edit-post-visual-editor *,
+html[lang="mr-IN"] .edit-post-visual-editor *,
+html[lang="el"] .edit-post-visual-editor *,
+html[lang="gu-IN"] .edit-post-visual-editor *,
+html[lang="he-IL"] .edit-post-visual-editor *,
+html[lang="ja"] .edit-post-visual-editor *,
+html[lang="ko-KR"] .edit-post-visual-editor *,
+html[lang="th"] .edit-post-visual-editor * {
+ letter-spacing: 0 !important;
+}
+
+/*--------------------------------------------------------------
+2.0 General Block Settings
+--------------------------------------------------------------*/
+
+/* Main column width */
+
+body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
+body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
+body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
+ max-width: 740px;
+}
+
+/* Background color */
+
+.gutenberg-editor-page .editor-block-list__block {
+ background-color: transparent;
+}
+
+/* Alignments */
+
+.edit-post-visual-editor .alignleft {
+ margin-right: 1.5em;
+}
+
+.edit-post-visual-editor .alignright {
+ margin-left: 1.5em;
+}
+
+/* Link styles */
+
+.edit-post-visual-editor a,
+.editor-block-list__block a,
+.wp-block-freeform.block-library-rich-text__tinymce a {
+ color: #222;
+}
+
+/* List styles */
+
+.edit-post-visual-editor ul:not(.wp-block-gallery),
+.editor-block-list__block ul:not(.wp-block-gallery),
+.block-library-list ul,
+.edit-post-visual-editor ol,
+.editor-block-list__block ol,
+.block-library-list ol,
+.block-library-list .editor-rich-text__tinymce {
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+}
+
+.edit-post-visual-editor ul:not(.wp-block-gallery),
+.editor-block-list__block ul:not(.wp-block-gallery),
+.block-library-list ul {
+ list-style: disc;
+}
+
+.edit-post-visual-editor ol,
+.editor-block-list__block ol,
+.block-library-list ol {
+ list-style: decimal;
+}
+
+.edit-post-visual-editor li > ul:not(.wp-block-gallery),
+.editor-block-list__block li > ul:not(.wp-block-gallery),
+.block-library-list li > ul:not(.wp-block-gallery),
+.edit-post-visual-editor li > ol,
+.editor-block-list__block li > ol,
+.block-library-list li > ol {
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+
+.edit-post-visual-editor li,
+.editor-block-list__block li,
+.block-library-list li {
+ margin: 0;
+}
+
+.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
+.rtl .editor-block-list__block ul:not(.wp-block-gallery),
+.rtl .block-library-list ul,
+.rtl .edit-post-visual-editor ol,
+.rtl .editor-block-list__block ol,
+.rtl .block-library-list ol,
+.rtl .block-library-list .editor-rich-text__tinymce,
+.rtl .edit-post-visual-editor li > ul:not(.wp-block-gallery),
+.rtl .editor-block-list__block li > ul:not(.wp-block-gallery),
+.rtl .block-library-list li > ul:not(.wp-block-gallery),
+.rtl .edit-post-visual-editor li > ol,
+.rtl .editor-block-list__block li > ol,
+.rtl .block-library-list li > ol {
+ margin-left: 1.5em;
+ margin-right: 1.5em;
+}
+
+/* Quote styles */
+
+.editor-block-list__block blockquote p {
+ font-size: 18px;
+ font-size: 1.125rem;
+}
+
+.editor-block-list__block blockquote.alignright p,
+.editor-block-list__block blockquote.alignleft p {
+ font-size: 13px;
+ font-size: 0.8125rem;
+}
+
+.editor-block-list__block blockquote cite {
+ display: block;
+ font-style: normal;
+ font-weight: 600;
+ margin-top: 0.5em;
+}
+
+/* Caption styles*/
+
+[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;
+}
+
+/* Code styles */
+
+.wp-block-freeform.block-library-rich-text__tinymce code {
+ background: transparent;
+}
+
+/* Table styles */
+
+.rtl .editor-block-list__block th {
+ text-align: right;
+}
+
+/*--------------------------------------------------------------
+3.0 Blocks - Common Blocks
+--------------------------------------------------------------*/
+
+/* Paragraph */
+
+.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
+ font-size: 5em;
+ margin-top: 0.075em;
+}
+
+/* Gallery */
+
+.wp-block-gallery figcaption {
+ font-style: italic;
+}
+
+/* Quote */
+
+.wp-block-quote {
+ color: #666;
+ font-size: 18px;
+ font-size: 1.125rem;
+ font-style: italic;
+ line-height: 1.7;
+}
+
+.wp-block-quote:not(.is-large):not(.is-style-large) {
+ border: 0;
+ padding: 0;
+}
+
+.editor-block-list__block .wp-block-quote .wp-block-quote__citation {
+ color: inherit;
+ display: block;
+ font-size: inherit;
+ font-style: normal;
+ font-weight: 600;
+ margin-top: 0.5em;
+}
+
+.wp-block-quote.alignleft,
+.wp-block-quote.alignright {
+ color: #666;
+ width: 48%;
+}
+
+.editor-block-list__block .wp-block-quote.alignleft p,
+.editor-block-list__block .wp-block-quote.alignright p,
+.editor-block-list__block .wp-block-quote.alignleft .wp-block-quote__citation,
+.editor-block-list__block .wp-block-quote.alignright .wp-block-quote__citation {
+ font-size: 13px;
+ font-size: 0.8125rem;
+}
+
+.editor-block-list__block .wp-block-quote.alignleft p:last-of-type,
+.editor-block-list__block .wp-block-quote.alignright p:last-of-type {
+ margin-bottom: 0;
+}
+
+.wp-block-quote.is-large .wp-block-quote__citation,
+.wp-block-quote.is-style-large .wp-block-quote__citation {
+ text-align: right;
+}
+
+.rtl .wp-block-quote.is-large .wp-block-quote__citation,
+.rtl .wp-block-quote.is-style-large .wp-block-quote__citation {
+ text-align: left;
+}
+
+@media screen and (min-width: 30em) {
+ .editor-block-list__block .wp-block-quote.alignleft p,
+ .editor-block-list__block .wp-block-quote.alignright p,
+ .editor-block-list__block .wp-block-quote.alignleft .wp-block-quote__citation,
+ .editor-block-list__block .wp-block-quote.alignright .wp-block-quote__citation,
+ .editor-block-list__block .wp-block-quote footer {
+ font-size: 14px;
+ font-size: 0.875rem;
+ }
+}
+
+@media screen and (min-width: 48em) {
+ .editor-block-list__block .wp-block-quote.alignleft p,
+ .editor-block-list__block .wp-block-quote.alignright p,
+ .editor-block-list__block .wp-block-quote.alignleft .wp-block-quote__citation,
+ .editor-block-list__block .wp-block-quote.alignright .wp-block-quote__citation {
+ font-size: 13px;
+ font-size: 0.8125rem;
+ }
+
+ .editor-block-list__block .wp-block-quote.alignleft {
+ margin-left: -17.5%;
+ width: 48%;
+ }
+
+ .editor-block-list__block .wp-block-quote.alignright {
+ margin-right: -17.5%;
+ width: 48%;
+ }
+}
+
+/* File */
+
+.wp-block-file .wp-block-file__textlink {
+ -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 1);
+ box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 1);
+}
+
+.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;
+ padding: 0.7em 2em;
+ -webkit-transition: background-color 0.2s ease-in-out;
+ transition: background-color 0.2s ease-in-out;
+ white-space: nowrap;
+}
+
+/*--------------------------------------------------------------
+4.0 Blocks - Formatting
+--------------------------------------------------------------*/
+
+/* Code */
+
+.wp-block-code {
+ border: 0;
+ padding: 0;
+}
+
+/* Classic */
+
+.wp-block-freeform.block-library-rich-text__tinymce li,
+.wp-block-freeform.block-library-rich-text__tinymce p {
+ line-height: 1.5;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote {
+ border: 0;
+ padding: 0;
+}
+
+/* Pullquote */
+
+.wp-block-pullquote {
+ border: 0;
+}
+
+.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
+.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
+ font-size: 20px;
+}
+
+
+.wp-block-pullquote .wp-block-pullquote__citation {
+ font-size: inherit;
+ font-weight: 600;
+ text-transform: none;
+}
+
+/* Table */
+
+table.wp-block-table {
+ border-collapse: collapse;
+ margin: 0 0 1.5em;
+ width: 100%;
+}
+
+table.wp-block-table thead th {
+ border: 0;
+ border-bottom: 2px solid #bbb;
+ padding-bottom: 0.5em;
+}
+
+table.wp-block-table th {
+ padding: 0.4em;
+ text-align: left;
+}
+
+table.wp-block-table tr {
+ border-bottom: 1px solid #eee;
+}
+
+table.wp-block-table td {
+ border: 0;
+ padding: 0.4em;
+}
+
+table.wp-block-table th:first-child,
+table.wp-block-table td:first-child {
+ padding-left: 0;
+}
+
+table.wp-block-table th:last-child,
+table.wp-block-table td:last-child {
+ padding-right: 0;
+}
+
+.wp-block-table__cell-content {
+ padding: 0;
+}
+
+.rtl table.wp-block-table th,
+.rtl table.wp-block-table td {
+ text-align: right;
+}
+
+/*--------------------------------------------------------------
+5.0 Blocks - Layout Elements
+--------------------------------------------------------------*/
+
+/* Separators */
+
+.edit-post-visual-editor .wp-block-separator {
+ border: 0;
+}
+
+/* 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;
+}
+/*--------------------------------------------------------------
+6.0 Blocks - Widgets
+--------------------------------------------------------------*/
+
+/* Latest Comments */
+
+.editor-block-list__block ol.wp-block-latest-comments > li:before {
+ content: '';
+}
+
+.wp-block-latest-comments article {
+ margin-bottom: 4em;
+}
+
+.wp-block-latest-comments .avatar,
+.wp-block-latest-comments__comment-avatar {
+ border-radius: 0;
+}
+
+.wp-block-latest-comments__comment-meta {
+ font-size: 16px;
+ font-size: 1rem;
+ margin-bottom: 0.4em;
+}
+
+.editor-block-list__block .wp-block-latest-comments__comment-meta a {
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ font-weight: 700;
+}
+
+.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;
+}
+
+/* Latest Posts */
+
+.edit-post-visual-editor .wp-block-latest-posts.is-grid {
+ list-style: none;
+ margin-left: 0;
+ margin-right: 0;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches50srcwpcontentthemestwentyseventeenfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/src/wp-content/themes/twentyseventeen/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-content/themes/twentyseventeen/functions.php 2018-10-23 01:03:09 UTC (rev 43799)
+++ branches/5.0/src/wp-content/themes/twentyseventeen/functions.php 2018-10-23 01:25:03 UTC (rev 43800)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -106,6 +106,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add_editor_style( array( 'assets/css/editor-style.css', twentyseventeen_fonts_url() ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Load regular editor styles into the new block-based editor.
+ add_theme_support( 'editor-styles' );
+
+ // Load default block styles.
+ add_theme_support( 'wp-block-styles' );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Define and register starter content to showcase the theme on new sites.
</span><span class="cx" style="display: block; padding: 0 10px"> $starter_content = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'widgets' => array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -415,6 +421,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Theme stylesheet.
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Theme block stylesheet.
+ wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), '1.0' );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Load the dark colorscheme.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'dark' === get_theme_mod( 'colorscheme', 'light' ) || is_customize_preview() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_style( 'twentyseventeen-colors-dark', get_theme_file_uri( '/assets/css/colors-dark.css' ), array( 'twentyseventeen-style' ), '1.0' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -460,6 +469,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_enqueue_scripts', 'twentyseventeen_scripts' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Enqueue editor styles for Gutenberg
+ *
+ * @since Twenty Seventeen 1.8
+ */
+function twentyseventeen_block_editor_styles() {
+ // Block styles.
+ wp_enqueue_style( 'twentyseventeen-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.css' ) );
+ // Add custom fonts.
+ wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null );
+}
+add_action( 'enqueue_block_editor_assets', 'twentyseventeen_block_editor_styles' );
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Add custom image sizes attribute to enhance responsive image functionality
</span><span class="cx" style="display: block; padding: 0 10px"> * for content images.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre>
</div>
</div>
</body>
</html>