浏览代码

Updated screenshot. Fix editor page title alignment. Site Logo styles.

Jeffrey Pearce 5 年之前
父节点
当前提交
a110ab868c

+ 4 - 1
stratford/sass/_extra-child-theme.scss

@@ -114,6 +114,9 @@ a {
 					text-decoration: none;
 				}
 			}
+			.site-logo {
+				margin-bottom: $spacing_horizontal;
+			}
 		}
 		.site-menu {
 			display: block;
@@ -441,4 +444,4 @@ input[type="submit"],
 .wp-block-verse {
 	font-family: $font_family_code;
 	font-size: $font_size_base;
-}
+}

+ 1 - 1
stratford/sass/style-child-theme-editor.scss

@@ -90,7 +90,7 @@ $font_size_widget_title: #{map-deep-get($config-heading, "font", "size", "h3")};
 }
 
 .editor-post-title__block .editor-post-title__input {
-	text-align: center;
+	text-align: left;
 	color: $color_primary;
 }
 

+ 1 - 1
stratford/sass/style-child-theme.scss

@@ -10,7 +10,7 @@ License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
 Text Domain: stratford
-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
+Tags: one-column, fixed-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
 
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.

二进制
stratford/screenshot.png


+ 1 - 1
stratford/style-editor.css

@@ -897,7 +897,7 @@ p:not(.site-title) a:hover {
 }
 
 .editor-post-title__block .editor-post-title__input {
-	text-align: center;
+	text-align: left;
 	color: #2c313f;
 }
 

+ 21 - 2
stratford/style-rtl.css

@@ -11,7 +11,7 @@ License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
 Text Domain: stratford
-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
+Tags: one-column, fixed-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
 
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.
@@ -3415,6 +3415,7 @@ a {
 	text-decoration: none;
 }
 
+.wp-block-group a,
 .wp-block-cover a,
 .wp-block-cover-image a,
 .wp-block-media-text a,
@@ -3422,7 +3423,9 @@ p:not(.site-title) a {
 	text-decoration: underline;
 }
 
-.wp-block-cover a.wp-block-button__link, .wp-block-cover a:hover,
+.wp-block-group a.wp-block-button__link, .wp-block-group a:hover,
+.wp-block-cover a.wp-block-button__link,
+.wp-block-cover a:hover,
 .wp-block-cover-image a.wp-block-button__link,
 .wp-block-cover-image a:hover,
 .wp-block-media-text a.wp-block-button__link,
@@ -3477,6 +3480,10 @@ p:not(.site-title) a:hover {
 	text-decoration: none;
 }
 
+#masthead .site-header-wrapper .site-branding .site-logo {
+	margin-bottom: 16px;
+}
+
 #masthead .site-header-wrapper .site-menu {
 	display: block;
 	-webkit-flex: 0 1 auto;
@@ -3777,3 +3784,15 @@ input[type="submit"].has-background:visited,
 	font-family: "Inconsolata", monospace;
 	font-size: 1rem;
 }
+
+.home .entry-header {
+	display: none;
+}
+
+.home .entry-content {
+	margin-top: 0;
+}
+
+.home .site-main {
+	padding-top: 0;
+}

+ 17 - 1
stratford/style.css

@@ -11,7 +11,7 @@ License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
 Text Domain: stratford
-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
+Tags: one-column, fixed-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
 
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.
@@ -3485,6 +3485,10 @@ p:not(.site-title) a:hover {
 	text-decoration: none;
 }
 
+#masthead .site-header-wrapper .site-branding .site-logo {
+	margin-bottom: 16px;
+}
+
 #masthead .site-header-wrapper .site-menu {
 	display: block;
 	-webkit-flex: 0 1 auto;
@@ -3785,3 +3789,15 @@ input[type="submit"].has-background:visited,
 	font-family: "Inconsolata", monospace;
 	font-size: 1rem;
 }
+
+.home .entry-header {
+	display: none;
+}
+
+.home .entry-content {
+	margin-top: 0;
+}
+
+.home .site-main {
+	padding-top: 0;
+}