|
@@ -21,24 +21,46 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block,
|
|
|
.editor-default-block-appender input[type="text"].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,
|
|
|
.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: 300;
|
|
|
+ line-height: 1.7em;
|
|
|
+}
|
|
|
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .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: 18px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* Colour */
|
|
|
-.edit-post-visual-editor .editor-block-list__block {
|
|
|
|
|
|
+.edit-post-visual-editor .editor-block-list__block {
|
|
|
+ color: #666;
|
|
|
}
|
|
|
|
|
|
/* Post title */
|
|
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
|
+ color: #666;
|
|
|
+ font-family: "Roboto Slab", Georgia, Times, serif;
|
|
|
+ font-size: 26.25px;
|
|
|
+ font-weight: 400;
|
|
|
+}
|
|
|
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .editor-post-title__block .editor-post-title__input {
|
|
|
+ font-size: 32px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* Headings */
|
|
@@ -55,37 +77,60 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5,
|
|
|
.edit-post-visual-editor h6,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
|
-
|
|
|
+ color: #666;
|
|
|
+ font-weight: normal
|
|
|
}
|
|
|
|
|
|
.edit-post-visual-editor h1,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
|
-
|
|
|
+ font-size: 28px;
|
|
|
}
|
|
|
|
|
|
.edit-post-visual-editor h2,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
|
-
|
|
|
+ font-size: 20px;
|
|
|
}
|
|
|
|
|
|
.edit-post-visual-editor h3,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
|
-
|
|
|
+ font-size: 20px;
|
|
|
}
|
|
|
|
|
|
.edit-post-visual-editor h4,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
|
-
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.edit-post-visual-editor h5,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5 {
|
|
|
-
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.edit-post-visual-editor h6,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .edit-post-visual-editor h1,
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
|
+ font-size: 32px;
|
|
|
+ }
|
|
|
|
|
|
+ .edit-post-visual-editor h2,
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
|
+ font-size: 28px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .edit-post-visual-editor h3,
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
|
+ font-size: 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .edit-post-visual-editor h4,
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
@@ -95,7 +140,7 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
/* Main content width */
|
|
|
|
|
|
.wp-block {
|
|
|
- max-width: 100%; /* 700px + 30px to account for padding */
|
|
|
+ max-width: 686px; /* 656px + 30px to account for padding */
|
|
|
}
|
|
|
|
|
|
/* Link styles */
|
|
@@ -103,24 +148,28 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
.edit-post-visual-editor a,
|
|
|
.editor-block-list__block a,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
|
- color: #999;
|
|
|
-
|
|
|
+ color: #1c7c7c;
|
|
|
+ text-decoration: none;
|
|
|
}
|
|
|
|
|
|
/* Table styles */
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table {
|
|
|
-
|
|
|
+ border-collapse: collapse;
|
|
|
}
|
|
|
|
|
|
-.wp-block-freeform.block-library-rich-text__tinymce table,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table th,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table td {
|
|
|
+ padding: 0.5em;
|
|
|
+}
|
|
|
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce table th {
|
|
|
+ border-bottom: 3px solid #eee;
|
|
|
+ text-transform: uppercase;
|
|
|
+}
|
|
|
|
|
|
-.wp-block-freeform.block-library-rich-text__tinymce table th,
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table td {
|
|
|
- padding: 0.5em;
|
|
|
+ border-bottom: 1px solid #eee
|
|
|
}
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce td,
|
|
@@ -131,11 +180,63 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
/* Quote styles */
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
+ border: 0;
|
|
|
+ padding-left: 64px;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
|
|
|
+ color: #eee;
|
|
|
+ content: "\201D";
|
|
|
+ display: block;
|
|
|
+ font-family: Baskerville, Georgia, serif;
|
|
|
+ font-size: 48px;
|
|
|
+ font-weight: bold;
|
|
|
+ line-height: 1;
|
|
|
+ position: absolute;
|
|
|
+ top: 2px;
|
|
|
+ left: 0;
|
|
|
+ transform: scaleX(-1);
|
|
|
+}
|
|
|
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
|
+ color: #999;
|
|
|
}
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
|
+ color: #999;
|
|
|
+ font-size: 15px;
|
|
|
+ font-style: none;
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
|
|
|
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
+ padding-left: 0;
|
|
|
+ padding-right: 64px;
|
|
|
+}
|
|
|
+
|
|
|
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
|
|
|
+ left: auto;
|
|
|
+ right: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
|
+ text-align: left;
|
|
|
+}
|
|
|
+
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
|
|
|
+ font-size: 72px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
|
+ font-size: 21.6px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
|
+ font-size: 17.6px;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* List styles */
|
|
@@ -154,11 +255,16 @@ Description: Used to style Gutenberg Blocks in the editor.
|
|
|
/* Caption styles */
|
|
|
|
|
|
[class^="wp-block-"] figcaption {
|
|
|
-
|
|
|
+ font-size: 14.6px;
|
|
|
}
|
|
|
|
|
|
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
|
|
+ color: inherit;
|
|
|
+ text-align: left;
|
|
|
+}
|
|
|
|
|
|
+.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
|
|
|
/* Definition List styles */
|
|
@@ -188,24 +294,76 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
|
|
.editor-styles-wrapper .wp-block-quote,
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
+ border: 0;
|
|
|
+ padding-left: 64px;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
|
|
|
+.wp-block-quote:before {
|
|
|
+ color: #eee;
|
|
|
+ content: "\201D";
|
|
|
+ display: block;
|
|
|
+ font-family: Baskerville, Georgia, serif;
|
|
|
+ font-size: 48px;
|
|
|
+ font-weight: bold;
|
|
|
+ position: absolute;
|
|
|
+ top: 16px;
|
|
|
+ left: 0;
|
|
|
+ transform: scaleX(-1);
|
|
|
}
|
|
|
|
|
|
-.wp-block-quote .wp-block-quote__citation {
|
|
|
+.edit-post-visual-editor .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 {
|
|
|
+ font-size: 22px;
|
|
|
+ font-style: normal;
|
|
|
}
|
|
|
|
|
|
-.wp-block-quote.is-large p,
|
|
|
-.wp-block-quote.is-style-large p {
|
|
|
+.wp-block-quote .wp-block-quote__citation {
|
|
|
+ color: #999;
|
|
|
+ font-size: 15px;
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
|
|
|
+.rtl .editor-styles-wrapper .wp-block-quote,
|
|
|
+.rtl .wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
+ padding-left: 0;
|
|
|
+ padding-right: 64px;
|
|
|
}
|
|
|
|
|
|
-.wp-block-quote.is-large .wp-block-quote__citation,
|
|
|
-.wp-block-quote.is-style-large .wp-block-quote__citation {
|
|
|
+.rtl .wp-block-quote:before {
|
|
|
+ left: auto;
|
|
|
+ right: 0;
|
|
|
+}
|
|
|
|
|
|
+.rtl .wp-block-quote .wp-block-quote__citation {
|
|
|
+ text-align: left;
|
|
|
}
|
|
|
|
|
|
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .wp-block-quote:before {
|
|
|
+ font-size: 72px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .edit-post-visual-editor .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 {
|
|
|
+ font-size: 28px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .wp-block-quote .wp-block-quote__citation {
|
|
|
+ font-size: 17.6px;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
/* Cover */
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-image-text,
|
|
@@ -214,47 +372,50 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
.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 {
|
|
|
- font-size: 1.5em;
|
|
|
+ font-size: 27px;
|
|
|
}
|
|
|
|
|
|
/* File */
|
|
|
|
|
|
.wp-block-file__textlink {
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-.wp-block-file__textlink:hover,
|
|
|
-.wp-block-file__textlink:focus {
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-.editor-styles-wrapper .wp-block-file .mce-content-body.wp-block-file__button {
|
|
|
-
|
|
|
+ color: #1c7c7c;
|
|
|
}
|
|
|
|
|
|
.wp-block-file .wp-block-file__button,
|
|
|
.wp-block-file .wp-block-file__button:visited {
|
|
|
+ background: #e6e6e6;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ border-color: #ccc #ccc #bbb #ccc;
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 15px 17px rgba(255, 255, 255, .5), inset 0 -5px 12px rgba(0, 0, 0, .05);
|
|
|
+ color: rgba(0, 0, 0, .8);
|
|
|
+ /* Corrects inability to style clickable 'input' types in iOS */
|
|
|
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
|
|
|
+ /* Improves usability and consistency of cursor style between image-type 'input' and others */
|
|
|
+}
|
|
|
|
|
|
+.wp-block-file .wp-block-file__button:hover {
|
|
|
+ border-color: #ccc #bbb #aaa #bbb;
|
|
|
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 15px 17px rgba(255, 255, 255, .8), inset 0 -5px 12px rgba(0, 0, 0, .02);
|
|
|
+ color: rgba(0, 0, 0, .8);
|
|
|
}
|
|
|
|
|
|
-.wp-block-file .wp-block-file__button:hover,
|
|
|
+
|
|
|
.wp-block-file .wp-block-file__button:focus,
|
|
|
.wp-block-file .wp-block-file__button:active {
|
|
|
-
|
|
|
+ border-color: #aaa #bbb #bbb #bbb;
|
|
|
+ box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .5), inset 0 2px 5px rgba(0, 0, 0, .15);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/*--------------------------------------------------------------
|
|
|
4.0 Blocks - Formatting
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
/* Verse */
|
|
|
|
|
|
-.wp-block-verse {
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
.wp-block-verse pre {
|
|
|
-
|
|
|
+ font-style: italic;
|
|
|
}
|
|
|
|
|
|
/* Code */
|
|
@@ -268,20 +429,29 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
-/* Preformatted */
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .wp-block-code .editor-plain-text {
|
|
|
+ font-size: 18px;
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
-.wp-block-preformatted {
|
|
|
+/* Preformatted */
|
|
|
|
|
|
+.wp-block-preformatted pre {
|
|
|
+ font-family: inherit;
|
|
|
+ font-size: inherit;
|
|
|
}
|
|
|
|
|
|
/* Pullquote */
|
|
|
|
|
|
.wp-block-pullquote {
|
|
|
-
|
|
|
+ border: 0;
|
|
|
+ color: #999;
|
|
|
}
|
|
|
|
|
|
.wp-block-pullquote__citation {
|
|
|
-
|
|
|
+ font-size: 15px;
|
|
|
+ text-transform: none;
|
|
|
}
|
|
|
|
|
|
.wp-block-pullquote.alignleft blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
|
@@ -291,15 +461,24 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
font-size: 20px;
|
|
|
}
|
|
|
|
|
|
+@media (min-width: 50em) {
|
|
|
+ .wp-block-pullquote__citation {
|
|
|
+ font-size: 17.55px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
/* Table */
|
|
|
|
|
|
.wp-block-table th,
|
|
|
.wp-block-table td {
|
|
|
-
|
|
|
+ border: 0;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.wp-block-table th {
|
|
|
+ border-bottom-width: 3px;
|
|
|
text-align: left;
|
|
|
+ text-transform: uppercase;
|
|
|
}
|
|
|
|
|
|
.rtl .wp-block-table th {
|
|
@@ -316,14 +495,32 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
|
|
/* Buttons */
|
|
|
|
|
|
-.wp-block-button .wp-block-button__link {
|
|
|
+.wp-block-button .wp-block-button__link,
|
|
|
+.wp-block-button .wp-block-button__link:visited {
|
|
|
+ background: #e6e6e6;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ border-color: #ccc #ccc #bbb #ccc;
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 15px 17px rgba(255, 255, 255, .5), inset 0 -5px 12px rgba(0, 0, 0, .05);
|
|
|
+ color: rgba(0, 0, 0, .8);
|
|
|
+ /* Corrects inability to style clickable 'input' types in iOS */
|
|
|
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
|
|
|
+ /* Improves usability and consistency of cursor style between image-type 'input' and others */
|
|
|
+}
|
|
|
|
|
|
+.wp-block-button .wp-block-button__link:hover {
|
|
|
+ background: #e6e6e6;
|
|
|
+ border-color: #ccc #bbb #aaa #bbb;
|
|
|
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 15px 17px rgba(255, 255, 255, .8), inset 0 -5px 12px rgba(0, 0, 0, .02);
|
|
|
+ color: rgba(0, 0, 0, .8);
|
|
|
}
|
|
|
|
|
|
-.wp-block-button__link:hover,
|
|
|
-.wp-block-button__link:focus,
|
|
|
-.wp-block-button__link:active {
|
|
|
|
|
|
+.wp-block-button .wp-block-button__link:focus,
|
|
|
+.wp-block-button .wp-block-button__link:active {
|
|
|
+ background: #e6e6e6;
|
|
|
+ border-color: #aaa #bbb #bbb #bbb;
|
|
|
+ box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .5), inset 0 2px 5px rgba(0, 0, 0, .15);
|
|
|
}
|
|
|
|
|
|
/* Separator */
|