2022-02-23 11:42:11 +00:00
|
|
|
code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
|
|
|
background: none;
|
|
|
|
font-family: ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,Liberation Mono,monospace;
|
2024-10-31 17:01:54 +00:00
|
|
|
text-align: start;
|
2022-02-23 11:42:11 +00:00
|
|
|
white-space: pre;
|
|
|
|
word-spacing: normal;
|
|
|
|
word-break: normal;
|
|
|
|
word-wrap: normal;
|
|
|
|
line-height: 1.5;
|
|
|
|
-moz-tab-size: 4;
|
|
|
|
-o-tab-size: 4;
|
|
|
|
tab-size: 4;
|
|
|
|
-webkit-hyphens: none;
|
|
|
|
-moz-hyphens: none;
|
|
|
|
-ms-hyphens: none;
|
|
|
|
hyphens: none;
|
|
|
|
}
|
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
div.code-toolbar > .toolbar {
|
|
|
|
display: none;
|
2022-02-23 11:42:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pre[class*="language-"] {
|
|
|
|
position: relative;
|
2023-10-10 16:11:58 +00:00
|
|
|
background: transparent;
|
|
|
|
margin: 0;
|
2022-02-23 11:42:11 +00:00
|
|
|
padding: 0;
|
2023-10-15 09:38:39 +00:00
|
|
|
max-height: 40rem;
|
2023-10-15 04:50:22 +00:00
|
|
|
overflow: auto;
|
2023-10-25 02:47:57 +00:00
|
|
|
color-scheme: dark;
|
2022-02-23 11:42:11 +00:00
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2024-10-31 17:01:54 +00:00
|
|
|
border-inline-start: 1rem solid transparent;
|
2023-10-10 16:11:58 +00:00
|
|
|
box-shadow: none;
|
2022-02-23 11:42:11 +00:00
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
2023-10-06 14:00:02 +00:00
|
|
|
border-radius: 10px;
|
2023-10-10 16:11:58 +00:00
|
|
|
color: #ffffff;
|
|
|
|
max-height: inherit;
|
|
|
|
height: inherit;
|
|
|
|
padding: 0 1rem;
|
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
2024-10-31 17:01:54 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.comment,
|
|
|
|
.token.block-comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
|
|
|
color: #bbf7d0;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.punctuation {
|
|
|
|
color: #bfdbfe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.boolean,
|
|
|
|
.token.number,
|
|
|
|
.token.function-name,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
|
|
|
color: #93c5fd;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.function,
|
|
|
|
.token.builtin,
|
|
|
|
.token.inserted {
|
|
|
|
color: #eff6ff;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.token.variable {
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.keyword,
|
|
|
|
.token.class-name {
|
|
|
|
color: #bbf7d0;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.regex,
|
|
|
|
.token.important {
|
|
|
|
color: #fde68a;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
|
|
|
color: #fde68a;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.important {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.token.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
|
2023-10-10 16:11:58 +00:00
|
|
|
.token.entity {
|
|
|
|
cursor: help;
|
|
|
|
}
|
2022-02-23 11:42:11 +00:00
|
|
|
}
|
2023-10-07 14:34:18 +00:00
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
|
|
|
|
.copy-to-clipboard-button {
|
|
|
|
display: none;
|
2023-10-07 14:59:09 +00:00
|
|
|
}
|
|
|
|
|
2024-10-31 17:01:54 +00:00
|
|
|
pre[class*="language-"] {
|
2023-10-14 19:15:16 +00:00
|
|
|
code {
|
2024-02-11 21:25:50 +00:00
|
|
|
background: var(--code-background);
|
2024-01-18 04:03:38 +00:00
|
|
|
}
|
2024-10-31 17:01:54 +00:00
|
|
|
}
|