You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.3 KiB
1 line
3.3 KiB
2 years ago
|
:root{--highlight-background:#2d2d2d;--highlight-current-line:#393939;--highlight-selection:#515151;--highlight-foreground:#cccccc;--highlight-comment:#999999;--highlight-red:#f2777a;--highlight-orange:#f99157;--highlight-yellow:#ffcc66;--highlight-green:#99cc99;--highlight-aqua:#66cccc;--highlight-blue:#6699cc;--highlight-purple:#cc99cc;--highlight-gutter-color:#999999;--highlight-gutter-bg:#1b1b1b;--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:" ";position:absolute;border-radius:50%;background-color:#fc625d;width:12px;height:12px;left:10px;top:10px;-webkit-box-shadow:20px 0 #fdbc40,40px 0 #35cd4b;box-shadow:20px 0 #fdbc40,40px 0 #35cd4b}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:#ddd;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:#fff}
|