-
Notifications
You must be signed in to change notification settings - Fork 0
/
highlight.min.css
1 lines (1 loc) · 3.65 KB
/
highlight.min.css
1
:root{--highlight-background:#f7f7f7;--highlight-current-line:#efefef;--highlight-selection:#d6d6d6;--highlight-foreground:#4d4d4c;--highlight-comment:#8e908c;--highlight-red:#c82829;--highlight-orange:#f5871f;--highlight-yellow:#eab700;--highlight-green:#718c00;--highlight-aqua:#3e999f;--highlight-blue:#4271ae;--highlight-purple:#8959a8;--highlight-gutter-color:#869194;--highlight-gutter-bg:#eff2f3;--highlight-deletion:#fdd;--highlight-addition:#dfd}[data-user-color-scheme=dark]{--highlight-background:#1d1f21;--highlight-current-line:#282a2e;--highlight-selection:#373b41;--highlight-foreground:#c5c8c6;--highlight-comment:#969896;--highlight-red:#cc6666;--highlight-orange:#de935f;--highlight-yellow:#f0c674;--highlight-green:#b5bd68;--highlight-aqua:#8abeb7;--highlight-blue:#81a2be;--highlight-purple:#b294bb;--highlight-gutter-color:#888f96;--highlight-gutter-bg:#000000;--highlight-deletion:#008000;--highlight-addition:#800000}figure.highlight table,figure.highlight table>tbody,figure.highlight table>tbody>tr,figure.highlight table>tbody>tr>td{display:block}figure.highlight{position:relative;overflow:auto;margin:20px 0;padding:0;border-radius:8px;font-family:Consolas,'Courier New',monospace,-apple-system;font-size:12px;font-weight:unset;color:var(--highlight-foreground);background:var(--highlight-current-line)}figure.highlight::before{content:attr(data-lang);position:absolute;opacity:.3;font-size:1.2rem;font-weight:700;left:.4rem;top:0}figure.highlight figcaption{position:absolute;margin-left:75px;font-size:18px}figure.highlight pre{border:none;margin:0;padding:10px 0;color:var(--highlight-foreground);background:0 0}figure.highlight table{margin:30px 0 0;width:auto;border:none;border-spacing:unset;border-collapse:unset}figure.highlight td{border:none;padding:0}figure.highlight .gutter{position:absolute;width:40px;-ms-user-select:none;user-select:none;-moz-user-select:none;-webkit-user-select:none}figure.highlight .gutter pre{overflow:hidden;padding-left:10px;padding-right:10px;color:var(--highlight-gutter-color);text-align:right;background-color:var(--highlight-gutter-bg)}figure.highlight .code{overflow:auto;margin-left:40px;background-color:var(--highlight-background)}figure.highlight .code pre{padding-left:10px;padding-right:15px;text-align:left;display:inline-block}.gist table{width:auto}.gist table td{border:none}pre .deletion{background:var(--highlight-deletion)}pre .addition{background:var(--highlight-addition)}pre .meta{color:var(--highlight-purple)}pre .comment{color:var(--highlight-comment)}pre .attribute,pre .css .class,pre .css .id,pre .css .pseudo,pre .html .doctype,pre .regexp,pre .ruby .constant,pre .tag,pre .variable,pre .xml .doctype,pre .xml .pi,pre .xml .tag .title{color:var(--highlight-red)}pre .built_in,pre .command,pre .constant,pre .literal,pre .number,pre .params,pre .preprocessor{color:var(--highlight-orange)}pre .css .rules .attribute,pre .formula,pre .header,pre .inheritance,pre .number,pre .ruby .class .title,pre .ruby .symbol,pre .special,pre .string,pre .value,pre .xml .cdata{color:var(--highlight-green)}pre .css .hexcolor,pre .title{color:var(--highlight-aqua)}pre .coffeescript .title,pre .function,pre .javascript .title,pre .perl .sub,pre .python .decorator,pre .python .title,pre .ruby .function .title,pre .ruby .title .keyword{color:var(--highlight-blue)}pre .javascript .function,pre .keyword{color:var(--highlight-purple)}figure.highlight>button.copy{-webkit-transition:.3s;transition:.3s;opacity:0;position:absolute;color:#999;background:0 0;right:5px;top:5px;font-size:12px;line-height:12px;padding:3px 5px;border:1px solid;border-radius:4px}figure.highlight:hover>button.copy{opacity:1}figure.highlight:hover>button.copy:hover{color:#555}