File: /home/wwwrenee/public_html/wp-content/themes/maxcoach/assets/scss/editor-style.scss
$primary-color: #20ad96;
html .mceContentBody {
max-width: 95%;
}
body {
-webkit-font-smoothing: antialiased;
color: #696969;
font-family: Gilroy, sans-serif;
font-size: 15px;
font-weight: 400;
letter-spacing: 0;
line-height: 1.74;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
th {
clear: both;
font-family: Gilroy, sans-serif;
font-weight: 700;
letter-spacing: 0;
line-height: 1.3;
color: #333;
margin: 0 0 18px;
}
h1,
.wp-block-freeform.block-library-rich-text__tinymce h1 {
font-size: 38px;
}
h2,
.wp-block-freeform.block-library-rich-text__tinymce h2 {
font-size: 34px;
}
h3,
.wp-block-freeform.block-library-rich-text__tinymce h3 {
font-size: 30px;
}
h4,
.wp-block-freeform.block-library-rich-text__tinymce h4 {
font-size: 26px;
}
h5,
.wp-block-freeform.block-library-rich-text__tinymce h5 {
font-size: 22px;
}
h6,
.wp-block-freeform.block-library-rich-text__tinymce h6 {
font-size: 18px;
}
hr {
margin-bottom: 1.625em;
height: 1px;
border: 0;
background-color: #ccc;
}
p {
margin-bottom: 1.5em;
margin-top: 0;
&:last-child {
margin-bottom: 0;
}
}
ul {
padding-left: 20px;
}
ol {
padding-left: 30px;
list-style: decimal;
}
ol, ul {
margin-top: 1em;
margin-bottom: 1em;
}
li > ul,
li > ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin: 0 1.5em 1.5em;
}
ol ol ul, ol ul ul, ul ol ul, ul ul ul {
list-style-type: square;
}
strong {
font-weight: 700;
}
cite,
em,
i {
font-style: italic;
}
cite {
border: 0;
}
big {
font-size: 131.25%;
}
mark {
background: none;
text-decoration: none;
color: #086ad8;
}
blockquote, q {
quotes: "" "";
}
blockquote {
margin: 50px 0 44px 48px !important;
padding: 0 0 0 20px;
font-size: 18px;
font-weight: 500;
line-height: 1.78;
border: 0;
border-left: 4px solid #20ad96;
max-width: 660px;
}
.mceContentBody {
blockquote,
blockquote p {
margin: 0 3em;
font-weight: 400;
font-style: italic !important;
font-family: Georgia, 'Bitstream Charter', serif !important;
}
}
.mceContentBody {
blockquote em,
blockquote i,
blockquote cite {
font-style: normal;
}
}
.mceContentBody blockquote cite {
color: #666;
text-transform: uppercase;
letter-spacing: .05em;
font: 12px 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
}
pre {
margin-bottom: 1.625em;
padding: .75em 1.625em;
background: #f4f4f4;
font: 13px 'Courier 10 Pitch', Courier, monospace;
line-height: 1.5;
}
code,
kbd,
samp,
var,
.wp-block-freeform.block-library-rich-text__tinymce code {
font-size: 15px;
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym,
dfn {
border-bottom: 1px dotted #666;
cursor: help;
}
address {
display: block;
margin: 0 0 1.625em;
}
del {
color: #333;
}
ins {
border: 0;
background: #fff9c0;
color: #333;
text-decoration: none;
}
sup,
sub {
position: relative;
height: 0;
vertical-align: baseline;
font-size: 10px;
line-height: 1;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
input[type='text'],
textarea {
border: 1px solid rgb(221, 221, 221);
background: #fafafa;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
color: rgb(136, 136, 136);
}
input[type='text']:focus,
textarea:focus {
color: rgb(51, 51, 51);
}
textarea {
padding-left: 3px;
width: 98%;
}
input[type='text'] {
padding: 3px;
}
/* Links */
a,
a em,
a strong,
.wp-block-freeform.block-library-rich-text__tinymce a {
color: #7e7e7e;
text-decoration: none;
}
a:focus,
a:active,
a:hover,
.wp-block-freeform.block-library-rich-text__tinymce a:hover {
color: #5945e6;
}
/* Alignment */
.alignleft {
display: inline;
float: left;
margin-right: 1.625em;
}
.alignright {
display: inline;
float: right;
margin-left: 1.625em;
}
.aligncenter {
display: block;
clear: both;
margin-right: auto;
margin-left: auto;
}
/* Tables */
table {
border-spacing: 0;
border-collapse: collapse;
border: none;
margin: 0 0 1.5em;
width: 100%;
}
td, th {
border: 1px solid rgba(0, 0, 0, .08);
padding: 10px;
text-align: center;
vertical-align: middle;
}
table {
th {
&.empty {
visibility: hidden;
border: 0;
background: none;
}
}
tr:nth-child(2n) {
td {
background: rgba(0, 0, 0, .01);
}
}
}
/* Images */
img[class*='wp-image-'] {
max-width: 97.5%;
height: auto;
}
img.size-full {
width: auto; /* Prevent stretching of full-size images in IE8 */
}
img.wp-smiley {
margin-top: 0;
margin-bottom: 0;
padding: 0;
border: 0;
}
p img,
.wp-caption {
margin-top: .4em;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 1.625em;
}
.wp-caption {
margin-bottom: 1.625em;
padding: 9px;
max-width: 96%;
border: 0;
background: #eee;
}
.wp-caption img {
display: block;
margin: 5px auto 0 !important;
max-width: 98%;
border-color: #eee;
}
.wp-caption .wp-caption-text,
.wp-caption-dd {
position: relative;
margin: 0 0 .6em !important;
padding: 0 0 5px 40px;
color: #666;
text-align: left;
font-size: 12px;
font-family: Georgia, serif !important;
}
.wp-caption .wp-caption-text:before {
position: absolute;
top: 7px;
left: 10px;
margin-right: 5px;
color: #666;
content: '\2014';
font-weight: 700;
font-style: normal;
font-size: 14px;
}
a:focus,
a:hover,
a:active {
[class*='wp-image-'] {
border-color: #bbb;
background: #eee;
}
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {
border-color: #ddd;
background: #fff;
}
/* Main column width */
.wp-block {
max-width: 800px;
}
[class^='eicon'],
[class*= 'eicon-'] {
font-family: eicons;
}
.components-resizable-box__container {
max-width: 100% !important;
}
[data-block] {
margin-top: 0;
margin-bottom: 30px;
}
.wp-block-column {
margin-top: 30px;
}
figcaption,
.wp-block-image figcaption {
margin: 0;
text-align: center;
color: inherit;
background: #f5f5f5;
padding: 6px 10px;
font-size: .9em;
}
.wp-block-image > div:first-child {
line-height: 0;
}
.wp-block-latest-posts {
padding: 0;
&:not(.is-grid) {
li + li {
margin: 8px 0 0;
}
}
}
// Quote in column.
.wp-block-column {
.wp-block-quote {
margin: 0 0 30px !important;
}
}
// Button
.wp-block-button__link {
font-weight: 700;
font-size: 14px;
text-transform: none;
letter-spacing: 0em;
padding: 16px 41px;
color: #fff;
border-color: $primary-color;
background-color: $primary-color;
}
.is-style-outline .wp-block-button__link {
background-color: transparent;
color: $primary-color;
border-color: currentColor;
}
// Cover.
.block-editor-block-list__block[data-type="core/paragraph"] p {
line-height: 1.3;
}
.has-large-font-size,
.has-huge-font-size {
line-height: 1.3;
margin-bottom: 18px;
}
.wp-block-cover {
.editor-rich-text {
a {
color: inherit;
}
}
}