
| Current Path : /var/www/html/holz-machines/web/core/themes/olivero/css/components/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/holz-machines/web/core/themes/olivero/css/components/text-content.css |
/*
* 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);
text-decoration-color: currentColor;
text-decoration-thickness: 2px;
overflow-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);
text-decoration-color: var(--color--primary-80);
}
}
.text-content p,
.cke_editable p {
margin-block-start: var(--sp);
margin-block-end: var(--sp);
}
.text-content p:first-child,
.cke_editable p:first-child {
margin-block-start: 0;
}
.text-content p:last-child,
.cke_editable p:last-child {
margin-block-end: 0;
}
@media (min-width: 43.75rem) {
.text-content p,
.cke_editable p {
margin-block-start: var(--sp2);
margin-block-end: var(--sp2);
}
}
.text-content code,
.cke_editable code {
background-color: var(--color--gray-100);
}
.text-content pre code,
.cke_editable pre code {
display: block;
overflow: auto;
padding-block: var(--sp);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
color: var(--color-text-neutral-soft);
}
.text-content blockquote,
.cke_editable blockquote {
position: relative;
margin-block: var(--sp2);
margin-inline-start: 0;
margin-inline-end: 0;
padding-inline-start: var(--sp2);
letter-spacing: -0.01em;
font-family: var(--font-serif);
font-size: 1.3125rem;
line-height: var(--sp2);
}
.text-content blockquote:before,
.cke_editable blockquote:before {
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
content: "\201C";
color: var(--color--primary-60);
font-size: 3.375rem;
}
.text-content blockquote:after,
.cke_editable blockquote:after {
position: absolute;
inset-block-end: 0;
inset-inline-start: 0;
width: var(--sp0-5);
height: calc(100% - 1.875rem);
margin-inline-start: 0.25rem;
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(3.5 * var(--sp));
}
}
@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);
}
}