You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
250 lines
5.7 KiB
250 lines
5.7 KiB
/* |
|
* DO NOT EDIT THIS FILE. |
|
* See the following change record for more information, |
|
* https://www.drupal.org/node/3084859 |
|
* @preserve |
|
*/ |
|
|
|
/** |
|
* @file |
|
* Text Content. |
|
*/ |
|
|
|
/* |
|
* Media query breakpoints. |
|
* Processed by postcss/postcss-custom-media. |
|
*/ |
|
|
|
/* Navigation related breakpoints */ |
|
|
|
/* Grid related breakpoints */ |
|
|
|
/* Grid shifts from 6 to 14 columns. */ |
|
|
|
/* Width of the entire grid maxes out. */ |
|
|
|
.text-content, |
|
.cke_editable { |
|
color: var(--color-text-neutral-medium); |
|
font-family: var(--font-serif); |
|
line-height: var(--sp1-5) |
|
|
|
/* |
|
@todo |
|
|
|
text-decoration-thickness is supported by FF & Safari |
|
text-underline-offset is supported by Safari |
|
|
|
text-decoration-color supported by Chrome, FF, & Safari |
|
*/ |
|
} |
|
|
|
.text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) { |
|
color: var(--color-text-primary-medium); |
|
-webkit-text-decoration-color: currentColor; |
|
text-decoration-color: currentColor; |
|
text-decoration-thickness: 2px; |
|
word-wrap: break-word |
|
} |
|
|
|
@supports (box-shadow: none) { |
|
|
|
.text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) { |
|
transition: box-shadow 0.3s cubic-bezier(0.55, 0.085, 0, 0.99); |
|
text-decoration: none; |
|
box-shadow: inset 0 -2px 0 0 var(--color--primary-50) |
|
} |
|
|
|
.text-content a:where(:not(.button)):hover, .cke_editable a:where(:not(.button)):hover { |
|
text-decoration: underline; |
|
color: var(--color--black); |
|
box-shadow: inset 0 -2em 0 0 var(--color--primary-80); |
|
-webkit-text-decoration-color: var(--color--primary-80); |
|
text-decoration-color: var(--color--primary-80); |
|
} |
|
} |
|
|
|
.text-content p, .cke_editable p { |
|
margin-top: var(--sp); |
|
margin-bottom: var(--sp) |
|
} |
|
|
|
.text-content p:first-child, .cke_editable p:first-child { |
|
margin-top: 0; |
|
} |
|
|
|
.text-content p:last-child, .cke_editable p:last-child { |
|
margin-bottom: 0; |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.text-content p, .cke_editable p { |
|
margin-top: var(--sp2); |
|
margin-bottom: var(--sp2) |
|
} |
|
} |
|
|
|
.text-content code, .cke_editable code { |
|
background-color: var(--color--gray-100); |
|
} |
|
|
|
[dir="ltr"] .text-content pre code,[dir="ltr"] .cke_editable pre code { |
|
padding-left: var(--sp) |
|
} |
|
|
|
[dir="rtl"] .text-content pre code,[dir="rtl"] .cke_editable pre code { |
|
padding-right: var(--sp) |
|
} |
|
|
|
[dir="ltr"] .text-content pre code,[dir="ltr"] .cke_editable pre code { |
|
padding-right: var(--sp) |
|
} |
|
|
|
[dir="rtl"] .text-content pre code,[dir="rtl"] .cke_editable pre code { |
|
padding-left: var(--sp) |
|
} |
|
|
|
.text-content pre code, .cke_editable pre code { |
|
display: block; |
|
overflow: auto; |
|
padding-top: var(--sp); |
|
padding-bottom: var(--sp); |
|
color: var(--color-text-neutral-soft); |
|
} |
|
|
|
[dir="ltr"] .text-content blockquote,[dir="ltr"] .cke_editable blockquote { |
|
margin-left: 0 |
|
} |
|
|
|
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote { |
|
margin-right: 0 |
|
} |
|
|
|
[dir="ltr"] .text-content blockquote,[dir="ltr"] .cke_editable blockquote { |
|
margin-right: 0 |
|
} |
|
|
|
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote { |
|
margin-left: 0 |
|
} |
|
|
|
[dir="ltr"] .text-content blockquote,[dir="ltr"] .cke_editable blockquote { |
|
padding-left: var(--sp2) |
|
} |
|
|
|
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote { |
|
padding-right: var(--sp2) |
|
} |
|
|
|
.text-content blockquote, .cke_editable blockquote { |
|
position: relative; |
|
margin-top: var(--sp2); |
|
margin-bottom: var(--sp2); |
|
letter-spacing: -0.01em; |
|
font-family: var(--font-serif); |
|
font-size: 1.3125rem; |
|
line-height: var(--sp2) |
|
} |
|
|
|
[dir="ltr"] .text-content blockquote::before,[dir="ltr"] .cke_editable blockquote::before { |
|
left: 0 |
|
} |
|
|
|
[dir="rtl"] .text-content blockquote::before,[dir="rtl"] .cke_editable blockquote::before { |
|
right: 0 |
|
} |
|
|
|
.text-content blockquote::before, .cke_editable blockquote::before { |
|
position: absolute; |
|
top: 0; |
|
content: "\201C"; |
|
color: var(--color--primary-60); |
|
font-size: 3.375rem; |
|
} |
|
|
|
[dir="ltr"] .text-content blockquote::after,[dir="ltr"] .cke_editable blockquote::after { |
|
left: 0 |
|
} |
|
|
|
[dir="rtl"] .text-content blockquote::after,[dir="rtl"] .cke_editable blockquote::after { |
|
right: 0 |
|
} |
|
|
|
[dir="ltr"] .text-content blockquote::after,[dir="ltr"] .cke_editable blockquote::after { |
|
margin-left: 0.25rem |
|
} |
|
|
|
[dir="rtl"] .text-content blockquote::after,[dir="rtl"] .cke_editable blockquote::after { |
|
margin-right: 0.25rem |
|
} |
|
|
|
.text-content blockquote::after, .cke_editable blockquote::after { |
|
position: absolute; |
|
bottom: 0; |
|
width: var(--sp0-5); |
|
height: calc(100% - 1.875rem); |
|
content: ""; |
|
background: var(--color--gray-100); |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.text-content blockquote, .cke_editable blockquote { |
|
font-size: 2rem; |
|
line-height: var(--sp3) |
|
} |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.text-content blockquote, .cke_editable blockquote { |
|
font-size: 2.5rem; |
|
line-height: calc(var(--sp)*3.5) |
|
} |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.text-content, |
|
.cke_editable { |
|
font-size: 1.125rem; |
|
line-height: var(--sp2) |
|
} |
|
} |
|
|
|
/** |
|
* Special colors for footer that has a dark background. |
|
*/ |
|
|
|
.site-footer .text-content { |
|
color: inherit |
|
} |
|
|
|
.site-footer .text-content * { |
|
color: inherit; |
|
} |
|
|
|
.site-footer .text-content a { |
|
text-decoration: underline; |
|
color: var(--color--white); |
|
box-shadow: none |
|
} |
|
|
|
.site-footer .text-content a:hover { |
|
text-decoration: none; |
|
color: var(--color--white); |
|
box-shadow: none; |
|
} |
|
|
|
/** |
|
* Decrease font-size for blockquote placed in sidebar region. |
|
*/ |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.region--sidebar .text-content blockquote { |
|
font-size: 1.5rem; |
|
line-height: var(--sp2) |
|
} |
|
}
|
|
|