themes-wordpress/calm-business/style-editor.css

1810 lines
43 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@charset "UTF-8";
/*!
Calm (Twenty Nineteen) Editor Styles
*/
/** === Includes === */
/* If we add the border using a regular CSS border, it won't look good on non-retina devices,
* since its edges can look jagged due to lack of antialiasing. In this case, we are several
* layers of box-shadow to add the border visually, which will render the border smoother. */
/* Fallback for non-latin fonts */
/* Calculates maximum width for post content */
/* Nested sub-menu padding: 10 levels deep */
.site-header {
padding: 1rem 1em 0.75rem;
text-align: center;
}
.site-header.featured-image {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 90vh;
}
.site-header.featured-image .site-branding-container {
margin-bottom: auto;
}
@media only screen and (min-width: 768px) {
.site-header {
margin: 0;
padding: 2rem 0 1.5rem;
}
.site-header.featured-image {
min-height: 100vh;
margin-bottom: 3rem;
}
}
.site-branding {
color: #fff;
position: relative;
}
@media only screen and (min-width: 768px) {
.site-branding {
margin: 0 calc(10% + 60px);
}
}
.site-logo {
position: relative;
z-index: 999;
display: inline-block;
margin-bottom: 0.5rem;
}
@media only screen and (min-width: 768px) {
.site-logo {
margin-bottom: 1rem;
z-index: 999;
}
}
.site-logo .custom-logo-link {
box-sizing: content-box;
overflow: hidden;
display: block;
}
.site-logo .custom-logo-link .custom-logo {
min-height: inherit;
max-height: 66px;
vertical-align: top;
width: auto;
}
@media only screen and (min-width: 768px) {
.site-logo .custom-logo-link .custom-logo {
max-height: 88px;
}
}
.site-title,
.site-title.wp-block-a8c-site-title,
.site-title.wp-block-a8c-site-title:focus {
margin: 0;
display: block;
color: #242424;
font-size: 1.6875em;
/* When there is no description set, make sure navigation appears below title. */
}
.site-title a,
.site-title.wp-block-a8c-site-title a,
.site-title.wp-block-a8c-site-title:focus a {
color: #242424;
}
.site-title a:link, .site-title a:visited,
.site-title.wp-block-a8c-site-title a:link,
.site-title.wp-block-a8c-site-title a:visited,
.site-title.wp-block-a8c-site-title:focus a:link,
.site-title.wp-block-a8c-site-title:focus a:visited {
color: #242424;
}
.site-title a:hover,
.site-title.wp-block-a8c-site-title a:hover,
.site-title.wp-block-a8c-site-title:focus a:hover {
color: #4a4a4a;
}
.featured-image .site-title, .featured-image
.site-title.wp-block-a8c-site-title, .featured-image
.site-title.wp-block-a8c-site-title:focus {
margin: 0;
}
.site-title + .main-navigation,
.site-title.wp-block-a8c-site-title + .main-navigation,
.site-title.wp-block-a8c-site-title:focus + .main-navigation {
display: block;
}
@media only screen and (min-width: 768px) {
.site-title,
.site-title.wp-block-a8c-site-title,
.site-title.wp-block-a8c-site-title:focus {
display: block;
}
}
.site-description,
.block-editor .wp-block-a8c-site-description,
.wp-block-a8c-site-description,
.wp-block-a8c-site-description:focus {
display: block;
color: #242424;
font-weight: normal;
margin: 8px 0 0;
}
/** === Main menu === */
.main-navigation {
display: block;
margin-top: 1rem;
margin-bottom: 0;
/* Un-style buttons */
/*
* Sub-menu styles
*
* :focus-within needs its own selector so other similar
* selectors dont get ignored if a browser doesnt recognize it
*/
/**
* Fade-in animation for top-level submenus
*/
/**
* Off-canvas touch device styles
*/
}
body.page .main-navigation {
display: block;
}
.main-navigation > div {
display: inline;
}
.main-navigation button {
display: inline-block;
border: none;
padding: 0;
margin: 0;
font-family: "Poppins", sans-serif;
font-weight: 700;
line-height: 1.2;
text-decoration: none;
background: transparent;
color: inherit;
cursor: pointer;
transition: background 250ms ease-in-out, transform 150ms ease;
-webkit-appearance: none;
-moz-appearance: none;
}
.main-navigation button:hover, .main-navigation button:focus {
background: transparent;
}
.main-navigation button:focus {
outline: 1px solid transparent;
outline-offset: -4px;
}
.main-navigation button:active {
transform: scale(0.99);
}
.main-navigation .main-menu {
display: inline-block;
margin: 0;
padding: 0;
}
.main-navigation .main-menu > li {
color: #8D6708;
display: inline;
position: relative;
}
.main-navigation .main-menu > li > a {
font-weight: 600;
color: #8D6708;
margin-right: 0.5rem;
}
.main-navigation .main-menu > li > a + svg {
margin-right: 0.5rem;
}
.main-navigation .main-menu > li > a:hover,
.main-navigation .main-menu > li > a:hover + svg {
color: #5d4405;
}
.main-navigation .main-menu > li.menu-item-has-children {
display: inline-block;
position: inherit;
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu > li.menu-item-has-children {
position: relative;
}
}
.main-navigation .main-menu > li.menu-item-has-children > a {
margin-right: 0.125rem;
}
.main-navigation .main-menu > li.menu-item-has-children > a:after,
.main-navigation .main-menu > li.menu-item-has-children .menu-item-has-children > a:after {
content: "";
display: none;
}
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand {
display: inline-block;
margin-right: 0.25rem;
/* Priority+ Menu */
}
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand.main-menu-more-toggle {
position: relative;
height: 24px;
line-height: 1.2;
width: 24px;
padding: 0;
margin-left: 0.5rem;
}
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand.main-menu-more-toggle svg {
height: 24px;
width: 24px;
top: -0.125rem;
vertical-align: text-bottom;
}
.wp-customizer-unloading .main-navigation .main-menu > li.menu-item-has-children .submenu-expand, .main-navigation .main-menu > li.menu-item-has-children .submenu-expand.is-empty {
display: none;
}
.main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg {
position: relative;
top: 0.2rem;
}
.main-navigation .main-menu > li:last-child > a,
.main-navigation .main-menu > li:last-child.menu-item-has-children .submenu-expand {
margin-right: 0;
}
.main-navigation .sub-menu {
text-align: left;
background-color: #8D6708;
color: #FAF8F5;
list-style: none;
padding-left: 0;
position: absolute;
opacity: 0;
left: -9999px;
z-index: 99999;
}
@media only screen and (min-width: 768px) {
.main-navigation .sub-menu {
width: auto;
min-width: -moz-max-content;
min-width: -webkit-max-content;
min-width: max-content;
}
}
.main-navigation .sub-menu > li {
display: block;
float: none;
position: relative;
}
.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand {
display: inline-block;
position: absolute;
width: calc( 24px + 1rem);
right: 0;
top: calc( .125 * 1rem);
bottom: 0;
color: white;
line-height: 1;
padding: calc( .5 * 1rem);
}
.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand svg {
top: 0;
}
.main-navigation .sub-menu > li.menu-item-has-children .submenu-expand {
margin-right: 0;
}
@media only screen and (min-width: 768px) {
.main-navigation .sub-menu > li.menu-item-has-children .menu-item-has-children > a:after {
content: "\203a";
}
}
.main-navigation .sub-menu > li > a,
.main-navigation .sub-menu > li > .menu-item-link-return {
color: #FAF8F5;
display: block;
line-height: 1.2;
text-shadow: none;
padding: calc( .5 * 1rem) calc( 24px + 1rem) calc( .5 * 1rem) 1rem;
white-space: nowrap;
font-weight: 600;
}
.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus,
.main-navigation .sub-menu > li > .menu-item-link-return:hover,
.main-navigation .sub-menu > li > .menu-item-link-return:focus {
background: #5d4405;
}
.main-navigation .sub-menu > li > a:hover:after, .main-navigation .sub-menu > li > a:focus:after,
.main-navigation .sub-menu > li > .menu-item-link-return:hover:after,
.main-navigation .sub-menu > li > .menu-item-link-return:focus:after {
background: #5d4405;
}
.main-navigation .sub-menu > li > .menu-item-link-return {
width: 100%;
font-size: 22px;
font-weight: normal;
text-align: left;
}
.main-navigation .sub-menu > li > a:empty {
display: none;
}
.main-navigation .sub-menu > li.mobile-parent-nav-menu-item {
display: none;
font-size: 0.88889em;
font-weight: normal;
}
.main-navigation .sub-menu > li.mobile-parent-nav-menu-item svg {
position: relative;
top: 0.2rem;
margin-right: calc( .25 * 1rem);
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
display: block;
left: 0;
margin-top: 0;
opacity: 1;
width: auto;
min-width: 100%;
font-weight: 600;
/* Non-mobile position */
/* Nested sub-menu dashes */
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
display: block;
margin-top: 0;
opacity: 1;
position: absolute;
left: 0;
right: auto;
top: auto;
bottom: auto;
height: auto;
min-width: -moz-max-content;
min-width: -webkit-max-content;
min-width: max-content;
transform: none;
}
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
left: 0;
width: 100%;
display: table;
position: absolute;
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
right: 0;
left: auto;
display: block;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
}
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .submenu-expand {
display: none;
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
display: block;
margin-top: inherit;
position: relative;
width: 100%;
left: 0;
opacity: 1;
font-weight: 600;
/* Non-mobile position */
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
float: none;
max-width: 100%;
}
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
counter-reset: submenu;
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu > li > a::before {
font-family: "Poppins", sans-serif;
font-weight: normal;
content: " " counters(submenu, " ", none);
counter-increment: submenu;
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu {
display: block;
left: 0;
margin-top: 0;
opacity: 1;
width: auto;
min-width: 100%;
/* Non-mobile position */
/* Nested sub-menu dashes */
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu {
display: block;
float: none;
margin-top: 0;
opacity: 1;
position: absolute;
left: 0;
right: auto;
top: auto;
bottom: auto;
height: auto;
min-width: -moz-max-content;
min-width: -webkit-max-content;
min-width: max-content;
transform: none;
}
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu.hidden-links,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu.hidden-links,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu.hidden-links {
left: 0;
width: 100%;
display: table;
position: absolute;
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu.hidden-links,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu.hidden-links,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu.hidden-links {
right: 0;
left: auto;
display: table;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
}
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .submenu-expand,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .submenu-expand,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .submenu-expand {
display: none;
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu {
display: block;
margin-top: inherit;
position: relative;
width: 100%;
left: 0;
opacity: 1;
/* Non-mobile position */
}
@media only screen and (min-width: 768px) {
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu {
float: none;
max-width: 100%;
}
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu {
counter-reset: submenu;
}
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu .sub-menu > li > a::before,
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus > .sub-menu .sub-menu > li > a::before,
.main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu > li > a::before {
font-family: "Poppins", sans-serif;
font-weight: normal;
content: " " counters(submenu, " ", none);
counter-increment: submenu;
}
.main-navigation .main-menu > .menu-item-has-children:not(.off-canvas):hover > .sub-menu {
animation: fade_in 0.1s forwards;
}
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu .submenu-expand .svg-icon {
transform: rotate(270deg);
}
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu .sub-menu {
opacity: 0;
position: absolute;
z-index: 0;
transform: translateX(-100%);
}
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li:hover,
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li:focus,
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li > a:hover,
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu li > a:focus {
background-color: transparent;
}
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu > li > a,
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu > li > .menu-item-link-return {
white-space: inherit;
}
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true {
display: table;
margin-top: 0;
opacity: 1;
padding-left: 0;
/* Mobile position */
left: 0;
top: 0;
right: 0;
bottom: 0;
position: fixed;
z-index: 100000;
/* Make sure appears above mobile admin bar */
width: 100vw;
height: 100vh;
max-width: 100vw;
transform: translateX(100%);
animation: slide_in_right 0.3s forwards;
/* Prevent menu from being blocked by admin bar */
}
.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true > .mobile-parent-nav-menu-item {
display: block;
}
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true {
top: 46px;
height: calc( 100vh - 46px);
/* WP core breakpoint */
}
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true .sub-menu.expanded-true {
top: 0;
}
@media only screen and (min-width: 782px) {
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true {
top: 32px;
height: calc( 100vh - 32px);
}
.admin-bar .main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true .sub-menu.expanded-true {
top: 0;
}
}
.main-navigation .main-menu-more:nth-child(n+3) {
display: none;
}
/* Menu animation */
@keyframes slide_in_right {
100% {
transform: translateX(0%);
}
}
@keyframes fade_in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.author-description .author-link,
.comment-metadata,
.comment-reply-link,
.comments-title,
.comment-author .fn,
.discussion-meta-info,
.entry-meta,
.entry-footer,
.main-navigation,
.no-comments,
.not-found .page-title,
.error-404 .page-title,
.post-navigation .post-title,
.page-links,
.page-description,
.pagination .nav-links,
.sticky-post,
.site-title,
.site-title:focus,
.site-info,
#cancel-comment-reply-link,
img:after,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Poppins", sans-serif;
}
.main-navigation,
.page-description,
.author-description .author-link,
.not-found .page-title,
.error-404 .page-title,
.post-navigation .post-title,
.pagination .nav-links,
.comments-title,
.comment-author .fn,
.no-comments,
.site-title,
.site-title:focus,
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
letter-spacing: normal;
line-height: 1.2;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.page-title {
font-family: "Poppins", sans-serif;
}
.site-branding,
.main-navigation ul.main-menu > li,
.social-navigation,
.author-description .author-bio,
.nav-links {
line-height: 1.25;
}
h1 {
font-size: 1.6875em;
}
.entry-title,
.not-found .page-title,
.error-404 .page-title,
.has-larger-font-size,
h2 {
font-size: 1.125em;
}
.has-regular-font-size,
.has-large-font-size,
.comments-title,
h3 {
font-size: 22px;
}
.site-title,
.site-title:focus,
.site-description,
.site-description:focus,
.main-navigation,
.nav-links,
.page-title,
.page-description,
.comment-author .fn,
.no-comments,
h2.author-title,
p.author-bio,
h4 {
font-size: 0.88889em;
}
.pagination .nav-links,
.comment-content,
h5 {
font-size: 0.71111em;
}
.entry-meta,
.entry-footer,
.discussion-meta-info,
.site-info,
.has-small-font-size,
.comment-reply-link,
.comment-metadata,
.comment-notes,
.sticky-post,
#cancel-comment-reply-link,
img:after,
h6 {
font-size: 0.59259em;
}
.site-title,
.site-title:focus,
.page-title {
font-weight: 700;
font-size: 1.125em;
}
.page-description,
.page-links a {
font-weight: bold;
}
.site-description,
.wp-block-a8c-site-description,
.wp-block-a8c-site-description:focus {
letter-spacing: normal;
font-size: 0.71111em;
}
.post-navigation .post-title,
.entry-title,
.not-found .page-title,
.error-404 .page-title,
.comments-title,
blockquote {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-break: break-word;
}
/* Do not hyphenate entry title on tablet view and bigger. */
@media only screen and (min-width: 768px) {
.entry-title {
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
}
/** === Editor Frame === */
body {
background-color: #FAF8F5;
font-weight: 400;
font-size: 1em;
}
body .wp-block[data-align="full"] {
width: 100%;
}
@media only screen and (min-width: 600px) {
body .wp-block[data-align="full"] {
width: calc( 100% + 90px);
max-width: calc( 100% + 90px);
}
}
@media only screen and (min-width: 768px) {
body .editor-writing-flow {
max-width: 80%;
margin: 0 10%;
}
body .wp-block[data-align="wide"] {
width: 100%;
}
body .wp-block[data-align="full"] {
position: relative;
left: calc( -12.5% - 14px);
width: calc( 125% + 116px);
max-width: calc( 125% + 115px);
}
body .wp-block[data-align="right"] {
max-width: 125%;
}
}
/** === Content Width === */
.wp-block {
width: calc(100vw - (2 * 1rem));
max-width: 100%;
}
@media only screen and (min-width: 768px) {
.wp-block {
width: calc(8 * (100vw / 12) - 28px);
}
}
@media only screen and (min-width: 1168px) {
.wp-block {
width: calc(6 * (100vw / 12) - 28px);
}
}
.wp-block .wp-block {
width: 100%;
}
.block-editor-block-list__layout {
padding: 0;
}
/** === Base Typography === */
body {
font-size: 22px;
font-family: "Poppins", sans-serif;
line-height: 1.8;
color: #242424;
}
p {
font-size: 22px;
}
p.has-small-font-size {
font-size: 0.88889em;
}
p.has-normal-font-size {
font-size: 1.125em;
}
p.has-large-font-size {
font-size: 1.6875em;
}
p.has-huge-font-size {
font-size: 2.25em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Poppins", sans-serif;
font-weight: 600;
line-height: 1.2;
margin-top: 32px;
margin-bottom: 32px;
}
.editor-inner-blocks h1, .editor-inner-blocks
h2, .editor-inner-blocks
h3, .editor-inner-blocks
h4, .editor-inner-blocks
h5, .editor-inner-blocks
h6 {
margin-top: 1.375rem;
margin-bottom: 1.375rem;
}
h1 {
font-size: 1.6875em;
}
h2 {
font-size: 1.125em;
}
h3 {
font-size: 22px;
}
h4 {
font-size: 0.88889em;
}
h5 {
font-size: 0.71111em;
}
h6 {
font-size: 0.59259em;
}
a {
transition: color 110ms ease-in-out;
color: #8D6708;
}
a:hover, a:active {
color: #5d4405;
outline: 0;
text-decoration: none;
}
a:focus {
outline: 0;
text-decoration: underline;
}
.has-primary-background-color,
.has-secondary-background-color,
.has-dark-gray-background-color,
.has-light-gray-background-color {
color: #FAF8F5;
}
.has-primary-background-color p,
.has-primary-background-color h1,
.has-primary-background-color h2,
.has-primary-background-color h3,
.has-primary-background-color h4,
.has-primary-background-color h5,
.has-primary-background-color h6,
.has-primary-background-color a,
.has-secondary-background-color p,
.has-secondary-background-color h1,
.has-secondary-background-color h2,
.has-secondary-background-color h3,
.has-secondary-background-color h4,
.has-secondary-background-color h5,
.has-secondary-background-color h6,
.has-secondary-background-color a,
.has-dark-gray-background-color p,
.has-dark-gray-background-color h1,
.has-dark-gray-background-color h2,
.has-dark-gray-background-color h3,
.has-dark-gray-background-color h4,
.has-dark-gray-background-color h5,
.has-dark-gray-background-color h6,
.has-dark-gray-background-color a,
.has-light-gray-background-color p,
.has-light-gray-background-color h1,
.has-light-gray-background-color h2,
.has-light-gray-background-color h3,
.has-light-gray-background-color h4,
.has-light-gray-background-color h5,
.has-light-gray-background-color h6,
.has-light-gray-background-color a {
color: #FAF8F5;
}
.has-white-background-color {
color: #242424;
}
.has-white-background-color p,
.has-white-background-color h1,
.has-white-background-color h2,
.has-white-background-color h3,
.has-white-background-color h4,
.has-white-background-color h5,
.has-white-background-color h6,
.has-white-background-color a {
color: #242424;
}
figcaption,
.gallery-caption {
font-family: "Poppins", sans-serif;
font-size: 0.71111em;
line-height: 1.6;
color: #fff;
}
/** === Post Title === */
.editor-post-title {
margin-left: auto;
margin-right: auto;
padding: 0;
}
@media only screen and (min-width: 768px) {
.editor-post-title {
width: calc(8 * (100vw / 12) - 28px);
}
}
@media only screen and (min-width: 1168px) {
.editor-post-title {
width: calc(6 * (100vw / 12) - 28px);
}
}
.editor-post-title__block {
font-size: 22px;
margin: 0;
}
.editor-post-title__block:before {
margin-top: 0;
margin-bottom: 0;
position: relative;
top: 0.5em;
}
.editor-post-title__block .editor-post-title__input {
font-family: "Poppins", sans-serif;
font-size: 1.125em;
font-weight: 600;
}
@media only screen and (min-width: 768px) {
.editor-post-title__block .editor-post-title__input {
font-size: 1.6875em;
}
}
/** === Default Appender === */
.editor-default-block-appender .editor-default-block-appender__content {
font-family: "Poppins", sans-serif;
font-size: 22px;
}
/** === Heading === */
.wp-block-heading strong {
font-weight: bolder;
}
/** === Paragraph === */
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
font-family: "Poppins", sans-serif;
font-size: 3.375em;
line-height: 1;
font-weight: bold;
margin: 0 0.25em 0 0;
}
/** === Table === */
.wp-block-table {
font-family: "Poppins", sans-serif;
}
/** === Cover === */
.wp-block-cover {
position: relative;
min-height: 380px;
padding: 1rem;
}
.wp-block-cover .wp-block-cover__inner-container {
padding: 0;
color: #fff;
}
.wp-block-cover .wp-block-cover__inner-container a {
color: inherit;
}
.wp-block-cover .wp-block-cover__inner-container strong {
font-weight: bolder;
}
.wp-block-cover .wp-block-cover__inner-container h1,
.wp-block-cover .wp-block-cover__inner-container h2,
.wp-block-cover .wp-block-cover__inner-container h3,
.wp-block-cover .wp-block-cover__inner-container h4,
.wp-block-cover .wp-block-cover__inner-container h5,
.wp-block-cover .wp-block-cover__inner-container h6 {
font-weight: 700;
}
.wp-block-cover .wp-block-cover__inner-container h1 {
font-size: 2.25em;
}
.wp-block-cover .wp-block-cover__inner-container h2 {
font-size: 1.6875em;
max-width: 100%;
padding: 0;
text-align: left;
}
.wp-block-cover .wp-block-cover__inner-container h3 {
font-size: 1.125em;
}
.wp-block-cover .wp-block-cover__inner-container h4 {
font-size: 22px;
}
.wp-block-cover .wp-block-cover__inner-container h5 {
font-size: 0.88889em;
}
.wp-block-cover .wp-block-cover__inner-container h6 {
font-size: 0.71111em;
}
@media only screen and (min-width: 768px) {
.wp-block-cover .wp-block-cover__inner-container {
margin-left: auto;
margin-right: auto;
padding: 0;
}
.wp-block-cover .wp-block-cover__inner-container h1 {
font-size: 3.375em;
}
.wp-block-cover .wp-block-cover__inner-container h2 {
font-size: 2.8125em;
}
.wp-block-cover .wp-block-cover__inner-container h3 {
font-size: 1.6875em;
}
.wp-block-cover .wp-block-cover__inner-container h4 {
font-size: 1.125em;
}
.wp-block-cover .wp-block-cover__inner-container h5 {
font-size: 22px;
}
.wp-block-cover .wp-block-cover__inner-container h6 {
font-size: 0.88889em;
}
}
@media only screen and (min-width: 768px) {
.wp-block-cover {
padding: 1rem 10%;
min-height: 620px;
}
}
.wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover__inner-container,
.wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover__inner-container {
width: calc(2 * (100vw / 12));
}
.wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover,
.wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover {
width: 100%;
max-width: 100%;
padding: calc(1.375 * 1rem);
}
.wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover p,
.wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover p {
padding-left: 0;
padding-right: 0;
}
@media only screen and (min-width: 768px) {
.wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover,
.wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover {
padding: calc(2.75 * 1rem) calc(2.75 * 1rem) calc(3.125 * 1rem);
}
}
@media only screen and (min-width: 768px) {
.wp-block[data-type="core/cover"][data-align="wide"] .wp-block-cover__inner-container,
.wp-block[data-type="core/cover"][data-align="full"] .wp-block-cover__inner-container {
max-width: 100%;
}
}
@media only screen and (min-width: 1168px) {
.wp-block[data-type="core/cover"][data-align="wide"] .wp-block-cover__inner-container,
.wp-block[data-type="core/cover"][data-align="full"] .wp-block-cover__inner-container {
max-width: 100%;
}
}
@media only screen and (min-width: 768px) {
.wp-block[data-type="core/cover"][data-align="full"] .wp-block-cover {
padding-left: calc(10% + 64px);
padding-right: calc(10% + 64px);
}
}
/** === Gallery === */
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption,
.wp-block-gallery .gallery-item .gallery-caption {
font-size: 0.71111em;
line-height: 1.6;
}
/** === Button === */
.wp-block-button .wp-block-button__link {
line-height: 1.8;
font-family: "Poppins", sans-serif;
font-size: 0.88889em;
font-weight: bold;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
background: #8D6708;
}
.wp-block-button:not(.is-style-squared) .wp-block-button__link {
border-radius: 5px;
}
.wp-block-button.is-style-outline, .wp-block-button.is-style-outline:hover, .wp-block-button.is-style-outline:focus, .wp-block-button.is-style-outline:active {
background: transparent;
color: #8D6708;
}
.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline:hover .wp-block-button__link, .wp-block-button.is-style-outline:focus .wp-block-button__link, .wp-block-button.is-style-outline:active .wp-block-button__link {
background: transparent;
}
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:focus .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color) {
color: #8D6708;
}
/** === Blockquote === */
.wp-block-quote:not(.is-large):not(.is-style-large) {
border-width: 2px;
border-color: #8D6708;
}
.wp-block-quote.is-large, .wp-block-quote.is-style-large {
margin-top: 2.8125em;
margin-bottom: 2.8125em;
}
.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
font-size: 1.6875em;
line-height: 1.3;
margin-bottom: 0.5em;
margin-top: 0.5em;
}
.wp-block-quote cite,
.wp-block-quote footer,
.wp-block-quote .wp-block-quote__citation {
font-family: "Poppins", sans-serif;
font-size: 0.71111em;
line-height: 1.6;
color: #fff;
}
/** === Pullquote === */
.wp-block-pullquote {
border-color: transparent;
border-width: 2px;
color: #000;
}
.wp-block-pullquote blockquote {
margin-top: calc(3 * 1rem);
margin-bottom: calc(3.33 * 1rem);
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-break: break-word;
}
.wp-block-pullquote:not(.is-style-solid-color) .wp-block-pullquote__citation {
color: #fff;
}
.wp-block-pullquote.is-style-solid-color blockquote {
width: calc(100% - (2 * 1rem));
max-width: calc( 100% - (2 * 1rem));
}
.wp-block-pullquote.is-style-solid-color blockquote a,
.wp-block-pullquote.is-style-solid-color blockquote.has-text-color p,
.wp-block-pullquote.is-style-solid-color blockquote.has-text-color a {
color: inherit;
}
.wp-block-pullquote.is-style-solid-color blockquote:not(.has-text-color) {
color: #FAF8F5;
}
@media only screen and (min-width: 768px) {
.wp-block-pullquote.is-style-solid-color blockquote {
max-width: 80%;
}
}
.wp-block-pullquote.is-style-solid-color:not(.has-background-color) {
background-color: #8D6708;
}
.wp-block[data-type="core/pullquote"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"] p,
.wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"][data-align="left"] p,
.wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"][data-align="right"] p {
font-size: 1.6875em;
font-style: italic;
line-height: 1.3;
margin-bottom: 0.5em;
margin-top: 0.5em;
}
@media only screen and (min-width: 768px) {
.wp-block[data-type="core/pullquote"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"] p,
.wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"][data-align="left"] p,
.wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"][data-align="right"] p {
font-size: 2.25em;
}
}
.wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation,
.wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote__citation,
.wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote__citation {
font-family: "Poppins", sans-serif;
font-size: 0.71111em;
line-height: 1.6;
text-transform: none;
}
.wp-block[data-type="core/pullquote"] em,
.wp-block[data-type="core/pullquote"][data-align="left"] em,
.wp-block[data-type="core/pullquote"][data-align="right"] em {
font-style: normal;
}
.wp-block[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit,
.wp-block[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit {
width: calc(4 * (100vw / 12));
max-width: 50%;
}
.wp-block[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit .wp-block-pullquote:not(.is-style-solid-color),
.wp-block[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit .wp-block-pullquote:not(.is-style-solid-color) {
padding: 0;
}
.wp-block[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color,
.wp-block[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color {
padding: 1em;
}
.wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"][data-align="left"] p,
.wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote__citation,
.wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .editor-rich-text p,
.wp-block[data-type="core/pullquote"][data-align="right"] p,
.wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote__citation {
text-align: left;
}
@media only screen and (min-width: 768px) {
.wp-block[data-type="core/pullquote"][data-align="full"] .wp-block-pullquote blockquote {
max-width: calc(80% - 128px);
}
}
/** === File === */
.wp-block-file {
font-family: "Poppins", sans-serif;
}
.wp-block-file .wp-block-file__textlink {
text-decoration: underline;
color: #8D6708;
}
.wp-block-file .wp-block-file__textlink:hover {
color: #5d4405;
text-decoration: none;
}
.wp-block-file .wp-block-file__button {
display: table;
line-height: 1.8;
font-size: 0.88889em;
font-weight: bold;
background-color: #8D6708;
border-radius: 5px;
}
.wp-block-file .wp-block-file__button-richtext-wrapper {
display: block;
margin-top: calc(0.75 * 1rem);
margin-left: 0;
}
/** === Verse === */
.wp-block-verse,
.wp-block-verse pre {
padding: 0;
}
/** === Code === */
.wp-block-code {
border-radius: 0;
}
/** === Table === */
.wp-block-table td, .wp-block-table th {
border-color: #fff;
}
/** === Separator === */
.wp-block-separator,
hr {
height: 2px;
margin-bottom: 2.75rem;
margin-top: 2.75rem;
text-align: left;
max-width: calc(6*(100vw/12) - 28px) !important;
border: 0;
/* Remove duplicate rule-line when a separator
* is followed by an H1, or H2 */
}
.wp-block-separator:after,
hr:after {
background-color: #2E2E2E;
content: '';
display: block;
height: 2px;
max-width: 3.25em;
}
.wp-block-separator.is-style-wide,
hr.is-style-wide {
background-color: #2E2E2E;
}
@media only screen and (min-width: 768px) {
.wp-block-separator.is-style-wide,
hr.is-style-wide {
max-width: calc(8 * (100vw / 12) - 28px);
}
}
@media only screen and (min-width: 1168px) {
.wp-block-separator.is-style-wide,
hr.is-style-wide {
max-width: calc(6 * (100vw / 12) - 28px);
}
}
.wp-block-separator.is-style-wide:after,
hr.is-style-wide:after {
display: none;
}
.wp-block-separator.is-style-dots,
hr.is-style-dots {
background-color: inherit;
border: inherit;
height: inherit;
text-align: center;
}
@media only screen and (min-width: 768px) {
.wp-block-separator.is-style-dots,
hr.is-style-dots {
max-width: calc(8 * (100vw / 12) - 28px);
}
}
@media only screen and (min-width: 1168px) {
.wp-block-separator.is-style-dots,
hr.is-style-dots {
max-width: calc(6 * (100vw / 12) - 28px);
}
}
.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #2E2E2E;
font-size: 1.6875em;
letter-spacing: 0.88889em;
padding-left: 0.88889em;
}
.wp-block-separator.is-style-dots:after,
hr.is-style-dots:after {
display: none;
}
.wp-block-separator + h1:before,
.wp-block-separator + h2:before,
hr + h1:before,
hr + h2:before {
display: none;
}
/* Remove duplicate rule-line when a separator
* is followed by an H1, or H2 */
.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h1:before,
.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h2:before {
display: none;
}
/** === Latest Posts, Archives, Categories === */
ul.wp-block-archives,
.wp-block-categories,
.wp-block-latest-posts {
padding: 0;
list-style-type: none;
}
ul.wp-block-archives ul,
.wp-block-categories ul,
.wp-block-latest-posts ul {
padding: 0;
list-style-type: none;
}
ul.wp-block-archives li,
.wp-block-categories li,
.wp-block-latest-posts li {
color: #fff;
font-family: "Poppins", sans-serif;
font-size: calc(22px * 1.125);
font-weight: bold;
line-height: 1.2;
padding-bottom: 0.75rem;
}
ul.wp-block-archives li.menu-item-has-children, ul.wp-block-archives li:last-child,
.wp-block-categories li.menu-item-has-children,
.wp-block-categories li:last-child,
.wp-block-latest-posts li.menu-item-has-children,
.wp-block-latest-posts li:last-child {
padding-bottom: 0;
}
ul.wp-block-archives li a,
.wp-block-categories li a,
.wp-block-latest-posts li a {
text-decoration: none;
}
ul.wp-block-archives li ul,
.wp-block-categories li ul,
.wp-block-latest-posts li ul {
padding-left: 1rem;
}
.wp-block-categories ul {
padding-top: 0.75rem;
}
.wp-block-categories ul ul {
counter-reset: submenu;
}
.wp-block-categories ul ul > li > a::before {
font-family: "Poppins", sans-serif;
font-size: 0.88889em;
font-weight: 600;
line-height: 1.2;
content: " " counters(submenu, " ", none);
counter-increment: submenu;
}
.wp-block-categories li ul {
list-style: none;
padding-left: 0;
margin-bottom: -0.75rem;
}
/** === Latest Posts grid view === */
.wp-block-latest-posts.is-grid li {
border-top: 2px solid #ccc;
padding-top: 1rem;
margin-bottom: 2rem;
}
.wp-block-latest-posts.is-grid li a:after {
content: '';
}
.wp-block-latest-posts.is-grid li:last-child {
margin-bottom: auto;
}
.wp-block-latest-posts.is-grid li:last-child a:after {
content: '';
}
/** === Latest Comments === */
.wp-block-latest-comments .wp-block-latest-comments__comment-meta {
font-family: "Poppins", sans-serif;
font-weight: bold;
}
.wp-block-latest-comments .wp-block-latest-comments__comment-meta .wp-block-latest-comments__comment-date {
font-weight: normal;
}
.wp-block-latest-comments .wp-block-latest-comments__comment,
.wp-block-latest-comments .wp-block-latest-comments__comment-date,
.wp-block-latest-comments .wp-block-latest-comments__comment-excerpt p {
font-size: inherit;
}
.wp-block-latest-comments .wp-block-latest-comments__comment-date {
font-size: 0.71111em;
}
/** === Site Title Block === */
.wp-block-a8c-site-title {
text-align: center;
}
/** === Site Description Block === */
.wp-block-a8c-site-description {
text-align: center;
margin: 0;
}
/** === Classic Editor === */
/* Properly center-align captions in the classic-editor block */
.wp-caption dd {
color: #fff;
font-size: 0.71111em;
font-family: "Poppins", sans-serif;
line-height: 1.6;
margin: 0;
padding: 0.5rem;
text-align: left;
text-align: center;
-webkit-margin-start: 0px;
margin-inline-start: 0px;
}
.wp-block-freeform {
/* Add style for galleries in classic-editor block */
}
.wp-block-freeform blockquote {
border-left: 2px solid #8D6708;
}
.wp-block-freeform blockquote cite {
font-family: "Poppins", sans-serif;
font-size: 0.71111em;
font-style: normal;
line-height: 1.6;
color: #fff;
}
/* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
.wp-block[data-type="core/freeform"] .mce-btn i {
font-family: dashicons !important;
}
/** === Media and Text Block === */
.wp-block-media-text {
background-color: #6C6C74;
color: #fff;
}
.wp-block-media-text .editor-inner-blocks {
align-self: start;
padding-top: 32px;
padding-bottom: 32px;
}
.wp-block-media-text:before {
content: '';
position: absolute;
left: 0;
width: 100%;
border-top: 32px solid #FAF8F5;
border-bottom: 32px solid #FAF8F5;
height: 100%;
}
.wp-block-media-text.has-media-on-the-right {
background-color: #fff;
color: #242424;
}
.wp-block-media-text .editor-block-list__block {
margin: 0;
}
.wp-block-media-text .editor-block-list__block:first-child .components-autocomplete > :first-child:before {
border-width: 1px;
border-style: solid;
border-color: inherit;
content: "";
display: block;
height: 2px;
margin: 1.46rem 0 1rem;
width: 20px;
}
.wp-block-media-text .has-small-font-size {
font-size: 0.88889em;
}
.wp-block-media-text .has-normal-font-size {
font-size: 1.125em;
}
.wp-block-media-text .has-large-font-size {
font-size: 1.6875em;
}
.wp-block-media-text .has-huge-font-size {
font-size: 2.25em;
}
[data-type="core/media-text"] + [data-type="core/media-text"] {
margin-top: -32px;
}
[data-type="core/media-text"] a {
color: inherit;
}
/** === Mailchimp Block - Temp Fix === */
.wp-block-jetpack-mailchimp p {
font-size: 0.71111em;
}
/** === Business Hours Block - Temp Fix === */
.wp-block-jetpack-business-hours dt,
.wp-block-jetpack-business-hours dd {
float: left;
}
.wp-block-jetpack-business-hours dt {
clear: both;
font-weight: bold;
margin-right: 0.5rem;
}
.wp-block-jetpack-business-hours dd {
margin: 0;
}