diff --git a/photos/blocks.css b/photos/blocks.css index e421a4875..d531a283c 100644 --- a/photos/blocks.css +++ b/photos/blocks.css @@ -428,12 +428,25 @@ Widgets .wp-block-categories.aligncenter, .wp-block-categories.aligncenter ul, +.wp-block-archives.aligncenter, .wp-block-latest-posts.aligncenter, -.wp-block-archives.aligncenter { +.wp-block-latest-comments.aligncenter { list-style-position: inside; text-align: center; } +.wp-block-categories.alignfull, +.wp-block-archives.alignfull, +.wp-block-latest-posts.alignfull { + text-align: left; +} + +.rtl .wp-block-categories.alignfull, +.rtl .wp-block-archives.alignfull, +.rtl .wp-block-latest-posts.alignfull { + text-align: right; +} + /* Latest comments */ .wp-block-latest-comments { diff --git a/photos/editor-blocks.css b/photos/editor-blocks.css index 437d7d8cc..e1eefe456 100644 --- a/photos/editor-blocks.css +++ b/photos/editor-blocks.css @@ -15,10 +15,15 @@ Description: Gutenberg Block Editor Styles /*-------------------------------------------------------------- 1.0 General Typography --------------------------------------------------------------*/ +.block-editor .editor-styles-wrapper, +.block-editor .editor-styles-wrapper p, +.editor-default-block-appender textarea.editor-default-block-appender__content { + font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; +} + .block-editor .editor-styles-wrapper, .block-editor .editor-styles-wrapper p { color: #111; - font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.5 !important; } @@ -764,9 +769,9 @@ blockquote p:last-child { padding-left: 1em; } -[data-align="center"] .wp-block-categories ul, -[data-align="center"] .wp-block-latest-posts ul, -[data-align="center"] .wp-block-archives ul { +.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 { list-style-position: inside; } @@ -777,3 +782,13 @@ blockquote p:last-child { padding-right: 1em; } +/* Latest Comments */ + +[data-align="full"] .wp-block-latest-comments { + text-align: left; +} + +.rtl [data-align="full"] .wp-block-latest-comments.alignfull { + text-align: right; +} +