2018-12-13 21:18:37 -05:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Sixteen
|
2018-12-18 22:30:41 -05:00
|
|
|
Description: Used to style blocks in the editor.
|
2018-12-13 21:18:37 -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 21:18:37 -05:00
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
1.0 General Typography
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.edit-post-visual-editor .editor-block-list__block,
|
2018-12-18 22:29:51 -05:00
|
|
|
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
2018-12-13 21:18:37 -05:00
|
|
|
font-family: Merriweather, Georgia, serif;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.75;
|
|
|
|
}
|
|
|
|
|
Twenty Sixteen: Fixes editor styles for table and calendar blocks and captions.
The table and calendar block font sizes were not as expected on front end within editor. This includes changes for header cells (th), removes redundant font size rules, corrects font-weight and updates figcaption selector along with editing text alignment and adding RTL font selection.
Props nidhidhandhukiya, sabernhardt, sheulyshila, iamfarhan09, bijit027, jannathsyeda, pooja1210, shailu25, hmbashar.
Fixes #58355.
Built from https://develop.svn.wordpress.org/trunk@58635
git-svn-id: http://core.svn.wordpress.org/trunk@58064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-03 07:04:12 -04:00
|
|
|
.rtl .editor-styles-wrapper {
|
|
|
|
font-family: Arial, Tahoma, sans-serif;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
.edit-post-visual-editor .editor-block-list__block {
|
|
|
|
color: #1a1a1a;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
|
|
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 28px;
|
|
|
|
font-size: 1.75rem;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1.25;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h1 {
|
|
|
|
font-size: 28px;
|
|
|
|
font-size: 1.75rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h2 {
|
|
|
|
font-size: 23px;
|
|
|
|
font-size: 1.4375rem;
|
|
|
|
line-height: 1.2173913043;
|
|
|
|
margin-top: 2.4347826087em;
|
|
|
|
margin-bottom: 1.2173913043em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h3 {
|
|
|
|
font-size: 19px;
|
|
|
|
font-size: 1.1875rem;
|
|
|
|
line-height: 1.1052631579;
|
|
|
|
margin-top: 2.9473684211em;
|
|
|
|
margin-bottom: 1.4736842105em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h4,
|
|
|
|
.edit-post-visual-editor h5,
|
|
|
|
.edit-post-visual-editor h6 {
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.3125;
|
|
|
|
margin-top: 3.5em;
|
|
|
|
margin-bottom: 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h4 {
|
|
|
|
letter-spacing: 0.140625em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h6 {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h1,
|
|
|
|
.edit-post-visual-editor h2,
|
|
|
|
.edit-post-visual-editor h3,
|
|
|
|
.edit-post-visual-editor h4,
|
|
|
|
.edit-post-visual-editor h5,
|
|
|
|
.edit-post-visual-editor h6 {
|
|
|
|
font-weight: 900;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 61.5625em) {
|
|
|
|
.edit-post-visual-editor h1 {
|
|
|
|
font-size: 33px;
|
|
|
|
font-size: 2.0625rem;
|
|
|
|
line-height: 1.2727272727;
|
|
|
|
margin-top: 1.696969697em;
|
|
|
|
margin-bottom: 0.8484848485em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h2 {
|
|
|
|
font-size: 28px;
|
|
|
|
font-size: 1.75rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
margin-top: 2em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h3 {
|
|
|
|
font-size: 23px;
|
|
|
|
font-size: 1.4375rem;
|
|
|
|
line-height: 1.2173913043;
|
|
|
|
margin-top: 2.4347826087em;
|
|
|
|
margin-bottom: 1.2173913043em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h4 {
|
|
|
|
letter-spacing: 0.131578947em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h4,
|
|
|
|
.edit-post-visual-editor h5,
|
|
|
|
.edit-post-visual-editor h6 {
|
|
|
|
font-size: 19px;
|
|
|
|
font-size: 1.1875rem;
|
|
|
|
line-height: 1.1052631579;
|
|
|
|
margin-top: 2.9473684211em;
|
|
|
|
margin-bottom: 1.473684211em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor h1:first-child,
|
|
|
|
.edit-post-visual-editor h2:first-child,
|
|
|
|
.edit-post-visual-editor h3:first-child,
|
|
|
|
.edit-post-visual-editor h4:first-child,
|
|
|
|
.edit-post-visual-editor h5:first-child,
|
|
|
|
.edit-post-visual-editor h6:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor p {
|
|
|
|
margin: 0 0 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor blockquote p {
|
|
|
|
margin-bottom: 1.4736842105em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 44.375em) {
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
|
|
font-size: 33px;
|
|
|
|
font-size: 2.0625rem;
|
|
|
|
line-height: 1.2727272727;
|
|
|
|
margin-bottom: 0.8484848485em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 61.5625em) {
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
|
|
font-size: 40px;
|
|
|
|
font-size: 2.5rem;
|
|
|
|
line-height: 1.225;
|
|
|
|
margin-bottom: 1.05em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
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-13 21:55:39 -05:00
|
|
|
.editor-styles-wrapper {
|
|
|
|
max-width: 100% !important; /* Override where editor-style.css is affecting this */
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block {
|
|
|
|
max-width: 630px; /* 600px + 30px to account for padding. */
|
2018-12-13 21:18:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Link styles */
|
|
|
|
|
|
|
|
.edit-post-visual-editor a,
|
|
|
|
.editor-block-list__block a,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
|
|
color: #007acc;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* List styles */
|
|
|
|
|
|
|
|
.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,
|
|
|
|
.block-library-list ol {
|
|
|
|
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;
|
|
|
|
margin-left: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2020-11-06 06:53:05 -05: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-13 21:18:37 -05:00
|
|
|
margin-left: 0;
|
2020-11-06 06:53:05 -05:00
|
|
|
margin-right: 1.5em;
|
2018-12-13 21:18:37 -05:00
|
|
|
}
|
|
|
|
|
2020-11-06 06:53:05 -05:00
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
|
padding-left: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce ul,
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
|
|
padding: 0;
|
2018-12-13 21:18:37 -05:00
|
|
|
}
|
|
|
|
|
2023-06-21 11:07:22 -04:00
|
|
|
.editor-styles-wrapper ol.has-background,
|
|
|
|
.editor-styles-wrapper ul.has-background {
|
|
|
|
padding: 1.25em 2.375em;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
/* Quotes */
|
|
|
|
|
|
|
|
.rtl .editor-block-list__block blockquote {
|
|
|
|
border-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Captions */
|
|
|
|
|
Twenty Sixteen: Fixes editor styles for table and calendar blocks and captions.
The table and calendar block font sizes were not as expected on front end within editor. This includes changes for header cells (th), removes redundant font size rules, corrects font-weight and updates figcaption selector along with editing text alignment and adding RTL font selection.
Props nidhidhandhukiya, sabernhardt, sheulyshila, iamfarhan09, bijit027, jannathsyeda, pooja1210, shailu25, hmbashar.
Fixes #58355.
Built from https://develop.svn.wordpress.org/trunk@58635
git-svn-id: http://core.svn.wordpress.org/trunk@58064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-03 07:04:12 -04:00
|
|
|
figure[class*="wp-block-"] > figcaption {
|
2018-12-13 21:18:37 -05:00
|
|
|
color: #686868;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.6153846154;
|
|
|
|
padding-top: 0.5384615385em;
|
Twenty Sixteen: Fixes editor styles for table and calendar blocks and captions.
The table and calendar block font sizes were not as expected on front end within editor. This includes changes for header cells (th), removes redundant font size rules, corrects font-weight and updates figcaption selector along with editing text alignment and adding RTL font selection.
Props nidhidhandhukiya, sabernhardt, sheulyshila, iamfarhan09, bijit027, jannathsyeda, pooja1210, shailu25, hmbashar.
Fixes #58355.
Built from https://develop.svn.wordpress.org/trunk@58635
git-svn-id: http://core.svn.wordpress.org/trunk@58064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-03 07:04:12 -04:00
|
|
|
text-align: start;
|
2018-12-13 21:18:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
3.0 Blocks - Common Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Paragraph */
|
|
|
|
|
|
|
|
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
font-size: 5em;
|
|
|
|
line-height: 0.68;
|
|
|
|
margin: 0.05em 0.1em 0 0;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
margin: 0.05em 0 0 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quote */
|
|
|
|
|
|
|
|
.wp-block-quote {
|
|
|
|
border: 0 solid #1a1a1a;
|
|
|
|
border-left-width: 4px;
|
|
|
|
color: #686868;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.4736842105;
|
|
|
|
margin: 0 0 1.4736842105em;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 0 0 1.263157895em;
|
|
|
|
}
|
|
|
|
|
2024-07-16 05:39:17 -04:00
|
|
|
.editor-styles-wrapper .wp-block-quote {
|
|
|
|
border-color: currentColor;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
|
|
border-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-quote p {
|
|
|
|
font-size: 19px;
|
|
|
|
font-size: 1.1875rem;
|
|
|
|
margin-bottom: 1.4736842105em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote__citation {
|
|
|
|
color: #1a1a1a;
|
|
|
|
display: block;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.75;
|
|
|
|
}
|
|
|
|
|
2023-06-28 04:00:26 -04:00
|
|
|
.wp-block-quote.has-text-color .wp-block-quote__citation {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
.wp-block-quote__citation:before {
|
|
|
|
content: "\2014\00a0";
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote em,
|
|
|
|
.wp-block-quote i,
|
|
|
|
.wp-block-quote__citation:before {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote strong,
|
|
|
|
.wp-block-quote b {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote > :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.alignleft {
|
|
|
|
margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.alignright {
|
|
|
|
margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.aligncenter {
|
|
|
|
margin-bottom: 1.473684211em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
|
|
.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
|
|
border-right: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 44.375em) {
|
|
|
|
.wp-block-quote.alignleft,
|
|
|
|
.wp-block-quote.alignright {
|
|
|
|
border-width: 4px 0 0 0;
|
|
|
|
padding: 0.9473684211em 0 0;
|
|
|
|
width: -webkit-calc(50% - 0.736842105em);
|
|
|
|
width: calc(50% - 0.736842105em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 80em) {
|
|
|
|
.editor-block-list__block .wp-block-quote.alignleft {
|
|
|
|
margin-left: -40%;
|
|
|
|
width: -webkit-calc(60% - 1.4736842105em);
|
|
|
|
width: calc(60% - 1.4736842105em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* File */
|
|
|
|
|
|
|
|
.wp-block-file__textlink {
|
|
|
|
box-shadow: 0 1px 0 0 currentColor;
|
|
|
|
color: #007acc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
|
|
background: #1a1a1a;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: #fff;
|
|
|
|
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
|
|
|
font-weight: 700;
|
|
|
|
letter-spacing: 0.046875em;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 0.84375em 0.875em 0.78125em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
4.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 21:18:37 -05:00
|
|
|
border: 0;
|
|
|
|
padding: 0.125em 0.25em;
|
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
|
|
|
background-color: #d1d1d1;
|
2018-12-13 21:18:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Classic */
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
|
border: 0 solid #1a1a1a;
|
|
|
|
border-left-width: 4px;
|
|
|
|
color: #686868;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.4736842105;
|
|
|
|
margin: 0 0 1.4736842105em;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 0 0 1.263157895em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-freeform.block-library-rich-text__tinymce blockquote:not(.alignleft):not(.alignright) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
|
|
font-size: 19px;
|
|
|
|
font-size: 1.1875rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
|
|
color: #1a1a1a;
|
|
|
|
display: block;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-style: normal;
|
|
|
|
line-height: 1.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite:before {
|
|
|
|
content: "\2014\00a0";
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
|
|
|
|
margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
|
|
|
|
margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote.aligncenter {
|
|
|
|
margin-bottom: 1.473684211em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 44.375em) {
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft,
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
|
|
|
|
border-width: 4px 0 0 0;
|
|
|
|
padding: 0.9473684211em 0 0;
|
|
|
|
width: -webkit-calc(50% - 0.736842105em);
|
|
|
|
width: calc(50% - 0.736842105em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
|
|
border-left-width: 0;
|
|
|
|
border-right-width: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 1.263157895em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
|
|
|
|
margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
|
|
|
|
margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pullquote */
|
|
|
|
|
2024-07-08 11:44:16 -04:00
|
|
|
.editor-styles-wrapper .wp-block-pullquote blockquote {
|
2018-12-13 21:18:37 -05:00
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-07-08 11:44:16 -04:00
|
|
|
.editor-styles-wrapper .wp-block-pullquote:where([style*="border-width"]) blockquote {
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
.wp-block-pullquote blockquote > .editor-rich-text p {
|
|
|
|
font-size: 19px;
|
|
|
|
font-size: 1.1875rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote .wp-block-pullquote__citation {
|
|
|
|
color: #1a1a1a;
|
|
|
|
display: block;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.75;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
2022-10-04 04:22:10 -04: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 {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
.wp-block-pullquote .wp-block-pullquote__citation:before {
|
|
|
|
content: "\2014\00a0";
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
|
|
|
|
.editor-block-list__block table.wp-block-table th,
|
|
|
|
.editor-block-list__block table.wp-block-table td {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-table th,
|
|
|
|
.rtl .wp-block-table td {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
5.0 Blocks - Layout Elements
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Buttons */
|
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
|
|
|
|
2024-07-15 14:12:12 -04:00
|
|
|
.wp-block-buttons {
|
2018-12-13 21:18:37 -05:00
|
|
|
font-weight: 700;
|
|
|
|
letter-spacing: 0.046875em;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2024-07-15 14:12:12 -04:00
|
|
|
.wp-block-button .wp-block-button__link {
|
|
|
|
box-shadow: none;
|
|
|
|
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
|
|
|
padding: 0.84375em 1.3125em 0.78125em;
|
2023-06-23 10:45:20 -04:00
|
|
|
}
|
|
|
|
|
2019-01-01 22:53:53 -05:00
|
|
|
.wp-block-button__link {
|
|
|
|
background: #1a1a1a;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-style-outline .wp-block-button__link {
|
|
|
|
color: #1a1a1a;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
6.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;
|
|
|
|
}
|
|
|
|
|
2018-12-13 21:18:37 -05:00
|
|
|
/* Latest Comments */
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
|
|
|
|
box-shadow: none;
|
|
|
|
font-weight: 700;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
color: #686868;
|
|
|
|
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
line-height: 1.6153846154;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
|
|
border-top: 1px solid #d1d1d1;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 1.75em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Latest Posts */
|
|
|
|
|
|
|
|
.edit-post-visual-editor .wp-block-latest-posts.is-grid {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-post-visual-editor .wp-block-latest-posts.is-grid li {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2020-07-13 13:08:03 -04:00
|
|
|
|
2024-02-09 12:57:13 -05:00
|
|
|
/* Avatar & Post Author */
|
|
|
|
|
|
|
|
.editor-styles-wrapper .avatar,
|
|
|
|
.wp-block-post-author__avatar img {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2020-07-13 13:08:03 -04:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
7.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-gray-color {
|
|
|
|
color: #1a1a1a;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-gray-background-color {
|
|
|
|
background-color: #1a1a1a;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-gray-color {
|
|
|
|
color: #686868;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-gray-background-color {
|
|
|
|
background-color: #686868;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-gray-color {
|
|
|
|
color: #e5e5e5;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-gray-background-color {
|
|
|
|
background-color: #e5e5e5;
|
|
|
|
}
|
|
|
|
|
|
|
|
: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-blue-gray-color {
|
|
|
|
color: #4d545c;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-blue-gray-background-color {
|
|
|
|
background-color: #4d545c;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-bright-blue-color {
|
|
|
|
color: #007acc;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-bright-blue-background-color {
|
|
|
|
background-color: #007acc;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-blue-color {
|
|
|
|
color: #9adffd;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-light-blue-background-color {
|
|
|
|
background-color: #9adffd;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-brown-color {
|
|
|
|
color: #402b30;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-brown-background-color {
|
|
|
|
background-color: #402b30;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-brown-color {
|
|
|
|
color: #774e24;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-medium-brown-background-color {
|
|
|
|
background-color: #774e24;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-red-color {
|
|
|
|
color: #640c1f;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-dark-red-background-color {
|
|
|
|
background-color: #640c1f;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-bright-red-color {
|
|
|
|
color: #ff675f;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-bright-red-background-color {
|
|
|
|
background-color: #ff675f;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-yellow-color {
|
|
|
|
color: #ffef8e;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .editor-styles-wrapper .has-yellow-background-color {
|
|
|
|
background-color: #ffef8e;
|
|
|
|
}
|