artabro/wire/modules/Inputfield/InputfieldTinyMCE/content_css/wire.css
2024-08-27 11:35:37 +02:00

210 lines
6 KiB
CSS

/**
* content.scss
*
* All styles should be wrapped in a .mce-content-body element in order for this to
* be compatible with both normal and inline modes.
*
*/
/*
Expected variables:
$text-color: #333;
$text-color-muted: #777;
$headline-color: #222;
$border-color: #ccc;
$link-color: #0782C1;
$code-color: #222;
$code-bgcolor: #f5f2f0;
$code-font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
*/
.mce-content-body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.5;
margin: 1rem;
font-size: 16px;
color: #333;
}
.mce-content-body small {
font-size: 14px;
}
.mce-content-body strong,
.mce-content-body strong em,
.mce-content-body em strong {
font-weight: bold;
}
.mce-content-body em {
font-style: italic;
}
.mce-content-body h1, .mce-content-body h2, .mce-content-body h3, .mce-content-body h4, .mce-content-body h5, .mce-content-body h6 {
color: #222;
font-weight: bold;
line-height: 1.2em;
text-transform: none;
margin: 1rem 0;
}
.mce-content-body h1 {
font-size: 2rem;
}
.mce-content-body h2 {
font-size: 1.7rem;
}
.mce-content-body h3 {
font-size: 1.5rem;
}
.mce-content-body h4 {
font-size: 1.3rem;
}
.mce-content-body h5 {
font-size: 1.2rem;
}
.mce-content-body h6 {
font-size: 1.1rem;
}
.mce-content-body hr {
border-style: solid;
border-width: 1px 0 0 0;
}
.mce-content-body code {
border-radius: 3px;
padding: 0.1rem 0.2rem;
background-color: #f5f2f0;
color: #222;
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
}
.mce-content-body a {
color: #0782C1;
text-decoration: underline;
}
.mce-content-body table:not([cellpadding]) td,
.mce-content-body table:not([cellpadding]) th {
padding: 0.4rem;
}
.mce-content-body table[border]:not([border="0"]):not([style*=border-width]) td,
.mce-content-body table[border]:not([border="0"]):not([style*=border-width]) th {
border-width: 1px;
}
.mce-content-body table[border]:not([border="0"]):not([style*=border-style]) td,
.mce-content-body table[border]:not([border="0"]):not([style*=border-style]) th {
border-style: solid;
}
.mce-content-body table[border]:not([border="0"]):not([style*=border-color]) td,
.mce-content-body table[border]:not([border="0"]):not([style*=border-color]) th {
border-color: #ccc;
}
.mce-content-body span[lang] {
font-style: italic;
}
.mce-content-body table {
border-collapse: collapse;
}
.mce-content-body blockquote {
color: #333;
border-color: #ccc;
font-style: italic;
font-family: Georgia, Times, "Times New Roman", serif;
margin: 0;
padding: 0 1rem;
}
.mce-content-body:not([dir=rtl]) blockquote {
border-left: 2px solid;
margin-left: 1.5rem;
padding-left: 1rem;
}
.mce-content-body[dir=rtl] blockquote {
border-right: 2px solid;
margin-right: 1.5rem;
padding-right: 1rem;
}
.mce-content-body figure {
display: table;
margin-top: 1rem;
margin-bottom: 1rem;
}
.mce-content-body figure:first-child {
margin-top: 0;
}
.mce-content-body figure figcaption {
margin-top: 5px;
display: table-caption;
caption-side: bottom;
line-height: 1.3em;
font-size: 14px;
color: #999;
}
.mce-content-body .align_right, .mce-content-body .align-right, .mce-content-body .right {
text-align: right;
float: none;
}
.mce-content-body .align_left, .mce-content-body .align-left, .mce-content-body .left {
text-align: left;
float: none;
}
.mce-content-body .align_center, .mce-content-body .align-center, .mce-content-body .center {
text-align: center;
}
.mce-content-body .align_full, .mce-content-body .align-full, .mce-content-body .full {
text-align: justify;
}
.mce-content-body img.align_right, .mce-content-body img.align-right, .mce-content-body img.right, .mce-content-body figure.align_right, .mce-content-body figure.align-right, .mce-content-body figure.right, .mce-content-body table.align_right, .mce-content-body table.align-right, .mce-content-body table.right {
text-align: initial;
float: right;
margin-left: 1rem;
margin-right: 0;
margin-top: 0;
}
.mce-content-body img.align_left, .mce-content-body img.align-left, .mce-content-body img.left, .mce-content-body figure.align_left, .mce-content-body figure.align-left, .mce-content-body figure.left, .mce-content-body table.align_left, .mce-content-body table.align-left, .mce-content-body table.left {
text-align: initial;
float: left;
margin-top: 0;
margin-left: 0;
margin-right: 1rem;
}
.mce-content-body img.align_center, .mce-content-body img.align-center, .mce-content-body img.center, .mce-content-body figure.align_center, .mce-content-body figure.align-center, .mce-content-body figure.center, .mce-content-body table.align_center, .mce-content-body table.align-center, .mce-content-body table.center {
text-align: initial;
display: block;
margin-left: auto;
margin-right: auto;
}
.mce-content-body img.align_full, .mce-content-body img.align-full, .mce-content-body img.full, .mce-content-body figure.align_full, .mce-content-body figure.align-full, .mce-content-body figure.full, .mce-content-body table.align_full, .mce-content-body table.align-full, .mce-content-body table.full {
text-align: initial;
width: 100%;
}
.mce-content-body img {
max-width: 100%;
}
.mce-content-body img.align_center, .mce-content-body img.align-center, .mce-content-body img.center {
display: block;
}
.mce-content-body img:hover {
opacity: 0.9;
filter: alpha(opacity=90);
}
a > .mce-content-body img {
padding: 1px;
margin: 1px;
border: none;
outline: 1px solid #0782C1;
}
.mce-content-body pre {
color: #333;
border: 1px dashed #ccc;
padding: 0.5rem 1rem !important;
white-space: pre-wrap;
word-wrap: break-word;
-moz-tab-size: 4;
-o-tab-size: 4;
-webkit-tab-size: 4;
tab-size: 4;
}
.mce-content-body pre code {
background-color: initial;
}
.mce-content-body pre[class*=language-] {
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
font-size: 0.9375rem;
background: #f5f2f0;
margin: 0.5em 0;
padding: 0.5rem 1rem;
color: #777;
}
/*# sourceMappingURL=wire.css.map */