pages/media/plugins/syntaxHighlighter/prism-white.css

1 line
3.8 KiB
CSS
Raw Normal View History

2024-01-30 21:27:12 +01:00
:root{--prism-text:#24292F;--prism-bg:white;--prism-light-shadow:white;--prism-selection:#9FC6E9;--prism-comment:#6E7781;--prism-punctuation:#24292F;--prism-namespace-opacity:.7;--prism-property:#0550AE;--prism-string:#0A3069;--prism-operator:#0550AE;--prism-atrule:#CF222E;--prism-function:#8250DF;--prism-regex:#0A3069;--prism-border:#D1D4D8;--prism-space:#808080;--prism-url:#CF222E;}code[class*=language-],pre[class*=language-]{color:var(--prism-text);background:0;text-shadow:0 1px var(--prism-light-shadow);text-align:left;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;line-height:1.385;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:var(--prism-selection)}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:var(--prism-selection)}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:var(--prism-bg);border:1px solid var(--prism-border)}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:var(--prism-comment)}.token.punctuation{color:var(--prism-punctuation)}.namespace{opacity:var(--prism-namespace-opacity)}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:var(--prism-property)}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:var(--prism-string)}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:var(--prism-operator);background:rgba(255,255,255,.5)}.token.atrule,.token.attr-value,.token.keyword{color:var(--prism-atrule)}.token.class-name,.token.function{color:var(--prism-function)}.token.important,.token.regex,.token.variable{color:var(--prism-regex)}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}pre[class*=language-].line-numbers{position:relative;counter-reset:linenumber;padding-left: 7ch;}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-7ch;width:5ch;letter-spacing:-1px;border-right:1px solid var(--prism-border);-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:var(--prism-comment);display:block;padding-right:.8em;text-align:right}.token.cr,.token.lf,.token.space,.token.tab:not(:empty),div.code-toolbar{position:relative}div.code-toolbar>.toolbar{position:absolute;top:.8rem;right:.8rem;-webkit-transition:opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;opacity:0}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar>.toolbar .toolbar-item{display:inline-block}div.code-toolbar>.toolbar button{font-size:14px;padding:.35rem .7rem}.token.cr:before,.token.lf:before,.token.space:before,.token.tab:not(:empty):before{color:var(--prism-space);opacity:.6;position:absolute}.token.tab:not(:empty):before{content:'\21E5'}.token.cr:before{content:'\240D'}.token.crlf:before{content:'\240D\240A'}.token.lf:before{content:'\240A'}.token.space:before{content:'\00B7'}.url-link{color:var(--prism-url) !important;cursor:pointer;text-decoration:underline!important;}