diff --git a/wp-content/themes/twentyfourteen/css/blocks.css b/wp-content/themes/twentyfourteen/css/blocks.css index a15b9a3979..a1b6cb5f91 100644 --- a/wp-content/themes/twentyfourteen/css/blocks.css +++ b/wp-content/themes/twentyfourteen/css/blocks.css @@ -127,13 +127,13 @@ p.has-drop-cap:not(:focus)::first-letter { width: 100%; } -/* Cover Image */ +/* Cover */ -.wp-block-cover-image.aligncenter { +.wp-block-cover-image.aligncenter, +.wp-block-cover.aligncenter { display: flex; } - /* File */ .wp-block-file .wp-block-file__button { @@ -242,16 +242,6 @@ p.has-drop-cap:not(:focus)::first-letter { background-color: #55d737; } -/* Columns */ - -.wp-block-columns { - margin: 0 -0.5em; -} - -.wp-block-column { - margin: 0 0.5em; -} - /* Separator */ .wp-block-separator { @@ -263,6 +253,16 @@ p.has-drop-cap:not(:focus)::first-letter { max-width: 100%; } +/* Media & Text */ + +.wp-block-media-text { + margin-bottom: 24px; +} + +.wp-block-media-text *:last-child { + margin-bottom: 0; +} + /*-------------------------------------------------------------- 5.0 Blocks - Widgets --------------------------------------------------------------*/ @@ -272,6 +272,7 @@ p.has-drop-cap:not(:focus)::first-letter { .wp-block-archives.aligncenter, .wp-block-categories.aligncenter, .wp-block-latest-posts.aligncenter { + list-style-position: inside; margin-left: 20px; text-align: center; } diff --git a/wp-content/themes/twentyfourteen/css/editor-blocks.css b/wp-content/themes/twentyfourteen/css/editor-blocks.css index 5b89dd6995..421bda895f 100644 --- a/wp-content/themes/twentyfourteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfourteen/css/editor-blocks.css @@ -21,9 +21,14 @@ Description: Used to style Gutenberg Blocks in the editor. .edit-post-visual-editor .editor-block-list__block, .edit-post-visual-editor .editor-block-list__block p, .editor-default-block-appender input[type="text"].editor-default-block-appender__content { + font-size: 16px; line-height: 1.5; } +.editor-default-block-appender input[type="text"].editor-default-block-appender__content { + font-family: Lato, sans-serif; +} + .edit-post-visual-editor .editor-block-list__block { color: #2b2b2b; } @@ -68,10 +73,8 @@ Description: Used to style Gutenberg Blocks in the editor. /* 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: 504px; /* 474 + 30 for editor block padding */ +.wp-block { + max-width: 504px; /* 474px + 30px to account for padding */ } /* Link styles */ @@ -307,9 +310,10 @@ p.has-drop-cap:not(:focus)::first-letter { } } -/* Cover Image */ +/* Cover */ -.wp-block-cover-image.aligncenter { +.wp-block-cover-image.aligncenter, +.wp-block-cover.aligncenter { display: flex; } @@ -400,12 +404,24 @@ p.has-drop-cap:not(:focus)::first-letter { line-height: normal; } +/* Media & Text */ + +.wp-block-media-text *:last-child { + margin-bottom: 0; +} + /*-------------------------------------------------------------- 6.0 Blocks - Widgets --------------------------------------------------------------*/ /* Archives, Categories & Latest Posts */ +[data-align="center"] .wp-block-archives ul, +[data-align="center"] .wp-block-categories ul, +[data-align="center"] .wp-block-categories ul { + list-style-position: inside; +} + .wp-block-archives li a, .wp-block-categories__list li a, .wp-block-latest-posts li a { diff --git a/wp-includes/version.php b/wp-includes/version.php index 72c4247345..1781a9ec31 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-beta3-43872'; +$wp_version = '5.0-beta3-43873'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.