|
@@ -7,7 +7,7 @@ Author URI: https://wordpress.com
|
|
Template: twentynineteen
|
|
Template: twentynineteen
|
|
Description: Your classy establishment needs an equally classy website to showcase your stylish rooms and quality products! With its bold typography and peaceful color scheme, Calm Business exudes a calm, inviting atmosphere as a bed and breakfast, time share, or brick & mortar store fronts.
|
|
Description: Your classy establishment needs an equally classy website to showcase your stylish rooms and quality products! With its bold typography and peaceful color scheme, Calm Business exudes a calm, inviting atmosphere as a bed and breakfast, time share, or brick & mortar store fronts.
|
|
Requires at least: WordPress 4.9.6
|
|
Requires at least: WordPress 4.9.6
|
|
-Version: 1.0
|
|
|
|
|
|
+Version: 1.1
|
|
License: GNU General Public License v2 or later
|
|
License: GNU General Public License v2 or later
|
|
License URI: LICENSE
|
|
License URI: LICENSE
|
|
Text Domain: calm-business
|
|
Text Domain: calm-business
|
|
@@ -137,7 +137,8 @@ abbr[title] {
|
|
/* 1 */
|
|
/* 1 */
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
/* 2 */
|
|
/* 2 */
|
|
- text-decoration: underline dotted;
|
|
|
|
|
|
+ -webkit-text-decoration: underline dotted;
|
|
|
|
+ text-decoration: underline dotted;
|
|
/* 2 */
|
|
/* 2 */
|
|
}
|
|
}
|
|
|
|
|
|
@@ -586,14 +587,18 @@ h6 {
|
|
.error-404 .page-title,
|
|
.error-404 .page-title,
|
|
.comments-title,
|
|
.comments-title,
|
|
blockquote {
|
|
blockquote {
|
|
- hyphens: auto;
|
|
|
|
|
|
+ -webkit-hyphens: auto;
|
|
|
|
+ -ms-hyphens: auto;
|
|
|
|
+ hyphens: auto;
|
|
word-break: break-word;
|
|
word-break: break-word;
|
|
}
|
|
}
|
|
|
|
|
|
/* Do not hyphenate entry title on tablet view and bigger. */
|
|
/* Do not hyphenate entry title on tablet view and bigger. */
|
|
@media only screen and (min-width: 768px) {
|
|
@media only screen and (min-width: 768px) {
|
|
.entry-title {
|
|
.entry-title {
|
|
- hyphens: none;
|
|
|
|
|
|
+ -webkit-hyphens: none;
|
|
|
|
+ -ms-hyphens: none;
|
|
|
|
+ hyphens: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -745,10 +750,6 @@ html {
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
|
|
-::-moz-selection {
|
|
|
|
- background-color: #dfd4ba;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
::selection {
|
|
::selection {
|
|
background-color: #dfd4ba;
|
|
background-color: #dfd4ba;
|
|
}
|
|
}
|
|
@@ -1288,18 +1289,6 @@ body.page .main-navigation {
|
|
margin-left: calc( .25 * 1rem);
|
|
margin-left: calc( .25 * 1rem);
|
|
}
|
|
}
|
|
|
|
|
|
-.main-navigation .main-menu .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menu {
|
|
|
|
- display: block;
|
|
|
|
- right: 0;
|
|
|
|
- margin-top: 0;
|
|
|
|
- opacity: 1;
|
|
|
|
- width: auto;
|
|
|
|
- min-width: 100%;
|
|
|
|
- font-weight: 600;
|
|
|
|
- /* Non-mobile position */
|
|
|
|
- /* Nested sub-menu dashes */
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
|
|
display: block;
|
|
display: block;
|
|
right: 0;
|
|
right: 0;
|
|
@@ -1313,21 +1302,6 @@ body.page .main-navigation {
|
|
}
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
@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;
|
|
|
|
- right: 0;
|
|
|
|
- left: 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 {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
|
|
display: block;
|
|
display: block;
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
@@ -1345,13 +1319,6 @@ body.page .main-navigation {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-.main-navigation .main-menu .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menu.hidden-links {
|
|
|
|
- right: 0;
|
|
|
|
- width: 100%;
|
|
|
|
- display: table;
|
|
|
|
- position: absolute;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
|
|
right: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -1360,39 +1327,20 @@ body.page .main-navigation {
|
|
}
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
@media only screen and (min-width: 768px) {
|
|
- .main-navigation .main-menu .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menu.hidden-links {
|
|
|
|
- left: 0;
|
|
|
|
- right: auto;
|
|
|
|
- display: block;
|
|
|
|
- width: max-content;
|
|
|
|
- }
|
|
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu.hidden-links {
|
|
left: 0;
|
|
left: 0;
|
|
right: auto;
|
|
right: auto;
|
|
display: block;
|
|
display: block;
|
|
|
|
+ width: -webkit-max-content;
|
|
|
|
+ width: -moz-max-content;
|
|
width: 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 .submenu-expand {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .submenu-expand {
|
|
display: none;
|
|
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%;
|
|
|
|
- right: 0;
|
|
|
|
- opacity: 1;
|
|
|
|
- font-weight: 600;
|
|
|
|
- /* Non-mobile position */
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
|
display: block;
|
|
display: block;
|
|
margin-top: inherit;
|
|
margin-top: inherit;
|
|
@@ -1405,31 +1353,16 @@ body.page .main-navigation {
|
|
}
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
@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 {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
|
float: none;
|
|
float: none;
|
|
max-width: 100%;
|
|
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 {
|
|
.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu {
|
|
counter-reset: submenu;
|
|
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):focus-within > .sub-menu .sub-menu > li > a::before {
|
|
.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-family: "Poppins", sans-serif;
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
@@ -1487,6 +1420,8 @@ body.page .main-navigation {
|
|
left: 0;
|
|
left: 0;
|
|
right: auto;
|
|
right: auto;
|
|
display: table;
|
|
display: table;
|
|
|
|
+ width: -webkit-max-content;
|
|
|
|
+ width: -moz-max-content;
|
|
width: max-content;
|
|
width: max-content;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1741,7 +1676,10 @@ body.page .main-navigation {
|
|
|
|
|
|
.post-navigation .nav-links a .meta-nav {
|
|
.post-navigation .nav-links a .meta-nav {
|
|
color: #242424;
|
|
color: #242424;
|
|
- user-select: none;
|
|
|
|
|
|
+ -webkit-user-select: none;
|
|
|
|
+ -moz-user-select: none;
|
|
|
|
+ -ms-user-select: none;
|
|
|
|
+ user-select: none;
|
|
}
|
|
}
|
|
|
|
|
|
.post-navigation .nav-links a .meta-nav:before, .post-navigation .nav-links a .meta-nav:after {
|
|
.post-navigation .nav-links a .meta-nav:before, .post-navigation .nav-links a .meta-nav:after {
|
|
@@ -1753,7 +1691,9 @@ body.page .main-navigation {
|
|
}
|
|
}
|
|
|
|
|
|
.post-navigation .nav-links a .post-title {
|
|
.post-navigation .nav-links a .post-title {
|
|
- hyphens: auto;
|
|
|
|
|
|
+ -webkit-hyphens: auto;
|
|
|
|
+ -ms-hyphens: auto;
|
|
|
|
+ hyphens: auto;
|
|
}
|
|
}
|
|
|
|
|
|
.post-navigation .nav-links a:hover {
|
|
.post-navigation .nav-links a:hover {
|
|
@@ -1889,7 +1829,8 @@ body.page .main-navigation {
|
|
.screen-reader-text {
|
|
.screen-reader-text {
|
|
border: 0;
|
|
border: 0;
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
- clip-path: inset(50%);
|
|
|
|
|
|
+ -webkit-clip-path: inset(50%);
|
|
|
|
+ clip-path: inset(50%);
|
|
height: 1px;
|
|
height: 1px;
|
|
margin: -1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -1905,7 +1846,8 @@ body.page .main-navigation {
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
clip: auto !important;
|
|
clip: auto !important;
|
|
- clip-path: none;
|
|
|
|
|
|
+ -webkit-clip-path: none;
|
|
|
|
+ clip-path: none;
|
|
color: #21759b;
|
|
color: #21759b;
|
|
display: block;
|
|
display: block;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
@@ -2205,7 +2147,6 @@ body.page .main-navigation {
|
|
.site-header.featured-image .social-navigation svg,
|
|
.site-header.featured-image .social-navigation svg,
|
|
.site-header.featured-image .site-featured-image svg {
|
|
.site-header.featured-image .site-featured-image svg {
|
|
/* Use -webkit- only if supporting: Chrome < 54, iOS < 9.3, Android < 4.4.4 */
|
|
/* Use -webkit- only if supporting: Chrome < 54, iOS < 9.3, Android < 4.4.4 */
|
|
- -webkit-filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
|
|
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2227,11 +2168,12 @@ body.page .main-navigation {
|
|
/* When image filters are active, make it grayscale to colorize it blue. */
|
|
/* When image filters are active, make it grayscale to colorize it blue. */
|
|
}
|
|
}
|
|
|
|
|
|
-@supports (object-fit: cover) {
|
|
|
|
|
|
+@supports ((-o-object-fit: cover) or (object-fit: cover)) {
|
|
.site-header.featured-image .site-featured-image .post-thumbnail img {
|
|
.site-header.featured-image .site-featured-image .post-thumbnail img {
|
|
height: 100%;
|
|
height: 100%;
|
|
right: 0;
|
|
right: 0;
|
|
- object-fit: cover;
|
|
|
|
|
|
+ -o-object-fit: cover;
|
|
|
|
+ object-fit: cover;
|
|
top: 0;
|
|
top: 0;
|
|
transform: none;
|
|
transform: none;
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -2421,10 +2363,6 @@ body.page .main-navigation {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-.site-header.featured-image ::-moz-selection {
|
|
|
|
- background: rgba(250, 248, 245, 0.17);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.site-header.featured-image ::selection {
|
|
.site-header.featured-image ::selection {
|
|
background: rgba(250, 248, 245, 0.17);
|
|
background: rgba(250, 248, 245, 0.17);
|
|
}
|
|
}
|
|
@@ -2535,7 +2473,6 @@ body.page .main-navigation {
|
|
|
|
|
|
.entry .entry-meta {
|
|
.entry .entry-meta {
|
|
margin: 32px auto;
|
|
margin: 32px auto;
|
|
- max-width: calc(6 * (100vw / 12) - 28px);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.entry .entry-footer {
|
|
.entry .entry-footer {
|
|
@@ -4347,13 +4284,16 @@ body.page .main-navigation {
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
.entry .entry-content .wp-block-columns[class*='has-'] > * {
|
|
.entry .entry-content .wp-block-columns[class*='has-'] > * {
|
|
|
|
+ margin-right: 1rem;
|
|
margin-left: 1rem;
|
|
margin-left: 1rem;
|
|
}
|
|
}
|
|
|
|
+ .entry .entry-content .wp-block-columns[class*='has-'] > *:first-child {
|
|
|
|
+ margin-right: 0;
|
|
|
|
+ }
|
|
.entry .entry-content .wp-block-columns[class*='has-'] > *:last-child {
|
|
.entry .entry-content .wp-block-columns[class*='has-'] > *:last-child {
|
|
margin-left: 0;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
- .entry .entry-content .wp-block-columns.alignfull,
|
|
|
|
- .entry .entry-content .wp-block-columns.alignfull .wp-block-column {
|
|
|
|
|
|
+ .entry .entry-content .wp-block-columns.alignfull {
|
|
padding-right: calc(2 * 1rem);
|
|
padding-right: calc(2 * 1rem);
|
|
padding-left: calc(2 * 1rem);
|
|
padding-left: calc(2 * 1rem);
|
|
}
|
|
}
|