pre.wp-block-code code {
color: #abb2bf;
padding-left: 0;
border: none;
overflow-x: initial;
}
code[class*='language-'],
pre[class*='language-'] {
color: #abb2bf;
background: none;
font-family: Hack, 'Fira Code', Consolas, Menlo, Monaco, 'Andale Mono',
'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L',
'Courier New', Courier, monospace;
line-height: 1.5;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*='language-']::selection,
pre[class*='language-'] ::selection,
code[class*='language-']::selection,
code[class*='language-'] ::selection {
text-shadow: none;
background: #d84315;
color: #fff;
}
@media print {
code[class*='language-'],
pre[class*='language-'] {
text-shadow: none;
}
} pre.wp-block-code {
background: #282c34;
overflow: auto;
}
:where(pre.wp-block-code) {
padding: 1rem;
margin: 0.5em auto;
border-radius: 8px;
border: none;
} .entry .entry-content .wp-block-code {
border-radius: 8px !important;
border: none;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #5c6370; border: none; padding-left: 0;
}
.token.punctuation {
color: #abb2bf;
}
.token.selector,
.token.tag {
color: #e06c75;
}
.token.property,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.attr-name,
.token.deleted {
color: #d19a66;
}
.token.string,
.token.char,
.token.attr-value,
.token.builtin,
.token.inserted {
color: #98c379;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #56b6c2;
}
.token.atrule,
.token.keyword {
color: #c678dd;
}
.token.function {
color: #61afef;
}
.token.regex,
.token.important,
.token.variable {
color: #c678dd;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
pre.line-numbers {
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
pre.line-numbers > code {
position: relative; padding-top: 0 !important;
}
.line-numbers .line-numbers-rows {
position: absolute;
pointer-events: none;
top: 0;
font-size: 100%;
left: -3.8em;
width: 3em; letter-spacing: -1px;
border-right: 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line-numbers-rows > span {
pointer-events: none;
display: block;
counter-increment: linenumber;
}
.line-numbers-rows > span:before {
content: counter( linenumber );
color: #5c6370;
display: block;
padding-right: 0.8em;
text-align: right;
}
.prism-titlename {
margin: -16px -16px 24px -16px;
padding: 4px 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
font-weight: bold;
color: orange;
background-color: #383c44;
}.copy-the-code-inside-wrap .copy-the-code-button {
position: absolute;
right: 0;
top: 0;
}
.copy-the-code-inside .copy-the-code-button {
position: absolute;
right: 0;
top: 0;
}
.copy-the-code-wrap {
display: block;
position: relative;
}
.copy-the-code-wrap .copy-the-code-button {
background: #e1e3e8;
padding: 10px 20px;
cursor: pointer;
box-shadow: none;
color: #424242;
font-size: 14px;
font-weight: normal;
border-radius: 0;
text-transform: capitalize;
border: none;
outline: none;
}
.copy-the-code-wrap .copy-the-code-button:hover {
background: #d0d1d6;
}
.copy-the-code-outside + * {
margin-top: 0;
}
.copy-the-code-outside {
text-align: right;
} .copy-the-code-wrap.copy-the-code-style-svg-icon .copy-the-code-button {
background: transparent;
padding: 0;
}
.copy-the-code-wrap.copy-the-code-style-svg-icon .copy-the-code-button svg {
height: auto;
width: 20px;
fill: #c1c1c1;
}
.copy-the-code-wrap.copy-the-code-style-cover .copy-the-code-button {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
opacity: 0;
background: rgba(0, 0, 0, 0.5);
font-weight: bold;
color: #fff;
transition: all 0.3s ease-in-out;
padding: 0;
font-size: 12px;
}
.copy-the-code-wrap.copy-the-code-style-cover:hover .copy-the-code-button {
opacity: 1;
}
.copy-the-code-inside-wrap.copy-the-code-style-svg-icon .copy-the-code-button {
padding: 10px;
}
.copy-the-code-wrap.copy-the-code-style-cover {
display: inline-block;
}
.copy-the-code-wrap .copy-the-code-target {
margin-top: 0;
}
.copy-the-code-style-svg-icon .copy-the-code-outside {
height: 32px;
}.ctc-inline-copy-icon .copy-icon {
height: 16px;
width: 16px;
}
.ctc-inline-copy-icon .check-icon {
display: none;
}
.ctc-inline-copy-icon {
display: inline-flex;
}
.ctc-inline-hidden {
display: none !important;
}
.ctc-inline-copy-text {
line-height: normal;
}
.ctc-inline-copy {
display: inline-flex;
align-items: center;
gap: .5em;
position: relative;
cursor: pointer;
}
.ctc-inline-copy::before {
content: "";
top: 50%;
bottom: 50%;
left: -7px;
margin-top: -6px;
border: 6px solid transparent;
border-left-color: rgb(36, 41, 47);
position: absolute;
}
.ctc-inline-copy::after {
position: absolute;
content: attr(aria-label);
padding: 0.5em 0.75em;
right: 100%;
color: white;
background: rgb(36, 41, 47);
font-size: 11px;
border-radius: 6px;
line-height: 1;
right: 100%;
bottom: 50%;
margin-right: 6px;
transform: translateY(50%);
min-width: 60px;
}
.ctc-inline-copy::after,
.ctc-inline-copy::before {
opacity: 0;
visibility: hidden;
transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out;
}
.copied.ctc-inline-copy .check-icon {
display: block;
}
.copied.ctc-inline-copy .copy-icon {
display: none !important;
}
.copied.ctc-inline-copy::after,
.copied.ctc-inline-copy::before {
opacity: 1;
visibility: visible;
transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out;
} .ctc-inline-style-cover .ctc-inline-copy-icon {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
}
.ctc-inline-style-cover .copy-icon {
display: none;
}
.ctc-inline-style-cover:hover .copy-icon {
display: block;
}
.copied.ctc-inline-style-cover .check-icon {
display: block;
}
.ctc-inline-style-cover svg {
fill: white;
}
.ctc-inline-style-cover:hover .ctc-inline-copy-icon {
background: rgb(0 0 0 / 50%);
}.printomatic {
cursor: pointer;
}
.pom-default {
background-image: url(/wp-content/plugins/print-o-matic/css/print-icon.png);
background-repeat: no-repeat;
width: 32px;
height: 32px;
}
.pom-small {
background-image: url(/wp-content/plugins/print-o-matic/css/print-icon-small.png);
background-repeat: no-repeat;
width: 17px;
height: 16px;
}
.pom-small-black {
background-image: url(/wp-content/plugins/print-o-matic/css/print-icon-small-black.png);
background-repeat: no-repeat;
width: 17px;
height: 16px;
}
.pom-small-grey {
background-image: url(/wp-content/plugins/print-o-matic/css/print-icon-small-grey.png);
background-repeat: no-repeat;
width: 17px;
height: 16px;
}
.pom-small-white {
background-image: url(/wp-content/plugins/print-o-matic/css/print-icon-small-white.png);
background-repeat: no-repeat;
width: 17px;
height: 16px;
}
.printomatictext {
cursor: pointer;
}
.printomatictext:hover {
text-decoration: underline;
}
@media print {
.pe-no-print {
display: none !important;
}
.pe-preserve-ancestor {
display: block !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
box-shadow: none !important;
}
}