|
@@ -11,15 +11,15 @@ body {
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
-p {
|
|
|
- margin: 0;
|
|
|
-}
|
|
|
-
|
|
|
img {
|
|
|
height: auto;
|
|
|
max-width: 100%;
|
|
|
}
|
|
|
|
|
|
+* {
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* Required Variables
|
|
|
*/
|
|
@@ -64,79 +64,9 @@ img {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Alignments
|
|
|
- */
|
|
|
-body {
|
|
|
- margin: 0;
|
|
|
-}
|
|
|
-
|
|
|
-* {
|
|
|
- box-sizing: border-box;
|
|
|
-}
|
|
|
-
|
|
|
-.wp-site-blocks *[class*="__inner-container"] > .wp-block-group,
|
|
|
-.wp-site-blocks > *:not(.wp-block-post-content):not(.wp-block-template-part),
|
|
|
-.wp-site-blocks .wp-block-post-content > * {
|
|
|
- max-width: var(--wp--custom--width--default);
|
|
|
- margin-left: auto;
|
|
|
- margin-right: auto;
|
|
|
- padding: 0 var(--wp--custom--margin--horizontal);
|
|
|
-}
|
|
|
-
|
|
|
-.wp-site-blocks *[class*="__inner-container"] > .alignwide,
|
|
|
-.wp-site-blocks .alignwide {
|
|
|
- width: var(--wp--custom--width--wide);
|
|
|
- max-width: 100%;
|
|
|
-}
|
|
|
-
|
|
|
-.wp-site-blocks *[class*="__inner-container"] > .alignfull,
|
|
|
-.wp-site-blocks .alignfull {
|
|
|
- max-width: unset;
|
|
|
- margin-left: unset;
|
|
|
- margin-right: unset;
|
|
|
-}
|
|
|
-
|
|
|
-.aligncenter {
|
|
|
- text-align: center;
|
|
|
-}
|
|
|
-
|
|
|
-@media only screen and (min-width: 482px) {
|
|
|
- .block-editor-block-list__layout .alignleft,
|
|
|
- .block-editor-block-list__layout .alignright,
|
|
|
- .wp-site-blocks .alignleft,
|
|
|
- .wp-site-blocks .alignright {
|
|
|
- max-width: calc(var(--wp--custom--width--default) / 2);
|
|
|
- }
|
|
|
- .wp-site-blocks .alignleft {
|
|
|
- /*rtl:ignore*/
|
|
|
- float: left;
|
|
|
- }
|
|
|
- .wp-site-blocks .alignright {
|
|
|
- /*rtl:ignore*/
|
|
|
- float: right;
|
|
|
- }
|
|
|
- .block-editor-block-list__layout > .alignleft,
|
|
|
- .block-editor-block-list__layout > .alignright,
|
|
|
- .wp-site-blocks .wp-block-post-content > .alignleft,
|
|
|
- .wp-site-blocks .wp-block-post-content > .alignright {
|
|
|
- --content-width: min( 100% - var(--wp--custom--margin--horizontal) * 2, var(--wp--custom--width--default) );
|
|
|
- --alignment-margin: calc( ( 100% - var(--content-width ) ) / 2 );
|
|
|
- }
|
|
|
- .block-editor-block-list__layout > .alignleft,
|
|
|
- .wp-site-blocks .wp-block-post-content > .alignleft {
|
|
|
- /*rtl:ignore*/
|
|
|
- margin-left: var(--alignment-margin);
|
|
|
- /*rtl:ignore*/
|
|
|
- margin-right: var(--wp--custom--margin--horizontal);
|
|
|
- }
|
|
|
- .block-editor-block-list__layout > .alignright,
|
|
|
- .wp-site-blocks .wp-block-post-content > .alignright {
|
|
|
- /*rtl:ignore*/
|
|
|
- margin-left: var(--wp--custom--margin--horizontal);
|
|
|
- /*rtl:ignore*/
|
|
|
- margin-right: var(--alignment-margin);
|
|
|
- }
|
|
|
+.wp-block-post-content > .alignfull {
|
|
|
+ margin-left: calc(-1 * var(--wp--custom--margin--horizontal));
|
|
|
+ margin-right: calc(-1 * var(--wp--custom--margin--horizontal));
|
|
|
}
|
|
|
|
|
|
::selection {
|
|
@@ -147,15 +77,6 @@ body {
|
|
|
background-color: var(--wp--custom--color--selection);
|
|
|
}
|
|
|
|
|
|
-.block-editor-block-list__block {
|
|
|
- margin-bottom: 0;
|
|
|
- margin-top: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.block-editor-block-list__block .block-library-spacer__resize-container {
|
|
|
- margin-bottom: 0;
|
|
|
-}
|
|
|
-
|
|
|
*[class*="-background-color"]:not(.has-text-color) {
|
|
|
color: var(--wp--custom--color--background);
|
|
|
}
|
|
@@ -170,7 +91,7 @@ body {
|
|
|
*/
|
|
|
a {
|
|
|
cursor: pointer;
|
|
|
- text-underline-offset: 2px;
|
|
|
+ text-underline-offset: 0.15em;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
@@ -181,7 +102,6 @@ a:hover, a:focus {
|
|
|
.block-editor-block-list__layout a,
|
|
|
.wp-block-post-content a {
|
|
|
text-decoration: underline;
|
|
|
- transition: border-color 0.1s ease-out;
|
|
|
}
|
|
|
|
|
|
.block-editor-block-list__layout a:hover, .block-editor-block-list__layout a:focus,
|
|
@@ -251,12 +171,6 @@ input[type=checkbox] + label {
|
|
|
line-height: 1em;
|
|
|
}
|
|
|
|
|
|
-h1, h2, h3, h4, h5, h6 {
|
|
|
- clear: both;
|
|
|
- font-family: var(--wp--custom--heading--typography--font-family);
|
|
|
- font-weight: var(--wp--custom--heading--typography--font-weight);
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* Button
|
|
|
*/
|
|
@@ -265,11 +179,6 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
*/
|
|
|
.wp-block-button.wp-block-button__link,
|
|
|
.wp-block-button .wp-block-button__link {
|
|
|
- font-weight: var(--wp--custom--button--font-weight);
|
|
|
- font-family: var(--wp--custom--button--font-family);
|
|
|
- font-size: var(--wp--custom--button--font-size);
|
|
|
- line-height: var(--wp--custom--button--line-height);
|
|
|
- border-radius: var(--wp--custom--button--border-radius);
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
@@ -298,25 +207,12 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- Further gutenberg APPEARS to be defaulting the margin to the same as
|
|
|
- the below, however (for reason's that aren't clear to me now) this
|
|
|
- isn't coming through.
|
|
|
-*/
|
|
|
-.wp-block-column .wp-block-image {
|
|
|
- margin: 0 0 1em 0;
|
|
|
-}
|
|
|
-
|
|
|
ul,
|
|
|
ol {
|
|
|
font-family: var(--wp--custom--list--font-family);
|
|
|
padding-left: var(--wp--custom--list--padding--left);
|
|
|
}
|
|
|
|
|
|
-p.has-background {
|
|
|
- padding: var(--wp--custom--margin--vertical) var(--wp--custom--margin--horizontal);
|
|
|
-}
|
|
|
-
|
|
|
p.has-text-color a {
|
|
|
color: var(--wp--style--color--link, var(--wp--custom--color--primary));
|
|
|
}
|
|
@@ -444,20 +340,11 @@ p.has-drop-cap:not(:focus):first-letter {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.wp-block-quote {
|
|
|
- border-left: var(--wp--custom--quote--border--width) solid var(--wp--custom--quote--border--color);
|
|
|
- padding-left: var(--wp--custom--padding--horizontal);
|
|
|
-}
|
|
|
-
|
|
|
.wp-block-quote cite, .wp-block-quote .wp-block-quote__citation {
|
|
|
font-size: var(--wp--custom--quote--citation--typography--font-size);
|
|
|
font-style: var(--wp--custom--quote--citation--typography--font-style);
|
|
|
}
|
|
|
|
|
|
-.wp-block-group.has-background:not([class*="block-editor-block"]) {
|
|
|
- padding: var(--wp--custom--margin--vertical) var(--wp--custom--margin--horizontal);
|
|
|
-}
|
|
|
-
|
|
|
.wp-block-separator:not(.is-style-dots) {
|
|
|
border-bottom: var(--wp--custom--separator--thickness) solid var(--wp--custom--separator--color);
|
|
|
}
|