first commit
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
blockquote {
|
||||
padding: 0;
|
||||
position: relative;
|
||||
margin: var(--global--spacing-vertical) 0 var(--global--spacing-vertical) var(--global--spacing-horizontal);
|
||||
|
||||
> * {
|
||||
margin-top: var(--global--spacing-unit);
|
||||
margin-bottom: var(--global--spacing-unit);
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
letter-spacing: var(--heading--letter-spacing-h4);
|
||||
font-family: var(--quote--font-family);
|
||||
font-size: var(--quote--font-size);
|
||||
font-style: var(--quote--font-style);
|
||||
font-weight: var(--quote--font-weight);
|
||||
line-height: var(--quote--line-height);
|
||||
}
|
||||
|
||||
cite,
|
||||
footer {
|
||||
font-weight: normal;
|
||||
color: var(--global--color-primary);
|
||||
font-size: var(--global--font-size-xs);
|
||||
letter-spacing: var(--global--letter-spacing);
|
||||
}
|
||||
|
||||
&.alignleft,
|
||||
&.alignright {
|
||||
|
||||
padding-left: inherit;
|
||||
|
||||
p {
|
||||
font-size: var(--heading--font-size-h5);
|
||||
max-width: inherit;
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
cite,
|
||||
footer {
|
||||
font-size: var(--global--font-size-xs);
|
||||
letter-spacing: var(--global--letter-spacing);
|
||||
}
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: var(--quote--font-weight-strong);
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: "\201C";
|
||||
font-size: var(--quote--font-size);
|
||||
line-height: var(--quote--line-height);
|
||||
position: absolute;
|
||||
left: calc(-0.5 * var(--global--spacing-horizontal));
|
||||
}
|
||||
|
||||
.wp-block-quote__citation,
|
||||
cite,
|
||||
footer {
|
||||
color: var(--global--color-primary);
|
||||
font-size: var(--global--font-size-xs);
|
||||
font-style: var(--quote--font-style-cite);
|
||||
}
|
||||
|
||||
@include media(mobile-only) {
|
||||
padding-left: calc(0.5 * var(--global--spacing-horizontal));
|
||||
|
||||
&:before {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
select,
|
||||
select:focus {
|
||||
border: var(--form--border-width) solid var(--form--border-color);
|
||||
border-radius: var(--form--border-radius);
|
||||
color: var(--form--color-text);
|
||||
font-size: var(--form--font-size);
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
padding: var(--form--spacing-unit) calc(3 * var(--form--spacing-unit)) var(--form--spacing-unit) var(--form--spacing-unit);
|
||||
background: var(--global--color-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2328303d'><polygon points='0,0 10,0 5,5'/></svg>") no-repeat;
|
||||
background-position: right var(--form--spacing-unit) top 60%;
|
||||
}
|
||||
/*# sourceMappingURL=forms-editor.css.map */
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAA,AAAA,MAAM;AACN,MAAM,AAAA,MAAM,CAAC;EACZ,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC,yBAAyB;EACjE,aAAa,EAAE,0BAA0B;EACzC,KAAK,EAAE,uBAAuB;EAC9B,SAAS,EAAE,sBAAsB;EACjC,eAAe,EAAE,IAAI;EACrB,kBAAkB,EAAE,IAAI;EACxB,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,yBAAyB,CAAC,mCAAmC,CAAC,yBAAyB,CAAC,yBAAyB;EAC1H,UAAU,EAAE,0BAA0B,CAAC,qJAAqJ,CAAC,SAAS;EACtM,mBAAmB,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAAC,GAAG;CAC5D",
|
||||
"sources": [
|
||||
"forms-editor.scss"
|
||||
],
|
||||
"names": [],
|
||||
"file": "forms-editor.css"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
select,
|
||||
select:focus {
|
||||
border: var(--form--border-width) solid var(--form--border-color);
|
||||
border-radius: var(--form--border-radius);
|
||||
color: var(--form--color-text);
|
||||
font-size: var(--form--font-size);
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
padding: var(--form--spacing-unit) calc(3 * var(--form--spacing-unit)) var(--form--spacing-unit) var(--form--spacing-unit);
|
||||
background: var(--global--color-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2328303d'><polygon points='0,0 10,0 5,5'/></svg>") no-repeat; // stylelint-disable-line function-url-quotes
|
||||
background-position: right var(--form--spacing-unit) top 60%;
|
||||
}
|
||||
@@ -0,0 +1,329 @@
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="password"],
|
||||
input[type="search"],
|
||||
input[type="number"],
|
||||
input[type="tel"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="week"],
|
||||
input[type="time"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="color"],
|
||||
.site textarea {
|
||||
border: var(--form--border-width) solid var(--form--border-color);
|
||||
border-radius: var(--form--border-radius);
|
||||
color: var(--form--color-text);
|
||||
line-height: var(--global--line-height-body);
|
||||
padding: var(--form--spacing-unit);
|
||||
// Gives a little more space for the outline offset.
|
||||
margin: 0 2px;
|
||||
max-width: 100%;
|
||||
|
||||
&:focus {
|
||||
color: var(--form--color-text);
|
||||
outline-offset: 2px;
|
||||
outline: 2px dotted var(--form--border-color);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.is-dark-theme & {
|
||||
background: var(--global--color-white-90);
|
||||
}
|
||||
}
|
||||
|
||||
// Reset the negative offset from normalize to make the thicker "border" work on focus.
|
||||
input[type="search"] {
|
||||
|
||||
&:focus {
|
||||
outline-offset: -7px;
|
||||
|
||||
.is-dark-theme & {
|
||||
outline-color: var(--global--color-background);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="color"] {
|
||||
padding: calc(var(--form--spacing-unit) / 2);
|
||||
height: calc(4 * var(--form--spacing-unit));
|
||||
}
|
||||
|
||||
input[type="email"],
|
||||
input[type="url"] {
|
||||
|
||||
/*rtl:ignore*/
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
select {
|
||||
border: var(--form--border-width) solid var(--form--border-color);
|
||||
color: var(--form--color-text);
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
line-height: var(--global--line-height-body);
|
||||
padding: var(--form--spacing-unit) calc(3 * var(--form--spacing-unit)) var(--form--spacing-unit) var(--form--spacing-unit);
|
||||
background: var(--global--color-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2328303d'><polygon points='0,0 10,0 5,5'/></svg>") no-repeat; // stylelint-disable-line function-url-quotes
|
||||
background-position: right var(--form--spacing-unit) top 60%;
|
||||
|
||||
&:focus {
|
||||
outline-offset: 2px;
|
||||
outline: 2px dotted var(--form--border-color);
|
||||
}
|
||||
|
||||
.is-dark-theme & {
|
||||
background: var(--global--color-white-90) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2328303d'><polygon points='0,0 10,0 5,5'/></svg>") no-repeat; // stylelint-disable-line function-url-quotes
|
||||
background-position: right var(--form--spacing-unit) top 60%;
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: var(--form--font-size);
|
||||
font-weight: var(--form--label-weight);
|
||||
margin-bottom: calc(var(--global--spacing-vertical) / 3);
|
||||
}
|
||||
|
||||
/**
|
||||
https://css-tricks.com/custom-styling-form-inputs-with-modern-css-features/
|
||||
https://codepen.io/aaroniker/pen/ZEYoxEY by Aaron Iker.
|
||||
License: MIT.
|
||||
*/
|
||||
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
position: relative;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border: var(--form--border-width) solid var(--form--border-color);
|
||||
background: var(--global--color-white);
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.is-dark-theme & {
|
||||
background: var(--global--color-white-90);
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
|
||||
&:focus {
|
||||
outline-offset: 2px;
|
||||
outline: 2px dotted var(--form--border-color);
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
opacity: 0;
|
||||
display: block;
|
||||
left: 5px;
|
||||
top: 2px;
|
||||
position: absolute;
|
||||
width: 7px;
|
||||
height: 13px;
|
||||
border: 3px solid var(--form--color-text);
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
transform: rotate(30deg);
|
||||
}
|
||||
|
||||
&:checked {
|
||||
color: var(--form--color-text);
|
||||
|
||||
&:after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
|
||||
&:focus {
|
||||
outline-offset: 2px;
|
||||
outline: 2px dotted var(--form--border-color);
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
opacity: 0;
|
||||
display: block;
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
position: absolute;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
border-radius: 50%;
|
||||
background: var(--form--color-text);
|
||||
}
|
||||
|
||||
&:checked {
|
||||
border: 4px solid var(--form--border-color);
|
||||
|
||||
&:after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
// Focus style for checked radio buttons.
|
||||
&:focus {
|
||||
outline-offset: 4px;
|
||||
outline: 2px dotted var(--form--border-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"] + label,
|
||||
input[type="radio"] + label {
|
||||
display: inline-block;
|
||||
padding-left: 10px;
|
||||
font-size: var(--global--font-size-xs);
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/**
|
||||
* https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/
|
||||
*/
|
||||
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
|
||||
|
||||
input[type="range"] {
|
||||
-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
|
||||
width: 100%; /* Specific width is required for Firefox. */
|
||||
height: 6px;
|
||||
background: var(--form--color-ranged);
|
||||
border-radius: 6px;
|
||||
outline-offset: 10px;
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="range"]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
border: 3px solid var(--form--color-ranged);
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
border-radius: 50%;
|
||||
background: var(--global--color-background);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="range"]::-moz-range-thumb {
|
||||
border: 3px solid var(--form--color-ranged);
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
border-radius: 50%;
|
||||
background: var(--global--color-background);
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="range"]::-ms-track {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
border-radius: 6px;
|
||||
border-width: 19px 0;
|
||||
border-color: var(--global--color-background);
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="range"]::-ms-fill-upper {
|
||||
background: var(--form--color-ranged);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
input[type="range"]::-ms-fill-lower {
|
||||
background: var(--form--color-ranged);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
input[type="range"]::-ms-thumb {
|
||||
border: 3px solid var(--form--color-ranged);
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
border-radius: 50%;
|
||||
background: var(--global--color-background);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
display: grid;
|
||||
border-color: var(--global--color-secondary);
|
||||
padding: var(--global--spacing-horizontal);
|
||||
|
||||
legend {
|
||||
font-size: var(--global--font-size-lg);
|
||||
}
|
||||
|
||||
input {
|
||||
|
||||
&[type="submit"] {
|
||||
max-width: max-content;
|
||||
}
|
||||
|
||||
&:not([type="submit"]) {
|
||||
margin-bottom: var(--global--spacing-unit);
|
||||
}
|
||||
|
||||
&[type="radio"],
|
||||
&[type="checkbox"] {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&[type="radio"] + label,
|
||||
&[type="checkbox"] + label {
|
||||
font-size: var(--form--font-size);
|
||||
padding-left: 0;
|
||||
margin-bottom: var(--global--spacing-unit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::-moz-placeholder { // Firefox 19+
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.post-password-message {
|
||||
font-size: var(--global--font-size-lg);
|
||||
}
|
||||
|
||||
.post-password-form {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
&__label {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
input[type="password"] {
|
||||
flex-grow: 1;
|
||||
margin-top: calc(var(--global--spacing-vertical) / 3);
|
||||
margin-right: calc(0.66 * var(--global--spacing-horizontal));
|
||||
}
|
||||
|
||||
&__submit {
|
||||
margin-top: calc(var(--global--spacing-vertical) / 3);
|
||||
@include media(tablet) {
|
||||
margin-left: calc(0.4 * var(--global--spacing-horizontal));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
* text-underline-offset doesn't work in Chrome at all 👎
|
||||
* But looks nice in Safari/Firefox, so let's keep it and
|
||||
* maybe Chrome will support it soon.
|
||||
*/
|
||||
a {
|
||||
cursor: pointer;
|
||||
color: var(--wp--style--color--link, var(--global--color-primary));
|
||||
text-underline-offset: 3px;
|
||||
text-decoration-skip-ink: all;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
-webkit-text-decoration-style: dotted;
|
||||
text-decoration-style: dotted;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
-webkit-text-decoration: underline 1px dotted currentColor;
|
||||
text-decoration: underline 1px dotted currentColor;
|
||||
text-decoration-skip-ink: none;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
|
||||
background: var(--global--color-black);
|
||||
color: var(--global--color-white);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav {
|
||||
color: var(--wp--style--color--link, var(--global--color-white));
|
||||
}
|
||||
|
||||
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
|
||||
background: rgba(0, 0, 0, 0.9);
|
||||
color: var(--wp--style--color--link, var(--global--color-white));
|
||||
}
|
||||
|
||||
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav {
|
||||
color: var(--wp--style--color--link, var(--global--color-white));
|
||||
}
|
||||
|
||||
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).skip-link {
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).skip-link:focus {
|
||||
color: #21759b;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) img {
|
||||
outline: 2px dotted var(--wp--style--color--link, var(--global--color-primary));
|
||||
}
|
||||
|
||||
.has-background .has-link-color a,
|
||||
.has-background.has-link-color a {
|
||||
color: var(--wp--style--color--link, var(--global--color-primary));
|
||||
}
|
||||
/*# sourceMappingURL=links.css.map */
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": ";AAAA;;;;GAIG;AACH,AAAA,CAAC,CAAC;EACD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,2DAA2D;EAClE,qBAAqB,EAAE,GAAG;EAC1B,wBAAwB,EAAE,GAAG;CAC7B;;AAED,AAAA,CAAC,AAAA,MAAM,CAAC;EACP,qBAAqB,EAAE,MAAM;EAC7B,wBAAwB,EAAE,IAAI;CAC9B;;AAED,AAAA,KAAK,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,EAAE;EAErE,gDAAgD;EAChD,OAAO,EAAE,qBAAqB;EAE9B,eAAe,EAAE,iCAAiC;EAClD,wBAAwB,EAAE,IAAI;EAC9B,UAAU,EAAE,wBAAuB;CA0CnC;;AAvCA,AAAA,cAAc,CAVf,KAAK,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,EAUlD;EAChB,UAAU,EAAE,0BAA0B;EACtC,KAAK,EAAE,0BAA0B;EACjC,eAAe,EAAE,IAAI;CAKrB;;AARD,AAKC,cALa,CAVf,KAAK,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,EAelE,SAAS,CAAC;EACT,KAAK,EAAE,yDAAyD;CAChE;;AAIF,AAAA,qBAAqB,CArBtB,KAAK,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,EAqB3C;EACvB,UAAU,EAAE,kBAAiB;EAC7B,KAAK,EAAE,yDAAyD;CAKhE;;AAPD,AAIC,qBAJoB,CArBtB,KAAK,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,EAyBlE,SAAS,CAAC;EACT,KAAK,EAAE,yDAAyD;CAChE;;AA3BH,AA8BC,KA9BI,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,CA8BlE,UAAU,CAAC;EAEX,gDAAgD;EAChD,OAAO,EAAE,qBAAqB;EAC9B,cAAc,EAAE,IAAI;CAMpB;;AAxCF,AAoCE,KApCG,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,CA8BlE,UAAU,AAMT,MAAM,CAAC;EACP,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;CACzB;;AAvCH,AA0CC,KA1CI,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,CA0ClE,iBAAiB,CAAC;EAClB,UAAU,EAAE,IAAI;CAChB;;AA5CF,AA8CC,KA9CI,CAAC,CAAC,AAAA,MAAM,AAAA,IAAK,CAAA,sBAAsB,CAAC,IAAK,CAAA,sBAAsB,EA8CnE,GAAG,CAAC;EACH,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,2DAA2D;CAC/E;;AAKF,AAEC,eAFc,CAEd,eAAe,CAAC,CAAC;AAFlB,eAAe,AAGb,eAAe,CAAC,CAAC,CAAC;EAClB,KAAK,EAAE,2DAA2D;CAClE",
|
||||
"sources": [
|
||||
"links.scss"
|
||||
],
|
||||
"names": [],
|
||||
"file": "links.css"
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* text-underline-offset doesn't work in Chrome at all 👎
|
||||
* But looks nice in Safari/Firefox, so let's keep it and
|
||||
* maybe Chrome will support it soon.
|
||||
*/
|
||||
a {
|
||||
cursor: pointer;
|
||||
color: var(--wp--style--color--link, var(--global--color-primary));
|
||||
text-underline-offset: 3px;
|
||||
text-decoration-skip-ink: all;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration-style: dotted;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
|
||||
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
|
||||
text-decoration: underline 1px dotted currentColor;
|
||||
text-decoration-skip-ink: none;
|
||||
background: rgba(255, 255, 255, .9);
|
||||
|
||||
// Change text color when the body background is dark.
|
||||
.is-dark-theme & {
|
||||
background: var(--global--color-black);
|
||||
color: var(--global--color-white);
|
||||
text-decoration: none;
|
||||
|
||||
.meta-nav {
|
||||
color: var(--wp--style--color--link, var(--global--color-white));
|
||||
}
|
||||
}
|
||||
|
||||
// Change colors when the body background is white.
|
||||
.has-background-white & {
|
||||
background: rgba(0, 0, 0, .9);
|
||||
color: var(--wp--style--color--link, var(--global--color-white));
|
||||
|
||||
.meta-nav {
|
||||
color: var(--wp--style--color--link, var(--global--color-white));
|
||||
}
|
||||
}
|
||||
|
||||
&.skip-link {
|
||||
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
|
||||
&:focus {
|
||||
color: #21759b;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
}
|
||||
|
||||
&.custom-logo-link {
|
||||
background: none;
|
||||
}
|
||||
|
||||
img {
|
||||
outline: 2px dotted var(--wp--style--color--link, var(--global--color-primary));
|
||||
}
|
||||
}
|
||||
|
||||
// Enforce the custom link color even if a custom background color has been set.
|
||||
// The extra specificity here is required to override the background color styles.
|
||||
.has-background {
|
||||
// Target both current level and nested block.
|
||||
.has-link-color a,
|
||||
&.has-link-color a {
|
||||
color: var(--wp--style--color--link, var(--global--color-primary));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Classic editor images */
|
||||
.entry-content img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
object,
|
||||
video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Media captions */
|
||||
figcaption,
|
||||
.wp-caption,
|
||||
.wp-caption-text,
|
||||
.wp-block-embed figcaption {
|
||||
color: currentColor;
|
||||
font-size: var(--global--font-size-xs);
|
||||
line-height: var(--global--line-height-body);
|
||||
margin-top: calc(0.5 * var(--global--spacing-unit));
|
||||
margin-bottom: var(--global--spacing-unit);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.alignleft figcaption,
|
||||
.alignright figcaption, .alignleft
|
||||
.wp-caption,
|
||||
.alignright
|
||||
.wp-caption, .alignleft
|
||||
.wp-caption-text,
|
||||
.alignright
|
||||
.wp-caption-text, .alignleft
|
||||
.wp-block-embed figcaption,
|
||||
.alignright
|
||||
.wp-block-embed figcaption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* WP Smiley */
|
||||
.page-content .wp-smiley,
|
||||
.entry-content .wp-smiley,
|
||||
.comment-content .wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
/*# sourceMappingURL=media.css.map */
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAA,AAAA,GAAG,CAAC;EACH,MAAM,EAAE,IAAI;EACZ,SAAS,EAAE,IAAI;EACf,cAAc,EAAE,MAAM;CACtB;;AAED,2BAA2B;AAC3B,AAAA,cAAc,CAAC,GAAG,CAAC;EAClB,SAAS,EAAE,IAAI;CACf;;AAED,wDAAwD;AACxD,AAAA,KAAK;AACL,MAAM;AACN,MAAM;AACN,KAAK,CAAC;EACL,SAAS,EAAE,IAAI;CACf;;AAED,oBAAoB;AACpB,AAAA,UAAU;AACV,WAAW;AACX,gBAAgB;AAChB,eAAe,CAAC,UAAU,CAAC;EAC1B,KAAK,EAAE,YAAY;EACnB,SAAS,EAAE,2BAA2B;EACtC,WAAW,EAAE,+BAA+B;EAC5C,UAAU,EAAE,uCAAuC;EACnD,aAAa,EAAE,2BAA2B;EAC1C,UAAU,EAAE,MAAM;CAMlB;;AAJA,AAAA,UAAU,CAXX,UAAU;AAYT,WAAW,CAZZ,UAAU,EAWT,UAAU;AAVX,WAAW;AAWV,WAAW;AAXZ,WAAW,EAUV,UAAU;AATX,gBAAgB;AAUf,WAAW;AAVZ,gBAAgB,EASf,UAAU;AARX,eAAe,CAAC,UAAU;AASzB,WAAW;AATZ,eAAe,CAAC,UAAU,CASX;EACb,aAAa,EAAE,CAAC;CAChB;;AAGF,eAAe;AACf,AAAA,aAAa,CAAC,UAAU;AACxB,cAAc,CAAC,UAAU;AACzB,gBAAgB,CAAC,UAAU,CAAC;EAC3B,MAAM,EAAE,IAAI;EACZ,aAAa,EAAE,CAAC;EAChB,UAAU,EAAE,CAAC;EACb,OAAO,EAAE,CAAC;CACV",
|
||||
"sources": [
|
||||
"media.scss"
|
||||
],
|
||||
"names": [],
|
||||
"file": "media.css"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Classic editor images */
|
||||
.entry-content img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
object,
|
||||
video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Media captions */
|
||||
figcaption,
|
||||
.wp-caption,
|
||||
.wp-caption-text,
|
||||
.wp-block-embed figcaption {
|
||||
color: currentColor;
|
||||
font-size: var(--global--font-size-xs);
|
||||
line-height: var(--global--line-height-body);
|
||||
margin-top: calc(0.5 * var(--global--spacing-unit));
|
||||
margin-bottom: var(--global--spacing-unit);
|
||||
text-align: center;
|
||||
|
||||
.alignleft &,
|
||||
.alignright & {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* WP Smiley */
|
||||
.page-content .wp-smiley,
|
||||
.entry-content .wp-smiley,
|
||||
.comment-content .wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/* Over here, place any elements that do not need to have their own file. */
|
||||
b,
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dfn,
|
||||
cite,
|
||||
em,
|
||||
i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
/*# sourceMappingURL=misc.css.map */
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAA,4EAA4E;AAC5E,AAAA,CAAC;AACD,MAAM,CAAC;EACN,WAAW,EAAE,GAAG;CAChB;;AAED,AAAA,GAAG;AACH,IAAI;AACJ,EAAE;AACF,CAAC,CAAC;EACD,UAAU,EAAE,MAAM;CAClB;;AAED,AAAA,GAAG,CAAC;EACH,WAAW,EAAE,GAAG;EAChB,UAAU,EAAE,IAAI;CAChB",
|
||||
"sources": [
|
||||
"misc.scss"
|
||||
],
|
||||
"names": [],
|
||||
"file": "misc.css"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/* Over here, place any elements that do not need to have their own file. */
|
||||
b,
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dfn,
|
||||
cite,
|
||||
em,
|
||||
i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user