|
@@ -19,15 +19,15 @@ 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: "Roboto Slab", Georgia, Times, serif;
|
|
|
}
|
|
|
|
|
|
/* Font size */
|
|
|
|
|
|
-.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: 15px;
|
|
|
font-weight: 300;
|
|
@@ -35,8 +35,8 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
}
|
|
|
|
|
|
@media (min-width: 50em) {
|
|
|
- .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;
|
|
|
}
|
|
@@ -44,7 +44,7 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
|
|
|
/* Colour */
|
|
|
|
|
|
-.edit-post-visual-editor .editor-block-list__block {
|
|
|
+.block-editor-block-list__block {
|
|
|
color: #666;
|
|
|
}
|
|
|
|
|
@@ -65,69 +65,69 @@ 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 {
|
|
|
color: #666;
|
|
|
font-weight: normal
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor h1,
|
|
|
+h1,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
|
font-size: 28px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor h2,
|
|
|
+h2,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
|
font-size: 20px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor h3,
|
|
|
+h3,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
|
font-size: 20px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor h4,
|
|
|
+h4,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor h5,
|
|
|
+h5,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor h6,
|
|
|
+h6,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
@media (min-width: 50em) {
|
|
|
- .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: 28px;
|
|
|
}
|
|
|
|
|
|
- .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: 20px;
|
|
|
}
|
|
@@ -145,8 +145,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: #1c7c7c;
|
|
|
text-decoration: none;
|
|
@@ -344,12 +344,12 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
right: 0;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor .editor-block-list__block .wp-block-quote p {
|
|
|
+.block-editor-block-list__block .wp-block-quote p {
|
|
|
color: #999;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
|
|
|
-.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
|
|
|
+.block-editor-block-list__block .wp-block-quote.is-large p,
|
|
|
+.block-editor-block-list__block .wp-block-quote.is-style-large p {
|
|
|
font-size: 22px;
|
|
|
font-style: normal;
|
|
|
}
|
|
@@ -387,12 +387,12 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
font-size: 72px;
|
|
|
}
|
|
|
|
|
|
- .edit-post-visual-editor .editor-block-list__block .wp-block-quote p {
|
|
|
+ .block-editor-block-list__block .wp-block-quote p {
|
|
|
font-size: 21.6px;
|
|
|
}
|
|
|
|
|
|
- .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
|
|
|
- .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
|
|
|
+ .block-editor-block-list__block .wp-block-quote.is-large p,
|
|
|
+ .block-editor-block-list__block .wp-block-quote.is-style-large p {
|
|
|
font-size: 28px;
|
|
|
}
|
|
|
|
|
@@ -404,12 +404,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: 27px;
|
|
|
}
|
|
|
|
|
@@ -559,9 +559,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;
|
|
|
}
|
|
|
|
|
@@ -575,4 +575,3 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
color: inherit;
|
|
|
}
|
|
|
-
|