834 lines
18 KiB
CSS
834 lines
18 KiB
CSS
/*
|
|
* Theme Name: Publication
|
|
* 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: Lato, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block {
|
|
color: #222;
|
|
}
|
|
|
|
.edit-post-visual-editor p {
|
|
margin: 0 0 24px;
|
|
}
|
|
|
|
/* Title */
|
|
|
|
.editor-post-title__block .editor-post-title__input {
|
|
clear: both;
|
|
font-family: Neuton, serif;
|
|
font-weight: normal;
|
|
margin-bottom: 24px;
|
|
margin-top: 0;
|
|
font-size: 32px;
|
|
line-height: 1.125;
|
|
}
|
|
|
|
/* 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-family: Neuton, serif;
|
|
font-weight: normal;
|
|
margin-bottom: 24px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.edit-post-visual-editor h1 {
|
|
font-size: 40px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.edit-post-visual-editor h2 {
|
|
font-size: 32px;
|
|
line-height: 1.125;
|
|
}
|
|
|
|
.edit-post-visual-editor h3 {
|
|
font-size: 25px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.edit-post-visual-editor h4 {
|
|
font-size: 20px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.edit-post-visual-editor h5 {
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.edit-post-visual-editor h6 {
|
|
font-size: 13px;
|
|
line-height: 1.3847;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
2.0 General Block Styles
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Main column width */
|
|
|
|
.wp-block {
|
|
max-width: 594px; /* 564px + 30px to account for padding */
|
|
}
|
|
|
|
/* Alignments */
|
|
|
|
.alignleft,
|
|
.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit {
|
|
display: inline;
|
|
float: left;
|
|
margin: 0 24px 12px 0;
|
|
}
|
|
|
|
.alignright,
|
|
.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit {
|
|
display: inline;
|
|
float: right;
|
|
margin: 0 0 12px 24px;
|
|
}
|
|
|
|
.aligncenter,
|
|
.editor-block-list__layout .editor-block-list__block[data-align=center] .editor-block-list__block-edit {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.wp-block-columns.alignfull,
|
|
.wp-block-latest-comments.alignfull,
|
|
.editor-block-list__layout .editor-block-list__block[data-align=full] {
|
|
padding-left: 60px;
|
|
padding-right: 60px;
|
|
}
|
|
|
|
/* Link styles */
|
|
|
|
.edit-post-visual-editor a,
|
|
.editor-block-list__block a,
|
|
.wp-block-freeform.block-library-rich-text__tinymce a {
|
|
color: #ef7d0b;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.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: inherit;
|
|
}
|
|
|
|
/* 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: square inside;
|
|
}
|
|
|
|
.edit-post-visual-editor ol,
|
|
.editor-block-list__block ol,
|
|
.block-library-list ol.editor-rich-text__tinymce {
|
|
list-style: decimal inside;
|
|
}
|
|
|
|
.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: 24px;
|
|
}
|
|
|
|
.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: 24px;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Captions */
|
|
|
|
.editor-block-list__block [class^="wp-block-"] figcaption {
|
|
font-size: 13px;
|
|
font-style: normal;
|
|
line-height: 1.3847;
|
|
}
|
|
|
|
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
|
border-bottom: 1px solid #eee;
|
|
color: inherit;
|
|
margin: 0;
|
|
padding: 0 0 0.5em;
|
|
}
|
|
|
|
.edit-post-visual-editor blockquote p {
|
|
margin: 0 0 24px;
|
|
}
|
|
|
|
/* Definition List styles */
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce dt {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce dd {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
3.0 Blocks - Common Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Paragraph */
|
|
|
|
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
|
|
font-family: Neuton, serif;
|
|
font-size: 80px;
|
|
margin-top: 0.125em;
|
|
}
|
|
|
|
/* Images */
|
|
|
|
.wp-block-image figcaption {
|
|
color: #a09a92;
|
|
font-size: 16px;
|
|
font-style: italic;
|
|
line-height: 1.2;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Quote */
|
|
|
|
.editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
margin: 0 0 24px;
|
|
border: 0;
|
|
padding: 24px 0;
|
|
border-bottom: 3px solid currentcolor;
|
|
border-top: 3px solid currentColor;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote {
|
|
border: 0;
|
|
border-bottom: 3px solid currentcolor;
|
|
border-top: 3px solid currentColor;
|
|
color: #555;
|
|
font-family: Neuton, serif;
|
|
font-size: 20px;
|
|
font-style: italic;
|
|
line-height: 1.2;
|
|
margin: 0 0 24px;
|
|
padding: 24px 0;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block blockquote p {
|
|
color: #555;
|
|
font-family: Neuton, serif;
|
|
font-size: 20px;
|
|
font-style: italic;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote__citation {
|
|
display: block;
|
|
margin-top: 6px;
|
|
color: #222;
|
|
font-size: inherit;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
|
|
.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: 12px 24px 12px 0;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.alignright {≈
|
|
margin: 12px 0 12px 24px;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.aligncenter {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wp-block-quote.is-large,
|
|
.wp-block-quote.is-style-large {
|
|
font-size: 28px;
|
|
margin: 0 0 24px;
|
|
padding: 24px 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: 28px;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-quote.is-large p,
|
|
.editor-block-list__block .wp-block-quote.is-style-large p {
|
|
margin-bottom: 24px;
|
|
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 {
|
|
margin: 0 0 24px;
|
|
}
|
|
|
|
.wp-block-file__textlink {
|
|
color: #ef7d0b;
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
background: #ef7d0b;
|
|
border: 0;
|
|
border-radius: 0;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
padding: 6px 12px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.rtl .wp-block-file .wp-block-file__button {
|
|
margin-left: 12px;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
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: 24px;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Code */
|
|
|
|
.wp-block-code {
|
|
background: #eee;
|
|
border: 0;
|
|
border-radius: 0;
|
|
font-family: Inconsolata, monospace;
|
|
font-size: 16px;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
}
|
|
|
|
.wp-block-code textarea {
|
|
background: #eee;
|
|
}
|
|
|
|
/* Classic */
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce {
|
|
overflow: visible;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce address {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
|
list-style: decimal;
|
|
margin-left: 24px;
|
|
padding: 0;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce li > ol {
|
|
margin-left: 24px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
border: 0;
|
|
border-bottom: 3px solid currentcolor;
|
|
border-top: 3px solid currentColor;
|
|
color: #555;
|
|
font-family: Neuton, serif;
|
|
font-size: 20px;
|
|
font-style: italic;
|
|
line-height: 1.2;
|
|
margin: 0 0 24px;
|
|
padding: 24px 0;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
|
display: block;
|
|
margin-top: 6px;
|
|
color: #222;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
|
border-right: 0;
|
|
margin-right: 0;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.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: 12px 24px 12px 0;
|
|
}
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
|
|
margin: 12px 0 12px 24px;
|
|
}
|
|
|
|
.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-family: Neuton, serif;
|
|
font-weight: normal;
|
|
margin-bottom: 24px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h1 {
|
|
font-size: 40px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
|
font-size: 32px;
|
|
line-height: 1.125;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
|
font-size: 25px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h4 {
|
|
font-size: 20px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h5 {
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
|
font-size: 13px;
|
|
line-height: 1.3847;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce pre {
|
|
background: #eee;
|
|
font-family: Inconsolata, monospace;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table {
|
|
border: 0;
|
|
border-collapse: collapse;
|
|
border-top: 1px solid #ddd;
|
|
margin: 0 0 24px;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.rtl .wp-block-freeform.block-library-rich-text__tinymce table {
|
|
text-align: right;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce .alternate {
|
|
background: transparent;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table td {
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
padding: 6px;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table th {
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
padding: 6px;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table tr:nth-of-type(even) {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.wp-block-freeform.block-library-rich-text__tinymce table tfoot,
|
|
.wp-block-freeform.block-library-rich-text__tinymce table thead {
|
|
background: #eee;
|
|
}
|
|
|
|
/* Preformatted */
|
|
|
|
.editor-block-list__block .wp-block-preformatted pre {
|
|
background: #eee;
|
|
font-family: Inconsolata, monospace;
|
|
font-size: 16px;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
}
|
|
|
|
/* Pullquote */
|
|
|
|
.editor-block-list__block .wp-block-pullquote blockquote {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote blockquote p {
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignleft blockquote p,
|
|
.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignright blockquote p {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote:before {
|
|
display: none;
|
|
}
|
|
|
|
.wp-block-pullquote {
|
|
border-bottom: 3px solid currentcolor;
|
|
border-top: 3px solid currentColor;
|
|
color: #555;
|
|
font-family: Neuton, serif;
|
|
font-size: 28px;
|
|
font-style: italic;
|
|
line-height: 1.2;
|
|
margin: 0 0 24px;
|
|
padding: 24px 0;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.wp-block-pullquote.alignfull blockquote {
|
|
padding-left: 24px;
|
|
padding-right: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft,
|
|
.wp-block-pullquote.alignright {
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft cite,
|
|
.wp-block-pullquote.alignright cite {
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft blockquote,
|
|
.wp-block-pullquote.alignright blockquote {
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft {
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote.alignright {
|
|
margin-left: 24px;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote > .editor-rich-text p {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wp-block-pullquote__citation,
|
|
.wp-block-pullquote cite,
|
|
.wp-block-pullquote footer {
|
|
color: #222;
|
|
display: block;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Table */
|
|
|
|
.editor-block-list__block .wp-block-table__cell-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table {
|
|
border-top: 1px solid #ddd;
|
|
margin: 0 0 24px;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.rtl .editor-block-list__block table.wp-block-table {
|
|
text-align: right;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table td {
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
padding: 6px;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table th {
|
|
border: 0;
|
|
background: #eee;
|
|
border-bottom: 1px solid #ddd;
|
|
padding: 6px;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table tr:nth-of-type(even) {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.editor-block-list__block table.wp-block-table table tfoot,
|
|
.editor-block-list__block table.wp-block-table table thead {
|
|
background: #eee;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
5.0 Blocks - Layout Elements
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Buttons */
|
|
|
|
.wp-block-button .wp-block-button__link,
|
|
.wp-block-button .editor-rich-text__tinymce.mce-content-body {
|
|
line-height: 24px;
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
font-weight: bold;
|
|
padding: 6px 18px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wp-block-button__link {
|
|
background: #ef7d0b;
|
|
color: #fff;
|
|
}
|
|
|
|
.is-style-outline .wp-block-button__link {
|
|
border-color: currentColor;
|
|
}
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
|
color: #ef7d0b;
|
|
}
|
|
|
|
|
|
.wp-block-button.alignleft {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.wp-block-button.alignright {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.wp-block-button.aligncenter {
|
|
margin: 24px auto;
|
|
}
|
|
|
|
/* Separator */
|
|
|
|
.wp-block-separator {
|
|
background-color: #ddd;
|
|
border: 0;
|
|
height: 1px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
|
|
.wp-block-separator.is-style-wide {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
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 */
|
|
|
|
.wp-block-latest-comments {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-meta {
|
|
font-family: Neuton, serif;
|
|
font-size: 20px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-meta a {
|
|
color: #222;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
color: #555;
|
|
font-family: Oswald, sans-serif;
|
|
font-size: 13px;
|
|
font-weight: normal;
|
|
letter-spacing: 0.075em;
|
|
line-height: 1.8462;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
border-top: 1px solid #dddddd;
|
|
margin-bottom: 0;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.wp-block-latest-comments .avatar,
|
|
.wp-block-latest-comments__comment-avatar {
|
|
margin: 0;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.editor-block-list__block ol.wp-block-latest-comments,
|
|
.rtl .editor-block-list__block ol.wp-block-latest-comments {
|
|
margin-left: 0;
|
|
margin-right: 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: 12px;
|
|
}
|