2018-12-13 20:59:38 -05:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Thirteen
|
2018-12-18 22:30:41 -05:00
|
|
|
Description: Used to style blocks in the editor.
|
2018-12-13 20:59:38 -05: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 13:08:03 -04:00
|
|
|
7.0 Blocks - Colors
|
2018-12-13 20:59:38 -05:00
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
1.0 Block Alignments
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.editor-block-list__layout .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit figure {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
2.0 General Typography
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block,
|
|
|
|
.edit-post-visual-editor .editor-block-list__block p,
|
2018-12-18 22:29:51 -05:00
|
|
|
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
2018-12-13 20:59:38 -05:00
|
|
|
font-family: "Source Sans Pro", Helvetica, sans-serif;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block {
|
|
|
|
color: #141412;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
|
|
font-family: Bitter, Georgia, serif;
|
|
|
|
font-size: 48px;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 1.0909090909;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
margin: 0 0 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
3.0 General Block Styles
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
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-13 21:55:39 -05:00
|
|
|
/* Main content width */
|
2018-12-13 20:59:38 -05: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-13 21:55:39 -05:00
|
|
|
.wp-block {
|
|
|
|
max-width: 634px; /* 604px + 30px to account for padding */
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block.alignwide,
|
|
|
|
.wp-block.alignfull {
|
|
|
|
max-width: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
[class^="wp-block-"] .wp-block {
|
|
|
|
max-width: 100%;
|
2018-12-13 20:59:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Link styles */
|
|
|
|
|
|
|
|
.edit-post-visual-editor a,
|
|
|
|
.editor-block-list__block a,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
|
|
color: #bc360a;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* List styles */
|
|
|
|
|
2021-06-21 19:39:56 -04:00
|
|
|
.edit-post-visual-editor ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
|
|
|
.editor-block-list__block ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
2018-12-13 20:59:38 -05:00
|
|
|
.block-library-list ul,
|
|
|
|
.edit-post-visual-editor ol,
|
|
|
|
.editor-block-list__block ol,
|
2020-11-06 06:53:05 -05:00
|
|
|
.block-library-list ol,
|
2018-12-13 20:59:38 -05:00
|
|
|
.block-library-list .editor-rich-text__tinymce {
|
2020-11-06 06:53:05 -05:00
|
|
|
padding: 0;
|
2018-12-13 20:59:38 -05:00
|
|
|
}
|
|
|
|
|
2021-06-21 19:39:56 -04:00
|
|
|
.edit-post-visual-editor ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
|
|
|
.edit-post-visual-editor .editor-block-list__block ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
2018-12-13 20:59:38 -05:00
|
|
|
.block-library-list ul {
|
|
|
|
list-style-type: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor ul:not(.wp-block-gallery) li,
|
|
|
|
.editor-block-list__block ul:not(.wp-block-gallery) li,
|
|
|
|
.edit-post-visual-editor ol li,
|
|
|
|
.editor-block-list__block ol li,
|
|
|
|
.block-library-list li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-06-21 19:39:56 -04:00
|
|
|
.editor-styles-wrapper ul.block-editor-block-list__block:not(.wp-block-post-template),
|
|
|
|
.editor-styles-wrapper ol.block-editor-block-list__block:not(.wp-block-post-template),
|
|
|
|
.editor-styles-wrapper ol ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
|
|
|
.editor-styles-wrapper ul ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
2020-11-06 06:53:05 -05:00
|
|
|
.editor-styles-wrapper ul ol,
|
|
|
|
.editor-styles-wrapper ol ol,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
|
padding: 0 0 0 40px;
|
2018-12-13 20:59:38 -05:00
|
|
|
}
|
|
|
|
|
2021-06-21 19:39:56 -04:00
|
|
|
.rtl .editor-styles-wrapper ul.block-editor-block-list__block:not(.wp-block-post-template),
|
|
|
|
.rtl .editor-styles-wrapper ol.block-editor-block-list__block:not(.wp-block-post-template),
|
|
|
|
.rtl .editor-styles-wrapper ol ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
|
|
|
.rtl .editor-styles-wrapper ul ul:not(.wp-block-gallery):not(.wp-block-post-template),
|
2020-11-06 06:53:05 -05:00
|
|
|
.rtl .editor-styles-wrapper ul ol,
|
|
|
|
.rtl .editor-styles-wrapper ol ol,
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
|
padding: 0 40px 0 0;
|
2018-12-13 20:59:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Quote */
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 24px 40px;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
|
|
|
|
.rtl .editor-block-list__block table th,
|
|
|
|
.rtl .editor-block-list__block table td {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code */
|
|
|
|
|
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 13:59:04 -05:00
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce code,
|
|
|
|
.editor-styles-wrapper .wp-block-code {
|
2018-12-13 20:59:38 -05:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Captions */
|
|
|
|
|
|
|
|
[class^="wp-block-"] figcaption,
|
|
|
|
[class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
|
|
|
|
color: #220e10;
|
|
|
|
font-size: 18px;
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 0 0 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
4.0 Blocks - Common Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Paragraph */
|
|
|
|
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
font-size: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Gallery */
|
|
|
|
|
|
|
|
.edit-post-visual-editor .wp-block-gallery {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-gallery figcaption,
|
|
|
|
.wp-block-gallery figcaption.editor-rich-text__tinymce.mce-content-body {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 13px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quote */
|
|
|
|
|
|
|
|
.wp-block-quote {
|
|
|
|
font-style: italic;
|
|
|
|
margin: 24px 40px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-quote p {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
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 13:59:04 -05:00
|
|
|
padding-left: 40px;
|
|
|
|
padding-right: 40px;
|
2018-12-13 20:59:38 -05: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 13:59:04 -05:00
|
|
|
.wp-block-quote .wp-block-quote__citation.editor-rich-text__tinymce.mce-content-body,
|
|
|
|
.wp-block-quote .wp-block-quote__citation {
|
2018-12-13 20:59:38 -05:00
|
|
|
color: inherit;
|
|
|
|
font-size: 16px;
|
|
|
|
font-style: italic;
|
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 13:59:04 -05:00
|
|
|
font-weight: normal;
|
2018-12-13 20:59:38 -05:00
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.is-large p,
|
|
|
|
.wp-block-quote.is-style-large p {
|
|
|
|
font-size: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.is-large .wp-block-quote__citation.editor-rich-text__tinymce.mce-content-body,
|
|
|
|
.wp-block-quote.is-style-large .wp-block-quote__citation.editor-rich-text__tinymce.mce-content-body {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
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-13 21:55:39 -05:00
|
|
|
/* Cover */
|
2018-12-13 20:59:38 -05: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-13 21:55:39 -05:00
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text,
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text {
|
2018-12-13 20:59:38 -05:00
|
|
|
font-size: 32px;
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* File */
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__textlink {
|
|
|
|
color: #bc360a;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
|
|
background: #e05d22; /* Old browsers */
|
|
|
|
background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
|
|
|
|
border: none;
|
|
|
|
border-bottom: 3px solid #b93207;
|
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
padding: 11px 24px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
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 13:59:04 -05:00
|
|
|
/* Verse */
|
|
|
|
|
|
|
|
.editor-styles-wrapper .wp-block-verse {
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:59:38 -05:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
5.0 Blocks - Formatting
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Code */
|
|
|
|
|
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 13:59:04 -05:00
|
|
|
.editor-styles-wrapper .wp-block-code {
|
2018-12-13 20:59:38 -05:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pullquote */
|
|
|
|
|
|
|
|
.edit-post-visual-editor .wp-block-pullquote {
|
|
|
|
border: 0;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote p {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .wp-block-pullquote__citation,
|
|
|
|
.edit-post-visual-editor .wp-block-pullquote cite,
|
|
|
|
.edit-post-visual-editor .wp-block-pullquote footer {
|
|
|
|
color: #141412;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
|
|
|
|
.wp-block-table {
|
|
|
|
border-bottom: 1px solid #ededed;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2;
|
|
|
|
margin: 0 0 20px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table th {
|
|
|
|
border: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-table td {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid #ededed;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
6.0 Blocks - Layout Elements
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
padding: 11px 24px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2019-01-01 22:53:53 -05:00
|
|
|
.wp-block-button__link {
|
|
|
|
background: #e05d22;
|
|
|
|
border-bottom: 3px solid #b93207;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2021-06-08 16:37:58 -04:00
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
2019-01-01 22:53:53 -05:00
|
|
|
border-width: 2px;
|
|
|
|
color: #e05d22;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
|
2018-12-18 22:23:21 -05:00
|
|
|
background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
|
|
|
|
}
|
|
|
|
|
2021-06-08 16:37:58 -04:00
|
|
|
.wp-block-button.is-style-no-shadow .wp-block-button__link {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:59:38 -05:00
|
|
|
/* Separator */
|
|
|
|
|
|
|
|
.editor-block-list__block hr.wp-block-separator {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
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-13 21:55:39 -05:00
|
|
|
/* Media & Text */
|
|
|
|
|
|
|
|
.wp-block-media-text *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-07 16:49:55 -04:00
|
|
|
/* Group */
|
|
|
|
|
2020-11-05 10:05:07 -05:00
|
|
|
.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
|
|
|
|
[data-align="wide"] .wp-block,
|
|
|
|
[data-align="full"] .wp-block {
|
2019-07-07 16:49:55 -04:00
|
|
|
max-width: 634px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="wide"] {
|
|
|
|
max-width: 1100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] {
|
|
|
|
width: calc(100% + 60px);
|
|
|
|
max-width: calc(100% + 60px);
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:59:38 -05:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
7.0 Blocks - Widgets
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
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-13 21:55:39 -05:00
|
|
|
/* Archives, Categories & Latest Posts */
|
|
|
|
|
|
|
|
[data-align="center"] .wp-block-archives ul,
|
|
|
|
[data-align="center"] .wp-block-categories ul,
|
|
|
|
[data-align="center"] .wp-block-latest-posts ul {
|
|
|
|
list-style-position: inside;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:59:38 -05:00
|
|
|
/* Latest Comments */
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-latest-comments {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .avatar,
|
|
|
|
.wp-block-latest-comments__comment-avatar {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment,
|
|
|
|
.wp-block-latest-comments__comment-excerpt,
|
|
|
|
.wp-block-latest-comments__comment-excerpt p {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
|
|
background: url(../images/dotted-line.png) repeat-x left top;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 24px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Latest Posts */
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .wp-block-latest-posts.is-grid li {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2020-07-13 13:08:03 -04:00
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
7.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-gray-color {
|
|
|
|
color: #141412;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-gray-background-color {
|
|
|
|
background-color: #141412;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-red-color {
|
|
|
|
color: #bc360a;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-red-background-color {
|
|
|
|
background-color: #bc360a;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-orange-color {
|
|
|
|
color: #db572f;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-orange-background-color {
|
|
|
|
background-color: #db572f;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-orange-color {
|
|
|
|
color: #ea9629;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-orange-background-color {
|
|
|
|
background-color: #ea9629;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-yellow-color {
|
|
|
|
color: #fbca3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-yellow-background-color {
|
|
|
|
background-color: #fbca3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-white-color {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-white-background-color {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-brown-color {
|
|
|
|
color: #220e10;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-brown-background-color {
|
|
|
|
background-color: #220e10;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-brown-color {
|
|
|
|
color: #722d19;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-brown-background-color {
|
|
|
|
background-color: #722d19;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-brown-color {
|
|
|
|
color: #eadaa6;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-brown-background-color {
|
|
|
|
background-color: #eadaa6;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-beige-color {
|
|
|
|
color: #e8e5ce;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-beige-background-color {
|
|
|
|
background-color: #e8e5ce;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-off-white-color {
|
|
|
|
color: #f7f5e7;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-off-white-background-color {
|
|
|
|
background-color: #f7f5e7;
|
|
|
|
}
|