File: /var/www/vhosts/miroglu.net/httpdocs/wp-content/themes/the-landscaper/assets/css/editor-style.css
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS: Gutenberg Editor CSS
----------------------------------------------------------------
01 ------ Editor widget
02 ------ Alignments
03 ------ Post Title
04 ------ Block Margin
05 ------ Typography
06 ------ Links
07 ------ Lists
08 ------ Gutenberg Blocks
08.01 --- Separator
08.02 --- Preformatted + Verse
08.03 --- Table
08.04 --- Latest Posts
08.05 --- Blockquote
08.06 --- Button
08.07 --- Buttons (Group)
08.08 --- Categories + Archive
08.09 --- Categories
08.10 --- Column
08.11 --- Pullquote
08.12 --- Calendar
08.13 --- Cover
08.14 --- Multiple Elements - Figcaption
08.15 --- Image
08.16 --- Latest Comments
08.17 --- Tag cloud
08.18 --- RSS
08.19 --- Search
08.20 --- Code
08.21 --- Classic Block
--------------------------------------------------------------*/
/* 01. Editor width */
.wp-block {
max-width: 877px;
}
/* 02. Alignments */
.wp-block .alignwide {
margin-left: -50px;
margin-right: -50px;
}
.wp-block[data-align="wide"] {
max-width: 937px;
}
.wp-block[data-align="full"] {
max-width: none;
}
.wp-block[data-align="center"] {
text-align: center;
}
/* 03. Post Title */
.wp-block.wp-block-post-title {
color: #464646;
font-size: 36px;
font-family: "Roboto Slab", serif;
font-weight: 700;
line-height: 1.25;
}
.editor-post-title.editor-post-title__block {
margin-bottom: 0;
}
/* 04. Block Margin */
.block-editor-block-list__block {
margin-top: 15px;
margin-bottom: 30px;
}
/* 05. Typography */
.wp-block {
font-family: "Roboto", sans-serif;
color: #a5a5a5;
line-height: 1.75;
text-rendering: optimizeLegibility;
}
.wp-block[data-type="core/paragraph"],
.wp-block[data-type="core/paragraph"] p {
font-size: 14px;
}
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block[data-type="core/heading"] {
margin-bottom: 15px;
color: #464646;
font-family: "Roboto Slab", serif;
font-weight: 700;
line-height: 1.25;
}
p {
margin-bottom: 20px;
}
.wp-block[data-type="core/paragraph"] {
margin-top: 0;
}
h1 {
font-size: 40px;
}
h2 {
font-size: 32px;
}
h3 {
font-size: 26px;
}
h4 {
font-size: 22px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 14px;
}
.wp-block[data-type="core/heading"] h1 {
font-size: 36px;
}
.wp-block[data-type="core/heading"] h2 {
font-size: 30px;
}
.wp-block[data-type="core/heading"] h3 {
font-size: 24px;
}
.wp-block[data-type="core/heading"] h4 {
font-size: 18px;
}
.wp-block[data-type="core/heading"] h5 {
font-size: 14px;
}
.wp-block[data-type="core/heading"] h6 {
font-size: 12px;
}
/* 06. Links */
a {
color: #a2c046;
}
a:active,
a:hover {
color: #9ab83f;
}
a:-webkit-any-link {
text-decoration: none;
}
/* 07. Lists */
ul,
ol {
padding-left: 20px;
margin-left: 0;
}
ul,
ul ul {
list-style: disc;
}
ol ul {
list-style: disc;
}
/* --------------------------------------
* Gutenberg Block Styling
-------------------------------------- */
/* 08.01. Block: Separator */
.wp-block-separator.block-editor-block-list__block {
margin-top: 30px;
}
.wp-block-separator:not(.is-style-dots) {
border-bottom: 1px solid #d0d5da;
}
/* 08.02. Block: Preformatted + Verse */
.wp-block[data-type="core/preformatted"],
.wp-block[data-type="core/verse"] {
display: block;
padding: 0;
color: #343434;
font-family: monospace;
font-size: 14px;
line-height: inherit;
font-weight: inherit;
font-style: inherit;
background-color: transparent;
}
/* 08.03. Block: Table */
.wp-block-table table {
margin: 0;
}
.wp-block-table td,
.wp-block-table th {
padding: 14px 30px;
font-size: 14px;
border: 1px solid #e2e2e2;
}
/* 08.04. Block: Latest Posts */
.wp-block-latest-posts {
padding-left: 0;
}
.wp-block-latest-posts__post-date {
font-size: 14px;
}
/* 08.05. Block: Blockquote */
.wp-block-quote {
padding-top: 10px;
padding-bottom: 10px;
color: #212121;
font-style: italic;
}
.wp-block-quote:not(.is-large):not(.is-style-large) {
padding-top: 10px;
padding-bottom: 10px;
border-style: solid;
border-color: #a2c046;
-webkit-transition: border-color .15s ease;
transition: border-color .15s ease;
}
.wp-block-quote:not(.is-large):not(.is-style-large):hover {
border-color: #9ab83f;
}
.wp-block-quote:not(.is-large):not(.is-style-large)::after {
position: absolute;
font-family: 'Playfair Display', serif;
content: '"';
top: -25px;
font-size: 10em;
line-height: 1;
color: rgba(153, 153, 153, 0.19);
}
.wp-block-quote:not(.is-large):not(.is-style-large):not(.has-text-align-right) {
padding-left: 50px;
border-width: 0 0 0 4px;
}
.wp-block-quote:not(.is-large):not(.is-style-large):not(.has-text-align-right)::after {
left: 20px;
}
.wp-block-quote:not(.is-large):not(.is-style-large).has-text-align-right {
padding-right: 50px;
border-width: 0 4px 0 0;
}
.wp-block-quote:not(.is-large):not(.is-style-large).has-text-align-right::after {
right: 20px;
}
.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer, .wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
text-align: left;
}
.wp-block-quote cite,
.wp-block-quote footer, .wp-block-quote__citation {
display: block;
margin-top: 20px;
font-size: 15px;
font-style: normal;
font-weight: 700;
color: #a2c046;
}
.wp-block-quote p:last-of-type {
margin-bottom: 0;
}
/* 08.06. Block: Button */
.wp-block-button__link {
padding: 18px 22px;
display: inline-flex;
color: #ffffff;
font-weight: 700;
font-size: 13px;
font-family: "Roboto", sans-serif;
line-height: 1;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
border-radius: 1px;
background-color: #a2c046;
}
.wp-block-button__link:hover, .wp-block-button__link:active:focus {
border-color: transparent;
background-color: #9ab83f;
}
.wp-block-button.is-style-outline .wp-block-button__link {
padding: 18px 22px;
color: #969696;
text-shadow: none;
border-radius: 1px;
border-color: rgba(0, 0, 0, 0.1);
background: transparent;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
color: #969696;
border-color: rgba(0, 0, 0, 0.2);
}
/* 08.07. Block: Buttons (Group) */
.wp-block-buttons .wp-block-button {
margin: 0 10px 0 0;
}
.wp-block-buttons .block-editor-block-list__block {
margin-top: 0;
}
/* 08.08. Block: Categories + Archive */
.wp-block-categories ul,
ul.wp-block-archives {
padding-left: 0;
margin-left: 0;
}
.wp-block-categories .wp-block-categories__list li,
ul.wp-block-archives li {
position: relative;
list-style: none;
}
.wp-block-categories .wp-block-categories__list li a,
ul.wp-block-archives li a {
position: relative;
padding-left: 0;
font-weight: 500;
}
.wp-block-categories .wp-block-categories__list li a::before,
ul.wp-block-archives li a::before {
position: relative;
margin-right: 10px;
content: "\f105";
font-family: "Font Awesome 5 Free";
font-size: 14px;
font-weight: 900;
color: rgba(0, 0, 0, 0.3);
-webkit-transition: color .15s ease;
transition: color .15s ease;
}
.wp-block-categories .wp-block-categories__list li a:hover::before,
ul.wp-block-archives li a:hover::before {
color: rgba(0, 0, 0, 0.5);
}
.wp-block-categories .wp-block-categories__list li .wp-block-categories__post-count,
ul.wp-block-archives li .cat-count {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: 3px;
width: 19px;
height: 19px;
font-size: 12px;
font-weight: 700;
line-height: 1;
color: #464646;
text-align: center;
border-radius: 50%;
background-color: #a2c046;
-webkit-transition: all .15s ease;
transition: all .15s ease;
}
.wp-block-archives select,
.wp-block-categories select {
padding: 13px 20px;
color: #a5a5a5;
border: 1px solid #eee;
background: #f9f9f9 url("assets/images/select-bg.png");
background-position: right 20px center;
background-repeat: no-repeat;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.wp-block-archives select:focus,
.wp-block-categories select:focus {
border-color: #cecece;
outline: none;
}
/* 08.09. Block: Categories */
.wp-block-categories ul ul {
padding-left: 20px;
margin-top: 0;
}
/* 08.10. Block: Column */
/* 08.11. Block: Pullquote */
.wp-block-pullquote {
margin-left: auto;
margin-right: auto;
margin-bottom: 30px;
padding: 47px 0;
border-top-color: rgba(0, 0, 0, 0.08);
border-bottom-color: rgba(0, 0, 0, 0.08);
}
.wp-block-pullquote.alignleft {
margin-top: 10px;
margin-right: 30px;
}
.wp-block-pullquote.alignright {
margin-top: 10px;
margin-left: 30px;
}
@media (max-width: 580px) {
.wp-block-pullquote.is-style-solid-color blockquote {
max-width: inherit;
}
}
.wp-block-pullquote blockquote {
margin: 0;
}
.wp-block-pullquote blockquote p {
padding: 0 50px;
font-size: 22px;
color: #464646;
}
.wp-block-pullquote blockquote cite,
.wp-block-pullquote blockquote footer,
.wp-block-pullquote .wp-block-pullquote__citation {
display: block;
margin-top: 15px;
text-transform: none;
font-size: 15px;
font-style: normal;
font-weight: 700;
color: #a2c046;
}
.wp-block-pullquote.has-background blockquote {
text-align: inherit;
margin-left: auto;
margin-right: auto;
}
/* 08.12. Block: Calendar */
.wp-block-calendar table th {
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.25);
background-color: #a2c046;
}
.wp-block-calendar table {
margin-bottom: 0;
}
.wp-block-calendar table > caption {
padding: 8px 0;
font-weight: 700;
text-align: center;
caption-side: top;
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.25);
background-color: #a2c046;
}
.wp-block-calendar table thead {
background-color: #dedede;
}
.wp-block-calendar table thead tr th {
padding: 5px 0;
color: inherit;
text-align: center;
background: transparent;
border: 1px solid #dedede;
}
/* 08.13. Block: Cover */
.wp-block-cover,
.wp-block-cover-image {
margin-bottom: 30px;
}
.wp-block-cover p {
font-size: 2em;
line-height: 1.25;
}
.wp-block-cover p a,
.wp-block-cover p:not(.has-text-color) {
color: #ffffff;
}
/* 08.14. Multiple Elements - Figcaption */
.wp-block-audio figcaption,
.wp-block-table figcaption,
.wp-block-image figcaption,
.wp-block-embed figcaption {
margin-top: 10px;
margin-bottom: 30px;
font-size: 15px;
color: #a5a5a5;
}
/* 08.15. Block: Image */
.wp-block[data-align=center] > .wp-block-image {
margin-bottom: 12px;
}
/* 08.16. Block: Latest Comments */
.wp-block-latest-comments {
padding-left: 0;
}
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
margin-left: 58px;
}
.wp-block-latest-comments__comment-date {
font-size: 14px;
}
.wp-block-latest-comments__comment-excerpt {
margin-top: -15px;
}
/* 08.17. Block: Tag Cloud */
.wp-block-tag-cloud .tag-cloud-link {
display: inline-block;
padding: 8px 10px;
margin-bottom: 4px;
color: #a5a5a5;
text-decoration: none;
border-radius: 1px;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
-webkit-transition: all .15s ease;
transition: all .15s ease;
}
.wp-block-tag-cloud .tag-cloud-link:hover {
color: #ffffff;
border-color: transparent;
background-color: #a2c046;
}
/* 08.18. Block: RSS */
.wp-block-rss {
padding-left: 15px;
}
/* 08.19. Block: Search */
.wp-block-search .wp-block-search__input {
color: #a5a5a5;
width: 65%;
height: 56px;
max-width: 100%;
padding: 0 20px;
border-radius: 2px;
border: 1px solid #eee;
background-color: #f9f9f9;
}
.wp-block-search .wp-block-search__button {
margin-left: 0;
height: 56px;
width: 35%;
color: #ffffff;
font-size: 14px;
font-weight: 700;
font-family: "Roboto", sans-serif;
line-height: 56px;
border: none;
outline: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
background-color: #a2c046;
-webkit-transition: all .15s ease;
transition: all .15s ease;
}
.wp-block-search .wp-block-search__button:hover {
background-color: #9ab83f;
}
.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button {
padding: 0 24px;
}
/* 08.20 Block: Code */
.wp-block-code,
.wp-block-html .block-editor-plain-text {
padding: 0;
border: none;
}
/* --------------------------------------
* 08.21 Classic Block Styling
-------------------------------------- */
.wp-block-freeform.block-library-rich-text__tinymce a {
color: #a2c046;
}
.wp-block-freeform.block-library-rich-text__tinymce ol,
.wp-block-freeform.block-library-rich-text__tinymce ul {
padding-left: 20px;
}
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
border-left: 3px solid #eee;
}
.mce-item-table {
width: 100%;
margin-bottom: 30px;
border-collapse: collapse;
border-spacing: 0;
}
.mce-item-table td,
.mce-item-table th {
padding: 16px 30px;
border: 1px solid #e2e2e2;
}
.mce-item-table thead tr th {
color: #ffffff;
border-color: transparent;
background-color: #a2c046;
}