71fe9108a8
* Karuna: Fix the text in title in Gutenberg editor being transformed to uppercase * Karuna: Restrict the text-transform h1 changes just to the entry title
785 lines
17 KiB
CSS
785 lines
17 KiB
CSS
/*
|
|
* Theme Name: Karuna
|
|
* Description: Gutenberg Block Editor Styles
|
|
*/
|
|
|
|
/*--------------------------------------------------------------
|
|
>>> 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
|
|
--------------------------------------------------------------*/
|
|
|
|
/*--------------------------------------------------------------
|
|
1.0 General Typography
|
|
--------------------------------------------------------------*/
|
|
|
|
.edit-post-visual-editor .editor-block-list__block,
|
|
.edit-post-visual-editor .editor-block-list__block p,
|
|
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
|
font-family: Karla, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block {
|
|
color: #333;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.edit-post-visual-editor .editor-block-list__block,
|
|
.edit-post-visual-editor .editor-block-list__block p,
|
|
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
/* Title */
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
clear: both;
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
font-family: Karla, sans-serif;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.editor-post-title__block .editor-post-title__input {
|
|
font-size: 42px;
|
|
}
|
|
}
|
|
|
|
/* Headings */
|
|
|
|
.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 {
|
|
clear: both;
|
|
font-weight: bold;
|
|
font-family: Karla, sans-serif;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.edit-post-visual-editor h1 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.edit-post-visual-editor h2 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.edit-post-visual-editor h3 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.edit-post-visual-editor h4 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.edit-post-visual-editor h5 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.edit-post-visual-editor h6 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.edit-post-visual-editor h1.editor-post-title {
|
|
text-transform: none;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.edit-post-visual-editor h1 {
|
|
font-size: 42px;
|
|
}
|
|
|
|
.edit-post-visual-editor h2 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.edit-post-visual-editor h3 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.edit-post-visual-editor h4 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.edit-post-visual-editor h5 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.edit-post-visual-editor h6 {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* Paragraphs */
|
|
|
|
.edit-post-visual-editor p {
|
|
margin: .8em 0;
|
|
}
|
|
|
|
.edit-post-visual-editor blockquote p {
|
|
margin: .8em 0;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
2.0 General Block Styles
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Main column width */
|
|
|
|
.wp-block {
|
|
max-width: 715px; /* 685px + 30px to account for padding */
|
|
}
|
|
|
|
/* Alignments */
|
|
|
|
.alignleft {
|
|
display: inline;
|
|
float: left;
|
|
margin: .8em 1.6em .8em 0;
|
|
}
|
|
|
|
.alignright {
|
|
display: inline;
|
|
float: right;
|
|
margin: .8em 0 .8em 1.6em;
|
|
}
|
|
|
|
.aligncenter {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.wp-block-columns.alignfull,
|
|
.wp-block-latest-comments.alignfull,
|
|
.editor-block-list__block[data-align="full"] .wp-block-file {
|
|
padding-left: 1.6em;
|
|
padding-right: 1.6em;
|
|
}
|
|
|
|
/* Link styles */
|
|
|
|
.edit-post-visual-editor a,
|
|
.editor-block-list__block a,
|
|
.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
color: #6636cc;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.edit-post-visual-editor a:hover,
|
|
.edit-post-visual-editor a:focus,
|
|
.edit-post-visual-editor a:active,
|
|
.editor-block-list__block a:hover,
|
|
.editor-block-list__block a:focus,
|
|
.editor-block-list__block a:active,
|
|
.wp-block-freeform.block-library-rich-text__tinymce a:hover,
|
|
.wp-block-freeform.block-library-rich-text__tinymce a:focus,
|
|
.wp-block-freeform.block-library-rich-text__tinymce a:active {
|
|
color: #85cc36;
|
|
}
|
|
|
|
/* List styles */
|
|
|
|
.block-library-list .editor-rich-text__tinymce {
|
|
margin: 0;
|
|
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.editor-rich-text__tinymce {
|
|
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;
|
|
margin-left: 1.6em;
|
|
}
|
|
|
|
.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
|
|
.rtl .editor-block-list__block ul:not(.wp-block-gallery),
|
|
.rtl .block-library-list ul,
|
|
.rtl .edit-post-visual-editor ol,
|
|
.rtl .editor-block-list__block ol,
|
|
.rtl .block-library-list ol.editor-rich-text__tinymce {
|
|
margin-left: 0;
|
|
margin-right: 1.6em;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Captions */
|
|
|
|
[class^="wp-block-"] figcaption {
|
|
font-size: inherit;
|
|
font-style: italic;
|
|
text-align: center;
|
|
}
|
|
|
|
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
|
color: inherit;
|
|
}
|
|
|
|
/* Definition List styles */
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce dt {
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
3.0 Blocks - Common Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Paragraph */
|
|
|
|
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
|
|
font-size: 130px;
|
|
}
|
|
|
|
/* Quote */
|
|
|
|
.editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
margin: 0 1.6em;
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote {
|
|
font-size: 26px;
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
margin: 0 1.6em 1.6em;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block blockquote p {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote__citation {
|
|
font-style: italic;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
}
|
|
|
|
.rtl .editor-block-list__block .wp-block-quote {
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote em,
|
|
.editor-block-list__block .wp-block-quote i {
|
|
font-style: normal;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.alignleft {
|
|
margin: .8em 1.6em .8em 0;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.alignright {
|
|
margin: .8em 0 .8em 1.6em;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.aligncenter {
|
|
margin-bottom: .8em;
|
|
}
|
|
|
|
.rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
.rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
}
|
|
|
|
.wp-block-quote.is-large,
|
|
.wp-block-quote.is-style-large {
|
|
font-size: 32px;
|
|
font-style: normal;
|
|
margin: 0 .8em .8em;
|
|
padding: 0;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large,
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large,
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.is-large p,
|
|
.editor-block-list__block .wp-block-quote.is-style-large p {
|
|
margin-bottom: .4em;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* 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: 2.0em; /* Cover images inherit the paragraph size; this resets it */
|
|
}
|
|
|
|
/* File */
|
|
|
|
.wp-block-file__textlink {
|
|
color: #6636cc;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
border: 2px solid;
|
|
border-color: #6636cc;
|
|
border-radius: 10px;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: #6636cc;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
font-size: 1rem;
|
|
letter-spacing: 1px;
|
|
line-height: 1;
|
|
padding: 0.8em 1.6em 0.8em;
|
|
text-shadow: none;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.wp-block-button .editor-rich-text__tinymce.mce-content-body {
|
|
line-height: 16px;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
4.0 Blocks - Formatting
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Verse */
|
|
|
|
.wp-block-verse pre {
|
|
background: transparent;
|
|
color: inherit;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
font-style: italic;
|
|
line-height: inherit;
|
|
margin-bottom: 1.6em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Code */
|
|
|
|
.wp-block-code {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
border: 0;
|
|
border-radius: 0;
|
|
font-family: "Courier 10 Pitch", Courier, monospace;
|
|
font-size: 15px;
|
|
font-size: 0.9375rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.6em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 1.6em;
|
|
}
|
|
|
|
.wp-block-code textarea {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Classic */
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce address {
|
|
margin-top: 0.8em;
|
|
margin-bottom: 0.8em;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
list-style: decimal;
|
|
margin-left: 3em;
|
|
padding: 0;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce li > ol {
|
|
margin-left: 1.6em;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
border: 0;
|
|
font-size: 26px;
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
margin: 0 1.6em 1.6em;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-freeform.block-library-rich-text__tinymce blockquote:not(.alignleft):not(.alignright) {
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
font-style: italic;
|
|
text-transform: none;
|
|
}
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
margin-right: 0;
|
|
padding-left: 0;
|
|
padding-right: 1.6em;
|
|
}
|
|
|
|
.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: .8em 1.6em .8em 0;
|
|
}
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
|
|
margin: .8em 0 .8em 1.6em;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1,
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2,
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3,
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4,
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5,
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
clear: both;
|
|
font-weight: bold;
|
|
font-family: Karla, sans-serif;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
font-size: 42px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce pre {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
font-family: "Courier 10 Pitch", Courier, monospace;
|
|
font-size: 15px;
|
|
font-size: 0.9375rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.6em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 1.6em;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table {
|
|
border-collapse: collapse;
|
|
border: 0;
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
width: 100%;
|
|
margin: 0 0 1.6em;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce .alternate {
|
|
background: transparent;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table td {
|
|
padding: 8px 5px;
|
|
border: 0;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table th {
|
|
border: 0;
|
|
padding: 8px 5px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Preformatted */
|
|
|
|
.editor-block-list__block .wp-block-preformatted pre {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
font-family: "Courier 10 Pitch", Courier, monospace;
|
|
font-size: 15px;
|
|
font-size: 0.9375rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.6em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 1.6em;
|
|
}
|
|
|
|
/* Pullquote */
|
|
|
|
.editor-block-list__block .wp-block-pullquote blockquote {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.edit-post-visual-editor .wp-block-pullquote p {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote {
|
|
border-top: 2px solid currentColor;
|
|
border-bottom: 2px solid currentColor;
|
|
font-style: italic;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
margin: 0 0 1.6em;
|
|
padding: .8em 0;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote.alignfull blockquote {
|
|
padding-left: 1.6em;
|
|
padding-right: 1.6em;
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft {
|
|
margin-right: 1.6em;
|
|
}
|
|
|
|
.wp-block-pullquote.alignright {
|
|
margin-left: 1.6em;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote > .editor-rich-text p {
|
|
font-size: 24px;
|
|
margin-bottom: .8em;
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
|
|
.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote__citation,
|
|
.wp-block-pullquote cite,
|
|
.wp-block-pullquote footer {
|
|
font-style: normal;
|
|
font-size: 18px;
|
|
text-transform: none;
|
|
}
|
|
|
|
/* Table */
|
|
|
|
.editor-block-list__block .wp-block-table__cell-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table {
|
|
border-collapse: collapse;
|
|
border: 0;
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
width: 100%;
|
|
margin: 0 0 1.6em;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table td {
|
|
border: 0;
|
|
padding: 8px 5px;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table th {
|
|
border: 0;
|
|
padding: 8px 5px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
5.0 Blocks - Layout Elements
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Buttons */
|
|
.wp-block-button .wp-block-button__link {
|
|
border: 2px solid currentColor;
|
|
|
|
box-shadow: none;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
font-size: 1rem;
|
|
letter-spacing: 1px;
|
|
line-height: 1;
|
|
padding: 0.8em 1.6em 0.8em;
|
|
text-shadow: none;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.wp-block-button__link {
|
|
background: #6636cc;
|
|
border-radius: 10px;
|
|
color: #fff;
|
|
}
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
|
color: #6636cc;
|
|
}
|
|
|
|
/* Separator */
|
|
|
|
.wp-block-separator {
|
|
background-color: #ddd;
|
|
border: 0;
|
|
height: 1.1px; /* To work around odd issue in Firefox */
|
|
margin-bottom: 1.6em;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
6.0 Blocks - Widgets
|
|
--------------------------------------------------------------*/
|
|
|
|
/* General Widget styles */
|
|
|
|
.edit-post-visual-editor [data-align="center"] .wp-block-categories__list,
|
|
.edit-post-visual-editor [data-align="center"] .wp-block-archives,
|
|
.edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts {
|
|
list-style-position: inside;
|
|
}
|
|
|
|
/* Categories */
|
|
|
|
.editor-block-list__block[data-align=right] .wp-block-categories__list,
|
|
.editor-block-list__block[data-align=left] .wp-block-categories__list {
|
|
padding: 0;
|
|
}
|
|
|
|
/* Latest Comments */
|
|
|
|
.editor-block-list__block .wp-block-latest-comments,
|
|
.rtl .editor-block-list__block .wp-block-latest-comments {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-meta,
|
|
.wp-block-latest-comments__comment-excerpt p {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.wp-block-latest-comments__comment-meta,
|
|
.wp-block-latest-comments__comment-excerpt p {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
|
|
box-shadow: none;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
border-top: 1px solid #dddddd;
|
|
margin-bottom: 0;
|
|
padding: .8em 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: 1em;
|
|
}
|