2018-12-14 03:04:37 +01:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Fourteen
|
2018-12-19 04:30:41 +01:00
|
|
|
Description: Used to style blocks in the editor.
|
2018-12-14 03:04:37 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
>>> TABLE OF CONTENTS:
|
|
|
|
----------------------------------------------------------------
|
|
|
|
1.0 General Typography
|
|
|
|
2.0 General Block Styles
|
|
|
|
3.0 Blocks - Common Blocks
|
|
|
|
4.0 Blocks - Formatting
|
|
|
|
5.0 Blocks - Layout Elements
|
|
|
|
6.0 Blocks - Widgets
|
2020-07-13 19:08:03 +02:00
|
|
|
7.0 Blocks - Colors
|
2018-12-14 03:04:37 +01:00
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
1.0 General Typography
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block,
|
|
|
|
.edit-post-visual-editor .editor-block-list__block p,
|
2018-12-19 04:29:51 +01:00
|
|
|
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
font-size: 16px;
|
2018-12-14 03:04:37 +01:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:29:51 +01:00
|
|
|
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
font-family: Lato, sans-serif;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
.edit-post-visual-editor .editor-block-list__block {
|
|
|
|
color: #2b2b2b;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
|
|
font-family: Lato, sans-serif;
|
|
|
|
font-size: 33px;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 1.0909090909;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Headers */
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
|
|
font-size: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5 {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
2.0 General Block Styles
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Main column width */
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
.wp-block {
|
|
|
|
max-width: 504px; /* 474px + 30px to account for padding */
|
2018-12-14 03:04:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Link styles */
|
|
|
|
|
|
|
|
.edit-post-visual-editor a,
|
|
|
|
.editor-block-list__block a,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
|
|
color: #24890d;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* List styles */
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce li {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor ul:not(.wp-block-gallery),
|
|
|
|
.editor-block-list__block ul:not(.wp-block-gallery),
|
|
|
|
.block-library-list ul,
|
|
|
|
.edit-post-visual-editor ol,
|
|
|
|
.editor-block-list__block ol,
|
2020-11-06 12:53:05 +01:00
|
|
|
.block-library-list ol,
|
2018-12-14 03:04:37 +01:00
|
|
|
.block-library-list .editor-rich-text__tinymce {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor ul:not(.wp-block-gallery),
|
|
|
|
.editor-block-list__block ul:not(.wp-block-gallery),
|
|
|
|
.block-library-list ul {
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor ol,
|
|
|
|
.editor-block-list__block ol,
|
|
|
|
.block-library-list ol {
|
|
|
|
list-style: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
|
|
|
|
.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
|
|
|
|
.block-library-list li > ul,
|
|
|
|
.edit-post-visual-editor li > ol,
|
|
|
|
.editor-block-list__block li > ol,
|
|
|
|
.block-library-list li > ol {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce li,
|
|
|
|
.editor-block-list__block li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-11-06 12:53:05 +01:00
|
|
|
.rtl .editor-styles-wrapper ul ul,
|
|
|
|
.rtl .editor-styles-wrapper ol ol,
|
|
|
|
.rtl .editor-styles-wrapper ul ol,
|
|
|
|
.rtl .editor-styles-wrapper ol ul {
|
2018-12-14 03:04:37 +01:00
|
|
|
margin-left: 0;
|
2020-11-06 12:53:05 +01:00
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
|
padding: 0;
|
2018-12-14 03:04:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Code */
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce code {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Captions */
|
|
|
|
|
|
|
|
[class^="wp-block-"] figcaption,
|
|
|
|
[class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 9px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tables */
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block table,
|
|
|
|
.edit-post-visual-editor .editor-block-list__block table th,
|
|
|
|
.edit-post-visual-editor .editor-block-list__block table td {
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.2857142857;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block table {
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-width: 1px 0 0 1px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block table th {
|
|
|
|
border-width: 0 1px 1px 0;
|
|
|
|
font-weight: 700;
|
|
|
|
text-align: left;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block table td {
|
|
|
|
border-width: 0 1px 1px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .edit-post-visual-editor .editor-block-list__block table th {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quotes */
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
|
|
font-size: 19px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tables */
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-table th,
|
|
|
|
.editor-block-list__block .wp-block-table td {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
3.0 Blocks - Common Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Paragraph */
|
|
|
|
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
font-size: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Image */
|
|
|
|
|
|
|
|
.wp-block-image {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-image figcaption {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 810px) {
|
|
|
|
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit {
|
|
|
|
clear: left;
|
|
|
|
margin-left: -198px; /* 30px wider than front-end, to account for editor tool spacing */
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit {
|
|
|
|
clear: right;
|
|
|
|
margin-right: -198px; /* 30px wider than front-end, to account for editor tool spacing */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-image figcaption {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Gallery */
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-gallery {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quote */
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-quote p {
|
|
|
|
font-size: 19px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.is-large,
|
|
|
|
.wp-block-quote.is-style-large {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.is-large p,
|
|
|
|
.wp-block-quote.is-style-large p {
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 1.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote .wp-block-quote__citation {
|
|
|
|
color: #2b2b2b;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.alignleft .wp-block-quote__citation,
|
|
|
|
.wp-block-quote.alignright .wp-block-quote__citation {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
|
|
.editor-block-list__block .wp-block-quote.alignleft,
|
|
|
|
.editor-block-list__block .wp-block-quote.alignright {
|
|
|
|
width: -webkit-calc(50% + 130px);
|
|
|
|
width: calc(50% + 130px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-quote.alignleft {
|
|
|
|
clear: left;
|
|
|
|
margin-left: -168px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-quote.alignright {
|
|
|
|
clear: right;
|
|
|
|
margin-right: -168px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
/* Cover */
|
2018-12-14 03:04:37 +01:00
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
.wp-block-cover-image.aligncenter,
|
|
|
|
.wp-block-cover.aligncenter {
|
2018-12-14 03:04:37 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* File */
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__textlink {
|
|
|
|
color: #24890d;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
|
|
background-color: #24890d;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 700;
|
2023-06-17 23:37:34 +02:00
|
|
|
line-height: 1.25;
|
2018-12-14 03:04:37 +01:00
|
|
|
padding: 10px 30px 11px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-file .wp-block-file__button.mce-content-body {
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
4.0 Blocks - Formatting
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
Bundled Themes: Fix alignment and styles for quote, verse, and code blocks.
Updates older themes to fix alignment, spacing, and font issues to better match the frontend display. Applies to themes: Twenty Eleven, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty.
Props burnuser, talldanwp, cristinasoponar, poena, kjellr
Fixes #52009.
Built from https://develop.svn.wordpress.org/trunk@50358
git-svn-id: http://core.svn.wordpress.org/trunk@49969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:59:04 +01:00
|
|
|
/* Code (Added specficity required to override TinyMCE styles) */
|
2018-12-14 03:04:37 +01:00
|
|
|
|
Bundled Themes: Fix alignment and styles for quote, verse, and code blocks.
Updates older themes to fix alignment, spacing, and font issues to better match the frontend display. Applies to themes: Twenty Eleven, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty.
Props burnuser, talldanwp, cristinasoponar, poena, kjellr
Fixes #52009.
Built from https://develop.svn.wordpress.org/trunk@50358
git-svn-id: http://core.svn.wordpress.org/trunk@49969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:59:04 +01:00
|
|
|
.editor-styles-wrapper .wp-block-code {
|
2018-12-14 03:04:37 +01:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-02-15 19:56:04 +01:00
|
|
|
.editor-styles-wrapper .wp-block-code code {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
/* Pullquote */
|
|
|
|
|
|
|
|
.wp-block-pullquote {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-06 09:59:17 +01:00
|
|
|
.editor-styles-wrapper .wp-block-pullquote {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
.wp-block-pullquote .wp-block-pullquote__citation {
|
|
|
|
color: #2b2b2b;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-top: 0;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
2023-02-06 09:59:17 +01:00
|
|
|
.wp-block-pullquote.has-text-color blockquote,
|
|
|
|
.wp-block-pullquote.has-background blockquote,
|
|
|
|
.has-background .wp-block-pullquote blockquote,
|
|
|
|
.wp-block-pullquote.has-text-color cite,
|
|
|
|
.has-background .wp-block-pullquote cite,
|
|
|
|
.has-text-color .wp-block-pullquote__citation {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
|
|
|
|
.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 810px) {
|
|
|
|
.editor-block-list__block .wp-block-pullquote.alignleft {
|
|
|
|
margin-left: -168px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-pullquote.alignright {
|
|
|
|
margin-right: -168px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Fix alignment and styles for quote, verse, and code blocks.
Updates older themes to fix alignment, spacing, and font issues to better match the frontend display. Applies to themes: Twenty Eleven, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty.
Props burnuser, talldanwp, cristinasoponar, poena, kjellr
Fixes #52009.
Built from https://develop.svn.wordpress.org/trunk@50358
git-svn-id: http://core.svn.wordpress.org/trunk@49969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:59:04 +01:00
|
|
|
/* Verse */
|
|
|
|
|
|
|
|
.editor-styles-wrapper .wp-block-verse {
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
5.0 Blocks - Layout Elements
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 700;
|
2023-06-17 23:37:34 +02:00
|
|
|
line-height: 1.25;
|
2018-12-14 03:04:37 +01:00
|
|
|
padding: 10px 30px 11px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
2023-06-23 16:40:22 +02:00
|
|
|
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
|
|
|
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
|
|
|
text-transform: inherit;
|
|
|
|
}
|
|
|
|
|
2019-01-02 04:53:53 +01:00
|
|
|
.wp-block-button__link {
|
|
|
|
background-color: #24890d;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-style-outline .wp-block-button__link {
|
|
|
|
color: #24890d;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
.editor-block-list__block .wp-block-button .mce-content-body {
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
/* Media & Text */
|
|
|
|
|
|
|
|
.wp-block-media-text *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
6.0 Blocks - Widgets
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Archives, Categories & Latest Posts */
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
[data-align="center"] .wp-block-archives ul,
|
|
|
|
[data-align="center"] .wp-block-categories ul,
|
|
|
|
[data-align="center"] .wp-block-categories ul {
|
|
|
|
list-style-position: inside;
|
|
|
|
}
|
|
|
|
|
2018-12-14 03:04:37 +01:00
|
|
|
.wp-block-archives li a,
|
|
|
|
.wp-block-categories__list li a,
|
|
|
|
.wp-block-latest-posts li a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Latest Comments */
|
|
|
|
|
|
|
|
.editor-block-list__block ol.wp-block-latest-comments,
|
|
|
|
.rtl .editor-block-list__block ol.wp-block-latest-comments {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,
|
|
|
|
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
|
|
|
|
margin-left: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .avatar, .wp-block-latest-comments__comment-avatar {
|
|
|
|
border-radius: 0;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment,
|
|
|
|
.wp-block-latest-comments__comment-excerpt,
|
|
|
|
.wp-block-latest-comments__comment-excerpt p {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a,
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a:visited {
|
|
|
|
color: #2b2b2b;
|
|
|
|
font-weight: 900;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
margin-bottom: 24px;
|
|
|
|
padding-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Latest Posts */
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-07-13 19:08:03 +02:00
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
7.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-green-color {
|
|
|
|
color: #24890d;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-green-background-color {
|
|
|
|
background-color: #24890d;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-black-color {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-black-background-color {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-gray-color {
|
|
|
|
color: #2b2b2b;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-gray-background-color {
|
|
|
|
background-color: #2b2b2b;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-gray-color {
|
|
|
|
color: #767676;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-gray-background-color {
|
|
|
|
background-color: #767676;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-gray-color {
|
|
|
|
color: #f5f5f5;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-gray-background-color {
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-white-color {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-white-background-color {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|