drupal/core/themes/olivero/css/components/text-content.css

259 lines
5.5 KiB
CSS

/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Text Content.
*/
.text-content,
.cke_editable {
color: #313637;
font-family: "Lora", "georgia", serif;
line-height: 27px
}
.text-content h2, .cke_editable h2 {
margin-top: 36px;
margin-bottom: 27px;
letter-spacing: 0.12em;
color: #000;
font-size: 16px;
line-height: 27px
}
@media (min-width: 700px) {
.text-content h2, .cke_editable h2 {
margin-top: 54px;
margin-bottom: 36px;
letter-spacing: 0.09em;
font-size: 21px
}
}
.text-content,
.cke_editable {
/*
@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, .cke_editable a {
color: #0d77b5;
-webkit-text-decoration-color: #0d77b5;
text-decoration-color: #0d77b5;
text-decoration-width: 2px;
text-decoration-thickness: 2px;
word-wrap: break-word
}
@supports (box-shadow: none) {
.text-content a, .cke_editable a {
transition: box-shadow 0.3s cubic-bezier(0.55, 0.085, 0, 0.99);
text-decoration: none;
box-shadow: inset 0 -2px 0 0 #2494db
}
.text-content a:hover,
.text-content a:focus,
.cke_editable a:hover,
.cke_editable a:focus {
text-decoration: underline;
color: #000;
/* @todo - #d9ecfa isn't currently a variable. */
box-shadow: inset 0 -2em 0 0 #d9ecfa;
-webkit-text-decoration-color: #d9ecfa;
text-decoration-color: #d9ecfa;
}
}
.text-content p, .cke_editable p {
margin-top: 18px;
margin-bottom: 18px
}
.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: 700px) {
.text-content p, .cke_editable p {
margin-top: 36px;
margin-bottom: 36px
}
}
.text-content code, .cke_editable code {
background-color: #f7f9fa;
}
[dir="ltr"] .text-content pre code,[dir="ltr"] .cke_editable pre code {
padding-left: 18px
}
[dir="rtl"] .text-content pre code,[dir="rtl"] .cke_editable pre code {
padding-right: 18px
}
[dir="ltr"] .text-content pre code,[dir="ltr"] .cke_editable pre code {
padding-right: 18px
}
[dir="rtl"] .text-content pre code,[dir="rtl"] .cke_editable pre code {
padding-left: 18px
}
.text-content pre code, .cke_editable pre code {
display: block;
overflow: auto;
padding-top: 18px;
padding-bottom: 18px;
color: #6e7172;
}
[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: 36px
}
[dir="rtl"] .text-content blockquote,[dir="rtl"] .cke_editable blockquote {
padding-right: 36px
}
.text-content blockquote, .cke_editable blockquote {
position: relative;
margin-top: 36px;
margin-bottom: 36px;
letter-spacing: -0.01em;
font-family: "Lora", "georgia", serif;
font-size: 21px;
line-height: 36px
}
[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: "“";
color: #53b0eb;
font-size: 54px;
}
[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: 4px
}
[dir="rtl"] .text-content blockquote:after,[dir="rtl"] .cke_editable blockquote:after {
margin-right: 4px
}
.text-content blockquote:after, .cke_editable blockquote:after {
position: absolute;
bottom: 0;
width: 9px;
height: calc(100% - 30px);
content: "";
background: #f7f9fa;
}
@media (min-width: 700px) {
.text-content blockquote, .cke_editable blockquote {
font-size: 32px;
line-height: 54px
}
}
@media (min-width: 1000px) {
.text-content blockquote, .cke_editable blockquote {
font-size: 40px;
line-height: 63px
}
}
@media (min-width: 700px) {
.text-content,
.cke_editable {
font-size: 18px;
line-height: 36px
}
}
/**
* Special colors for footer that has a dark background.
*/
.site-footer .text-content,
.site-footer .cke_editable {
color: inherit
}
.site-footer .text-content *, .site-footer .cke_editable * {
color: inherit;
}
.site-footer .text-content a, .site-footer .cke_editable a {
text-decoration: underline;
color: #fff;
box-shadow: none
}
.site-footer .text-content a:hover,
.site-footer .text-content a:focus,
.site-footer .cke_editable a:hover,
.site-footer .cke_editable a:focus {
text-decoration: none;
color: #fff;
box-shadow: none;
}