diff --git a/independent-publisher-2/css/editor-blocks.css b/independent-publisher-2/css/editor-blocks.css index 7658ca8737..94b819cef2 100644 --- a/independent-publisher-2/css/editor-blocks.css +++ b/independent-publisher-2/css/editor-blocks.css @@ -19,27 +19,27 @@ Description: Used to style Gutenberg Blocks in the editor. 1.0 General Typography --------------------------------------------------------------*/ -.edit-post-visual-editor .editor-block-list__block, +.block-editor-block-list__block, .editor-default-block-appender textarea.editor-default-block-appender__content { font-family: Georgia, "Times New Roman", serif; } -.edit-post-visual-editor .editor-block-list__block, -.edit-post-visual-editor .editor-block-list__block p, +.block-editor-block-list__block, +.block-editor-block-list__block p, .editor-default-block-appender textarea.editor-default-block-appender__content { font-size: 18px; line-height: 1.75; } @media screen and (min-width: 32.375em) { - .edit-post-visual-editor .editor-block-list__block, - .edit-post-visual-editor .editor-block-list__block p, + .block-editor-block-list__block, + .block-editor-block-list__block p, .editor-default-block-appender textarea.editor-default-block-appender__content { font-size: 19px; } } -.edit-post-visual-editor .editor-block-list__block { +.block-editor-block-list__block { color: #383838; } @@ -58,17 +58,17 @@ Description: Used to style Gutenberg Blocks in the editor. /* Headings */ -.edit-post-visual-editor h1, +h1, .wp-block-freeform.block-library-rich-text__tinymce h1, -.edit-post-visual-editor h2, +h2, .wp-block-freeform.block-library-rich-text__tinymce h2, -.edit-post-visual-editor h3, +h3, .wp-block-freeform.block-library-rich-text__tinymce h3, -.edit-post-visual-editor h4, +h4, .wp-block-freeform.block-library-rich-text__tinymce h4, -.edit-post-visual-editor h5, +h5, .wp-block-freeform.block-library-rich-text__tinymce h5, -.edit-post-visual-editor h6, +h6, .wp-block-freeform.block-library-rich-text__tinymce h6 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; line-height: 1.1; @@ -76,63 +76,63 @@ Description: Used to style Gutenberg Blocks in the editor. font-weight: bold; } -.edit-post-visual-editor h1, +h1, .wp-block-freeform.block-library-rich-text__tinymce h1 { font-size: 32px; } -.edit-post-visual-editor h2, +h2, .wp-block-freeform.block-library-rich-text__tinymce h2 { font-size: 24px; } -.edit-post-visual-editor h3, +h3, .wp-block-freeform.block-library-rich-text__tinymce h3 { font-size: 19px; } -.edit-post-visual-editor h4, +h4, .wp-block-freeform.block-library-rich-text__tinymce h4 { font-size: 15px; } -.edit-post-visual-editor h5, +h5, .wp-block-freeform.block-library-rich-text__tinymce h5 { font-size: 14px; } -.edit-post-visual-editor h6, +h6, .wp-block-freeform.block-library-rich-text__tinymce h6 { font-size: 13px; } @media screen and (min-width: 32.375em) { - .edit-post-visual-editor h1, + h1, .wp-block-freeform.block-library-rich-text__tinymce h1 { font-size: 47px; } - .edit-post-visual-editor h2, + h2, .wp-block-freeform.block-library-rich-text__tinymce h2 { font-size: 32px; } - .edit-post-visual-editor h3, + h3, .wp-block-freeform.block-library-rich-text__tinymce h3 { font-size: 24px; } - .edit-post-visual-editor h4, + h4, .wp-block-freeform.block-library-rich-text__tinymce h4 { font-size: 19px; } - .edit-post-visual-editor h5, + h5, .wp-block-freeform.block-library-rich-text__tinymce h5 { font-size: 15px; } - .edit-post-visual-editor h6, + h6, .wp-block-freeform.block-library-rich-text__tinymce h6 { font-size: 14px; } @@ -160,8 +160,8 @@ Description: Used to style Gutenberg Blocks in the editor. /* Link styles */ -.edit-post-visual-editor a, -.editor-block-list__block a, +a, +.block-editor-block-list__block a, .wp-block-freeform.block-library-rich-text__tinymce a { color: #0087be; text-decoration: none; @@ -358,12 +358,12 @@ p.has-drop-cap:not(:focus)::first-letter { /* Cover */ -.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-image-text, -.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-text, -.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image h2, -.edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-image-text, -.edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-text, -.edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 { +.block-editor-block-list__block .wp-block-cover-image .wp-block-cover-image-text, +.block-editor-block-list__block .wp-block-cover-image .wp-block-cover-text, +.block-editor-block-list__block .wp-block-cover-image h2, +.block-editor-block-list__block .wp-block-cover .wp-block-cover-image-text, +.block-editor-block-list__block .wp-block-cover .wp-block-cover-text, +.block-editor-block-list__block .wp-block-cover h2 { font-size: 1.5em; } @@ -575,9 +575,9 @@ p.has-drop-cap:not(:focus)::first-letter { /* General Widget styles */ -.edit-post-visual-editor [data-align="center"] .wp-block-categories__list, -.edit-post-visual-editor [data-align="center"] .wp-block-archives, -.edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts { +[data-align="center"] .wp-block-categories__list, +[data-align="center"] .wp-block-archives, +[data-align="center"] .wp-block-lastest-posts { list-style-position: inside; }