|
@@ -1,320 +1,541 @@
|
|
|
-/*!
|
|
|
-Editor Styles for Radcliffe 2
|
|
|
---------------------------------------------------------------*/
|
|
|
-
|
|
|
-/* Widths */
|
|
|
+/*
|
|
|
+Theme Name: Radcliffe 2
|
|
|
+Description: Used to style Gutenberg Blocks in the editor.
|
|
|
+*/
|
|
|
|
|
|
-@media screen and ( min-width: 788px ) {
|
|
|
- /* 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: 770px; /* 740px + 30px for editor block margins */
|
|
|
- }
|
|
|
-}
|
|
|
+/*--------------------------------------------------------------
|
|
|
+>>> TABLE OF CONTENTS:
|
|
|
+----------------------------------------------------------------
|
|
|
+1.0 General Typography
|
|
|
+2.0 General Block Settings
|
|
|
+3.0 Blocks - Common Blocks
|
|
|
+4.0 Blocks - Formatting
|
|
|
+5.0 Blocks - Layout Elements
|
|
|
+6.0 Blocks - Widgets
|
|
|
+--------------------------------------------------------------*/
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
-# Typography
|
|
|
+1.0 General Typography
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
-.edit-post-visual-editor,
|
|
|
-.edit-post-visual-editor p,
|
|
|
-.edit-post-visual-editor button,
|
|
|
-.edit-post-visual-editor input,
|
|
|
-.edit-post-visual-editor select,
|
|
|
-.edit-post-visual-editor optgroup,
|
|
|
-.edit-post-visual-editor textarea,
|
|
|
-.edit-post-visual-editor blockquote {
|
|
|
- color: #222;
|
|
|
+.edit-post-visual-editor .editor-block-list__block,
|
|
|
+.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
|
|
|
font-family: Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Times,"Times New Roman",serif;
|
|
|
- font-size: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+/* 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: 18px;
|
|
|
line-height: 1.8;
|
|
|
}
|
|
|
|
|
|
+@media (min-width: 600px) {
|
|
|
+ .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: 20px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.blocks-rich-text__tinymce.mce-content-body {
|
|
|
line-height: inherit;
|
|
|
}
|
|
|
|
|
|
-h1.mce-content-body,
|
|
|
-h2.mce-content-body,
|
|
|
-h3.mce-content-body,
|
|
|
-h4.mce-content-body,
|
|
|
-h5.mce-content-body,
|
|
|
-h6.mce-content-body,
|
|
|
-.edit-post-visual-editor textarea.editor-post-title__input,
|
|
|
-.mce-content-body h1,
|
|
|
-.mce-content-body h2,
|
|
|
-.mce-content-body h3,
|
|
|
-.mce-content-body h4,
|
|
|
-.mce-content-body h5,
|
|
|
-.mce-content-body h6,
|
|
|
-#poststuff h1,
|
|
|
-#poststuff h2,
|
|
|
-#poststuff h3,
|
|
|
-#poststuff h4,
|
|
|
-#poststuff h5,
|
|
|
-#poststuff h6 {
|
|
|
- clear: both;
|
|
|
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
|
|
- line-height: 1.1;
|
|
|
- margin-top: 0;
|
|
|
+/* Color */
|
|
|
+
|
|
|
+.edit-post-visual-editor .editor-block-list__block {
|
|
|
+ color: #222;
|
|
|
}
|
|
|
|
|
|
-/* Post/Page title */
|
|
|
-.edit-post-visual-editor textarea.editor-post-title__input {
|
|
|
+/* Post title */
|
|
|
+
|
|
|
+.editor-post-title__block .editor-post-title__input {
|
|
|
font-family: Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Times,"Times New Roman",serif;
|
|
|
- font-size: 60px;
|
|
|
+ font-size: 36px;
|
|
|
line-height: 1.2;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
+@media all and (min-width: 600px) {
|
|
|
+ .editor-post-title__block .editor-post-title__input {
|
|
|
+ font-size: 50px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (min-width: 768px) {
|
|
|
+ .editor-post-title__block .editor-post-title__input {
|
|
|
+ font-size: 60px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.edit-post-visual-editor .editor-post-title {
|
|
|
max-width: 100%;
|
|
|
}
|
|
|
|
|
|
-h1.editor-rich-text__tinymce.mce-content-body {
|
|
|
+/* Headings */
|
|
|
+
|
|
|
+.edit-post-visual-editor h1,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h1,
|
|
|
+.edit-post-visual-editor h2,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h2,
|
|
|
+.edit-post-visual-editor h3,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h3,
|
|
|
+.edit-post-visual-editor h4,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h4,
|
|
|
+.edit-post-visual-editor h5,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h5,
|
|
|
+.edit-post-visual-editor h6,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
|
+ clear: both;
|
|
|
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
|
|
+ line-height: 1.1;
|
|
|
+}
|
|
|
+
|
|
|
+.edit-post-visual-editor h1,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
|
font-size: 36px;
|
|
|
line-height: 1.25;
|
|
|
}
|
|
|
|
|
|
-h2.editor-rich-text__tinymce.mce-content-body,
|
|
|
-#poststuff .wp-block-heading h2 {
|
|
|
+.edit-post-visual-editor h2,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
|
font-size: 30px;
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
-h3.editor-rich-text__tinymce.mce-content-body {
|
|
|
+.edit-post-visual-editor h3,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
|
font-size: 25px;
|
|
|
line-height: 1.44;
|
|
|
}
|
|
|
|
|
|
-h4.editor-rich-text__tinymce.mce-content-body {
|
|
|
+.edit-post-visual-editor h4,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
|
font-size: 20px;
|
|
|
line-height: 1.8em
|
|
|
}
|
|
|
|
|
|
-h5.editor-rich-text__tinymce.mce-content-body,
|
|
|
-h6.editor-rich-text__tinymce.mce-content-body {
|
|
|
+.edit-post-visual-editor h5,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h5,
|
|
|
+.edit-post-visual-editor h6,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
|
font-size: 15px;
|
|
|
line-height: 2.4em;
|
|
|
text-transform: uppercase;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body dfn,
|
|
|
-.mce-content-body cite,
|
|
|
-.mce-content-body em,
|
|
|
-.mce-content-body i {
|
|
|
- font-style: italic;
|
|
|
+@media screen and (min-width: 768px) {
|
|
|
+ .edit-post-visual-editor h1,
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
|
+ font-size: 40px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-.mce-content-body address {
|
|
|
- margin: 0 0 1.8em;
|
|
|
-}
|
|
|
+/*--------------------------------------------------------------
|
|
|
+2.0 General Block Settings
|
|
|
+--------------------------------------------------------------*/
|
|
|
|
|
|
-.mce-content-body pre,
|
|
|
-.wp-block-code .editor-plain-text,
|
|
|
-.wp-block-preformatted pre {
|
|
|
- font-family: "Courier 10 Pitch", Courier, monospace;
|
|
|
- font-size: 16px;
|
|
|
- line-height: 1.6;
|
|
|
- margin-bottom: 1.6em;
|
|
|
- max-width: 100%;
|
|
|
- overflow: auto;
|
|
|
- padding: 1.6em;
|
|
|
- word-wrap: nowrap;
|
|
|
-}
|
|
|
+/* Main content width */
|
|
|
|
|
|
-.wp-block-code .editor-plain-text {
|
|
|
- margin-bottom: 0;
|
|
|
+@media screen and ( min-width: 788px ) {
|
|
|
+ .wp-block {
|
|
|
+ max-width: 770px; /* 740px + 30px for editor block margins */
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+/* All elements */
|
|
|
|
|
|
-.mce-content-body blockquote {
|
|
|
- margin: 0 1.5em;
|
|
|
+.edit-post-visual-editor *,
|
|
|
+.edit-post-visual-editor *:before,
|
|
|
+.edit-post-visual-editor *:after {
|
|
|
+ /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
|
|
+ box-sizing: inherit;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body code,
|
|
|
-.mce-content-body kbd,
|
|
|
-.mce-content-body tt,
|
|
|
-.mce-content-body var {
|
|
|
- font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
|
|
- font-size: 16px;
|
|
|
- font-size: 1.6rem;
|
|
|
-}
|
|
|
+/* Link styles */
|
|
|
|
|
|
-.mce-content-body abbr,
|
|
|
-.mce-content-body acronym {
|
|
|
- border-bottom: 1px dotted #666;
|
|
|
- cursor: help;
|
|
|
+.edit-post-visual-editor a,
|
|
|
+.editor-block-list__block a,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
|
+ color: #ca2017;
|
|
|
+ text-decoration: none;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body mark,
|
|
|
-.mce-content-body ins {
|
|
|
- background: #fff9c0;
|
|
|
- text-decoration: none;
|
|
|
+/* Caption styles */
|
|
|
+
|
|
|
+[class^="wp-block-"] figcaption {
|
|
|
+ font-size: 80%;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body big {
|
|
|
- font-size: 125%;
|
|
|
+[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
|
|
+ color: inherit;
|
|
|
+ opacity: 0.8;
|
|
|
}
|
|
|
|
|
|
-/*--------------------------------------------------------------
|
|
|
-# Elements
|
|
|
---------------------------------------------------------------*/
|
|
|
+/* Address styles */
|
|
|
|
|
|
-.edit-post-visual-editor *,
|
|
|
-.edit-post-visual-editor *:before,
|
|
|
-.edit-post-visual-editor *:after {
|
|
|
- /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
|
|
- box-sizing: inherit;
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce address {
|
|
|
+ margin: 0 0 1.8em;
|
|
|
}
|
|
|
|
|
|
-/* Subhead */
|
|
|
-.edit-post-visual-editor p.wp-block-subhead {
|
|
|
- color: inherit;
|
|
|
+/* Preformatted styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce pre {
|
|
|
+ background: #eee;
|
|
|
+ font-family: "Courier 10 Pitch", Courier, monospace;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 1.6;
|
|
|
+ margin-bottom: 1.6em;
|
|
|
+ padding: 1.6em;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body hr {
|
|
|
+/* HR styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce hr {
|
|
|
background-color: #ccc;
|
|
|
border: 0;
|
|
|
height: 1px;
|
|
|
margin-bottom: 1.6em;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body ul,
|
|
|
-.mce-content-body ol {
|
|
|
+/* List styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
margin: 0 0 1.6em;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body ul {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce ul {
|
|
|
list-style: disc;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body ol {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
list-style: decimal;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body li > ul,
|
|
|
-.mce-content-body li > ol {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce li > ul,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce li > ol {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body dt {
|
|
|
+/* Definition list styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce dt {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor dd {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce dd {
|
|
|
margin: 0 1.5em 1.5em;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor img {
|
|
|
- height: auto;
|
|
|
- /* Make sure images are scaled correctly. */
|
|
|
- max-width: 100%;
|
|
|
- /* Adhere to container width. */
|
|
|
-}
|
|
|
+/* Figure styles */
|
|
|
|
|
|
-.edit-post-visual-editor figure {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce figure {
|
|
|
margin: 1em 0;
|
|
|
- /* Extra wide images within figure tags don't overflow the content area. */
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor table {
|
|
|
+/* Table styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
+ border: 0;
|
|
|
empty-cells: show;
|
|
|
font-size: 0.9em;
|
|
|
margin: 0 0 1.6em;
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor thead {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce thead {
|
|
|
vertical-align: bottom;
|
|
|
- white-space: nowrap;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor tbody {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce tbody {
|
|
|
border-bottom: 1px solid #eee;
|
|
|
border-top: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor th {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce th {
|
|
|
color: #444;
|
|
|
font-weight: bold;
|
|
|
text-align: left;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor th,
|
|
|
-.edit-post-visual-editor td {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce th,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce td {
|
|
|
border-bottom: 1px solid #eee;
|
|
|
line-height: 120%;
|
|
|
margin: 0;
|
|
|
- overflow: visible;
|
|
|
- padding: 2%;
|
|
|
+ padding: 0.75em;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor tr:last-child td {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce tr:last-child td {
|
|
|
border-bottom: none;
|
|
|
}
|
|
|
|
|
|
-.wp-block-freeform.mce-content-body table tbody > tr:nth-child(2n+1) > th,
|
|
|
-.wp-block-freeform.mce-content-body table tbody > tr:nth-child(odd) > td,
|
|
|
-.edit-post-visual-editor table tbody > tr:nth-child(odd) > th,
|
|
|
-.edit-post-visual-editor table tbody > tr:nth-child(odd) > td {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce table tbody > tr:nth-child(odd) > th,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce table tbody > tr:nth-child(odd) > td {
|
|
|
background: #f9f9f9;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor blockquote {
|
|
|
+.rtl .wp-block-freeform.block-library-rich-text__tinymce th {
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
|
|
|
+/* Code, KBD, TT and Var styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce code,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce kbd,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce tt,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce var {
|
|
|
+ font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
-.editor-block-list__block[data-align="right"] .wp-block-pullquote,
|
|
|
-.editor-block-list__block[data-align="left"] .wp-block-pullquote {
|
|
|
- max-width: 300px;
|
|
|
+/* DFN, Cite, Em, i styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce dfn,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce cite,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce em,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce i {
|
|
|
+ font-style: italic;
|
|
|
+}
|
|
|
+
|
|
|
+/* Abbr, Acronym styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce abbr,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce acronym {
|
|
|
+ border-bottom: 1px dotted #666;
|
|
|
+ cursor: help;
|
|
|
+}
|
|
|
+
|
|
|
+/* Mark, Ins styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce mark,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce ins {
|
|
|
+ background: #fff9c0;
|
|
|
+ text-decoration: none;
|
|
|
+}
|
|
|
+
|
|
|
+/* Big styles */
|
|
|
+
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce big {
|
|
|
+ font-size: 125%;
|
|
|
+}
|
|
|
+
|
|
|
+/*--------------------------------------------------------------
|
|
|
+3.0 Blocks - Common Blocks
|
|
|
+--------------------------------------------------------------*/
|
|
|
+
|
|
|
+/* Paragraph */
|
|
|
+
|
|
|
+p.has-drop-cap:not(:focus)::first-letter {
|
|
|
+ font-size: 5em;
|
|
|
+ margin-top: 0.15em;
|
|
|
+}
|
|
|
+
|
|
|
+/* Quote */
|
|
|
+
|
|
|
+.wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
+ border: 0;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-quote {
|
|
|
+ font-style: italic;
|
|
|
+ margin: 0 1.5em;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+
|
|
|
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote p {
|
|
|
+ color: #666;
|
|
|
+ font-size: 22px;
|
|
|
+}
|
|
|
+
|
|
|
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p,
|
|
|
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p {
|
|
|
+ font-size: 28px;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-quote .wp-block-quote__citation,
|
|
|
+.wp-block-quote:not(.is-large):not(.is-style-large) .wp-block-quote__citation {
|
|
|
+ color: #999;
|
|
|
+ font-size: 22px;
|
|
|
+ font-style: italic;
|
|
|
+}
|
|
|
+
|
|
|
+/* 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 {
|
|
|
+ font-size: 2em;
|
|
|
+}
|
|
|
+
|
|
|
+.editor-block-list__block [data-align="wide"] .wp-block-cover-image,
|
|
|
+.editor-block-list__block [data-align="wide"] .wp-block-cover,
|
|
|
+.editor-block-list__block [data-align="full"] .wp-block-cover-image,
|
|
|
+.editor-block-list__block [data-align="full"] .wp-block-cover {
|
|
|
+ height: 75vh;
|
|
|
+ min-height: 400px;
|
|
|
+}
|
|
|
+
|
|
|
+/* File */
|
|
|
+
|
|
|
+.wp-block-file__textlink {
|
|
|
+ color: #ca2017;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-file .wp-block-file__button {
|
|
|
+ background: #222;
|
|
|
+ border-radius: 3px;
|
|
|
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 1.29;
|
|
|
+ padding: 9px 18px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor th,
|
|
|
-.edit-post-visual-editor td {
|
|
|
- border-right: 0;
|
|
|
+.wp-block-file .wp-block-file__button:hover,
|
|
|
+.wp-block-file .wp-block-file__button:focus {
|
|
|
+ background: #ca2017;
|
|
|
+ opacity: 1.0;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor table {
|
|
|
- border-collapse: separate;
|
|
|
+/*--------------------------------------------------------------
|
|
|
+4.0 Blocks - Formatting
|
|
|
+--------------------------------------------------------------*/
|
|
|
+
|
|
|
+/* Verse */
|
|
|
+
|
|
|
+/* Code */
|
|
|
+
|
|
|
+.wp-block-code .editor-plain-text {
|
|
|
+ font-family: "Courier 10 Pitch", Courier, monospace;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 1.6;
|
|
|
+ margin-bottom: 1.6em;
|
|
|
+ max-width: 100%;
|
|
|
+ overflow: auto;
|
|
|
+ padding: 1.6em;
|
|
|
+ word-wrap: nowrap;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-code .editor-plain-text {
|
|
|
+ margin-bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* Preformatted */
|
|
|
+
|
|
|
+.wp-block-preformatted pre {
|
|
|
+ background: #eee;
|
|
|
+ font-family: "Courier 10 Pitch", Courier, monospace;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 1.6;
|
|
|
+ padding: 1.6em;
|
|
|
+}
|
|
|
+
|
|
|
+/* Pullquote */
|
|
|
+
|
|
|
+.wp-block-pullquote {
|
|
|
+ border: 0;
|
|
|
+ font-style: italic;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.edit-post-visual-editor .wp-block-pullquote p {
|
|
|
+ color: #666;
|
|
|
+ margin-bottom: 1.8em;
|
|
|
+}
|
|
|
+
|
|
|
+.edit-post-visual-editor .wp-block-pullquote__citation {
|
|
|
+ color: #666;
|
|
|
+ font-size: 1.1em;
|
|
|
+ font-style: italic;
|
|
|
+ opacity: 0.8;
|
|
|
+ text-transform: capitalize;
|
|
|
+}
|
|
|
+
|
|
|
+/* Table */
|
|
|
+
|
|
|
+.wp-block-table {
|
|
|
+ border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
- border-width: 1px 0 0 1px;
|
|
|
- margin: 0 0 1.75em;
|
|
|
- table-layout: fixed;
|
|
|
- /* Prevents HTML tables from becoming too wide */
|
|
|
+ border: 0;
|
|
|
+ empty-cells: show;
|
|
|
+ font-size: 0.9em;
|
|
|
+ margin: 0 0 1.6em;
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor caption,
|
|
|
-.edit-post-visual-editor th,
|
|
|
-.edit-post-visual-editor td {
|
|
|
- font-weight: normal;
|
|
|
+.wp-block-table thead {
|
|
|
+ vertical-align: bottom;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-table tbody {
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+ border-top: 1px solid #eee;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-table th {
|
|
|
+ color: #444;
|
|
|
+ font-weight: bold;
|
|
|
text-align: left;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor th {
|
|
|
- border-width: 0 1px 1px 0;
|
|
|
- font-weight: 700;
|
|
|
+.wp-block-table th,
|
|
|
+.wp-block-table td {
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+ line-height: 120%;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0.75em;
|
|
|
+}
|
|
|
+
|
|
|
+.wp-block-table tr:last-child td {
|
|
|
+ border-bottom: none;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor td {
|
|
|
- border-width: 0 1px 1px 0;
|
|
|
+.wp-block-table tbody > tr:nth-child(odd) > th,
|
|
|
+.wp-block-table tbody > tr:nth-child(odd) > td {
|
|
|
+ background: #f9f9f9;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor th,
|
|
|
-.edit-post-visual-editor td {
|
|
|
- padding: 0.4375em;
|
|
|
+.rtl .wp-block-table th {
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
|
|
|
-.mce-content-body table tbody > tr:nth-child(odd) > th,
|
|
|
-.mce-content-body table tbody > tr:nth-child(odd) > td {
|
|
|
- background: rgba(0,0,0,.15);
|
|
|
+/*--------------------------------------------------------------
|
|
|
+5.0 Blocks - Layout Elements
|
|
|
+--------------------------------------------------------------*/
|
|
|
+
|
|
|
+/* Buttons */
|
|
|
+
|
|
|
+/* Separator */
|
|
|
+
|
|
|
+/*--------------------------------------------------------------
|
|
|
+6.0 Blocks - Widgets
|
|
|
+--------------------------------------------------------------*/
|
|
|
+
|
|
|
+
|
|
|
+/*--------------------------------------------------------------
|
|
|
+# Elements
|
|
|
+--------------------------------------------------------------*/
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.editor-block-list__block[data-align="right"] .wp-block-pullquote,
|
|
|
+.editor-block-list__block[data-align="left"] .wp-block-pullquote {
|
|
|
+ max-width: 300px;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/*--------------------------------------------------------------
|
|
|
# Forms
|
|
|
--------------------------------------------------------------*/
|
|
@@ -595,32 +816,28 @@ h6.editor-rich-text__tinymce.mce-content-body {
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
-/* Blockquotes*/
|
|
|
+/* Blockquotes */
|
|
|
|
|
|
-.edit-post-visual-editor .wp-block-quote:not(.is-large) {
|
|
|
- border-left: 0;
|
|
|
- padding-left: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.wp-block-freeform.core-blocks-rich-text__tinymce blockquote {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
border: 0;
|
|
|
+ margin: 0 1.5em;
|
|
|
padding: 0;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.wp-block-freeform.core-blocks-rich-text__tinymce blockquote {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
|
color: #666;
|
|
|
+ font-size: 22px;
|
|
|
+ font-style: italic;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor .wp-block-quote,
|
|
|
-.editor-post-visual-editor blockquote {
|
|
|
- font-style: italic;
|
|
|
- margin: 0 1.5em;
|
|
|
- text-align: center;
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
|
+ color: #999;
|
|
|
+ font-size: 22px;
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor blockquote::before,
|
|
|
-.edit-post-visual-editor blockquote::after {
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote::before,
|
|
|
+.wp-block-freeform.block-library-rich-text__tinymce blockquote::after {
|
|
|
background: #ddd;
|
|
|
content: "";
|
|
|
display: block;
|
|
@@ -629,66 +846,16 @@ h6.editor-rich-text__tinymce.mce-content-body {
|
|
|
width: 80px;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
@media (min-width: 600px) {
|
|
|
- .edit-post-visual-editor blockquote::before,
|
|
|
- .edit-post-visual-editor blockquote::after {
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce blockquote::before,
|
|
|
+ .wp-block-freeform.block-library-rich-text__tinymce blockquote::after {
|
|
|
margin: 36px auto;
|
|
|
width: 108px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.edit-post-visual-editor .wp-block-quote p,
|
|
|
-.editor-post-visual-editor blockquote p {
|
|
|
- color: #666;
|
|
|
- font-size: 22px;
|
|
|
-}
|
|
|
-
|
|
|
-.edit-post-visual-editor .wp-block-quote cite,
|
|
|
-.editor-post-visual-editor blockquote cite {
|
|
|
- color: #999;
|
|
|
- font-size: 13px;
|
|
|
-}
|
|
|
-
|
|
|
-/* Pullquotes */
|
|
|
-.wp-block-pullquote {
|
|
|
- border: 0;
|
|
|
- font-style: italic;
|
|
|
- padding: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.edit-post-visual-editor .wp-block-pullquote p {
|
|
|
- color: #666;
|
|
|
- margin-bottom: 1.8em;
|
|
|
-}
|
|
|
-
|
|
|
-.edit-post-visual-editor .wp-block-pullquote__citation {
|
|
|
- color: #666;
|
|
|
- font-size: 1.1em;
|
|
|
- font-style: italic;
|
|
|
- opacity: 0.8;
|
|
|
- text-transform: capitalize;
|
|
|
-}
|
|
|
-
|
|
|
-/* Cover Images */
|
|
|
-.edit-post-visual-editor .editor-block-list__block[data-type="core/cover-image"] {
|
|
|
- max-width: 100%;
|
|
|
-}
|
|
|
-
|
|
|
-.editor-block-list__block .wp-block-cover-image {
|
|
|
- height: 75vh;
|
|
|
- min-height: 400px;
|
|
|
-}
|
|
|
-
|
|
|
-.editor-block-list__block .wp-block-cover-image p,
|
|
|
-.editor-block-list__block .wp-block-cover-image h2 {
|
|
|
- line-height: 1.2;
|
|
|
-}
|
|
|
|
|
|
/* Tables */
|
|
|
-.wp-block-table {
|
|
|
- display: table;
|
|
|
-}
|
|
|
|
|
|
/* Verse */
|
|
|
.wp-block-verse {
|
|
@@ -719,7 +886,6 @@ h6.editor-rich-text__tinymce.mce-content-body {
|
|
|
border: 0;
|
|
|
border-radius: 3px;
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
|
|
- font-size: 1.4rem;
|
|
|
font-size: 14px;
|
|
|
line-height: 1.25;
|
|
|
padding: .6em 1em;
|
|
@@ -738,6 +904,11 @@ h6.editor-rich-text__tinymce.mce-content-body {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
+.wp-block-button .editor-rich-text__tinymce.mce-content-body {
|
|
|
+ line-height: 1.25;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
@media ( min-width: 600px ) {
|
|
|
.editor-block-list__layout .editor-block-list__block[data-align="full"] {
|
|
|
max-width: calc( 100% + 100px );
|