326 lines
9.7 KiB
CSS
326 lines
9.7 KiB
CSS
/*
|
|
Inserts a CSS expression with one or more custom variables.
|
|
You can provide an arbitrary number of strings in the second
|
|
argument, separated by spaces. Any strings corresponding to
|
|
variable names will be replaced by the correct values, while
|
|
other strings are left untouched.
|
|
|
|
Example usage:
|
|
|
|
@include usevar(border-color, dimmer-color);
|
|
@include usevar(background, "linear-gradient(" dim-background-transparent "," dim-background ")");
|
|
|
|
For clarity and to avoid syntax issues, you are encouraged to
|
|
use unquoted strings for variables and quoted strings for
|
|
everything else.
|
|
|
|
For convenience in common cases, if only a single argument
|
|
is provided and it does not match an existing variable, this
|
|
will throw an error.
|
|
*/
|
|
pre, code, .codeblock {
|
|
/* Comment */
|
|
/* Error */
|
|
/* Keyword */
|
|
/* Operator */
|
|
/* Comment.Multiline */
|
|
/* Comment.Preproc */
|
|
/* Comment.Single */
|
|
/* Comment.Special */
|
|
/* Generic.Deleted */
|
|
/* Generic.Emph */
|
|
/* Generic.Error */
|
|
/* Generic.Heading */
|
|
/* Generic.Inserted */
|
|
/* Generic.Output */
|
|
/* Generic.Prompt */
|
|
/* Generic.Strong */
|
|
/* Generic.Subheading */
|
|
/* Generic.Traceback */
|
|
/* Keyword.Constant */
|
|
/* Keyword.Declaration */
|
|
/* Keyword.Namespace */
|
|
/* Keyword.Pseudo */
|
|
/* Keyword.Reserved */
|
|
/* Keyword.Type */
|
|
/* Literal.Number */
|
|
/* Literal.String */
|
|
/* Name.Attribute */
|
|
/* Name.Builtin */
|
|
/* Name.Class */
|
|
/* Name.Constant */
|
|
/* Name.Decorator */
|
|
/* Name.Entity */
|
|
/* Name.Exception */
|
|
/* Name.Function */
|
|
/* Name.Label */
|
|
/* Name.Namespace */
|
|
/* Name.Tag */
|
|
/* Name.Variable */
|
|
/* Operator.Word */
|
|
/* Text.Whitespace */
|
|
/* Literal.Number.Float */
|
|
/* Literal.Number.Hex */
|
|
/* Literal.Number.Integer */
|
|
/* Literal.Number.Oct */
|
|
/* Literal.String.Backtick */
|
|
/* Literal.String.Char */
|
|
/* Literal.String.Doc */
|
|
/* Literal.String.Double */
|
|
/* Literal.String.Escape */
|
|
/* Literal.String.Heredoc */
|
|
/* Literal.String.Interpol */
|
|
/* Literal.String.Other */
|
|
/* Literal.String.Regex */
|
|
/* Literal.String.Single */
|
|
/* Literal.String.Symbol */
|
|
/* Name.Builtin.Pseudo */
|
|
/* Name.Variable.Class */
|
|
/* Name.Variable.Global */
|
|
/* Name.Variable.Instance */
|
|
/* Literal.Number.Integer.Long */ }
|
|
pre .hll, code .hll, .codeblock .hll {
|
|
background-color: #ffffcc; }
|
|
pre .c, code .c, .codeblock .c {
|
|
color: #60a0b0;
|
|
font-style: italic; }
|
|
pre .err, code .err, .codeblock .err {
|
|
color: #FF0000; }
|
|
pre .k, code .k, .codeblock .k {
|
|
color: #007020;
|
|
font-weight: bold; }
|
|
pre .o, code .o, .codeblock .o {
|
|
color: #666666; }
|
|
pre .cm, code .cm, .codeblock .cm {
|
|
color: #60a0b0;
|
|
font-style: italic; }
|
|
pre .cp, code .cp, .codeblock .cp {
|
|
color: #007020; }
|
|
pre .c1, code .c1, .codeblock .c1 {
|
|
color: #60a0b0;
|
|
font-style: italic; }
|
|
pre .cs, code .cs, .codeblock .cs {
|
|
color: #60a0b0;
|
|
background-color: #fff0f0; }
|
|
pre .gd, code .gd, .codeblock .gd {
|
|
color: #A00000; }
|
|
pre .ge, code .ge, .codeblock .ge {
|
|
font-style: italic; }
|
|
pre .gr, code .gr, .codeblock .gr {
|
|
color: #FF0000; }
|
|
pre .gh, code .gh, .codeblock .gh {
|
|
color: #000080;
|
|
font-weight: bold; }
|
|
pre .gi, code .gi, .codeblock .gi {
|
|
color: #00A000; }
|
|
pre .go, code .go, .codeblock .go {
|
|
color: #808080; }
|
|
pre .gp, code .gp, .codeblock .gp {
|
|
color: #c65d09;
|
|
font-weight: bold; }
|
|
pre .gs, code .gs, .codeblock .gs {
|
|
font-weight: bold; }
|
|
pre .gu, code .gu, .codeblock .gu {
|
|
color: #800080;
|
|
font-weight: bold; }
|
|
pre .gt, code .gt, .codeblock .gt {
|
|
color: #0040D0; }
|
|
pre .kc, code .kc, .codeblock .kc {
|
|
color: #007020;
|
|
font-weight: bold; }
|
|
pre .kd, code .kd, .codeblock .kd {
|
|
color: #007020;
|
|
font-weight: bold; }
|
|
pre .kn, code .kn, .codeblock .kn {
|
|
color: #007020;
|
|
font-weight: bold; }
|
|
pre .kp, code .kp, .codeblock .kp {
|
|
color: #007020; }
|
|
pre .kr, code .kr, .codeblock .kr {
|
|
color: #007020;
|
|
font-weight: bold; }
|
|
pre .kt, code .kt, .codeblock .kt {
|
|
color: #902000; }
|
|
pre .m, code .m, .codeblock .m {
|
|
color: #40a070; }
|
|
pre .s, code .s, .codeblock .s {
|
|
color: #4070a0; }
|
|
pre .na, code .na, .codeblock .na {
|
|
color: #4070a0; }
|
|
pre .nb, code .nb, .codeblock .nb {
|
|
color: #007020; }
|
|
pre .nc, code .nc, .codeblock .nc {
|
|
color: #0e84b5;
|
|
font-weight: bold; }
|
|
pre .no, code .no, .codeblock .no {
|
|
color: #60add5; }
|
|
pre .nd, code .nd, .codeblock .nd {
|
|
color: #555555;
|
|
font-weight: bold; }
|
|
pre .ni, code .ni, .codeblock .ni {
|
|
color: #d55537;
|
|
font-weight: bold; }
|
|
pre .ne, code .ne, .codeblock .ne {
|
|
color: #007020; }
|
|
pre .nf, code .nf, .codeblock .nf {
|
|
color: #06287e; }
|
|
pre .nl, code .nl, .codeblock .nl {
|
|
color: #002070;
|
|
font-weight: bold; }
|
|
pre .nn, code .nn, .codeblock .nn {
|
|
color: #0e84b5;
|
|
font-weight: bold; }
|
|
pre .nt, code .nt, .codeblock .nt {
|
|
color: #062873;
|
|
font-weight: bold; }
|
|
pre .nv, code .nv, .codeblock .nv {
|
|
color: #bb60d5; }
|
|
pre .ow, code .ow, .codeblock .ow {
|
|
color: #007020;
|
|
font-weight: bold; }
|
|
pre .w, code .w, .codeblock .w {
|
|
color: #bbbbbb; }
|
|
pre .mf, code .mf, .codeblock .mf {
|
|
color: #40a070; }
|
|
pre .mh, code .mh, .codeblock .mh {
|
|
color: #40a070; }
|
|
pre .mi, code .mi, .codeblock .mi {
|
|
color: #40a070; }
|
|
pre .mo, code .mo, .codeblock .mo {
|
|
color: #40a070; }
|
|
pre .sb, code .sb, .codeblock .sb {
|
|
color: #4070a0; }
|
|
pre .sc, code .sc, .codeblock .sc {
|
|
color: #4070a0; }
|
|
pre .sd, code .sd, .codeblock .sd {
|
|
color: #4070a0;
|
|
font-style: italic; }
|
|
pre .s2, code .s2, .codeblock .s2 {
|
|
color: #4070a0; }
|
|
pre .se, code .se, .codeblock .se {
|
|
color: #4070a0;
|
|
font-weight: bold; }
|
|
pre .sh, code .sh, .codeblock .sh {
|
|
color: #4070a0; }
|
|
pre .si, code .si, .codeblock .si {
|
|
color: #70a0d0;
|
|
font-style: italic; }
|
|
pre .sx, code .sx, .codeblock .sx {
|
|
color: #c65d09; }
|
|
pre .sr, code .sr, .codeblock .sr {
|
|
color: #235388; }
|
|
pre .s1, code .s1, .codeblock .s1 {
|
|
color: #4070a0; }
|
|
pre .ss, code .ss, .codeblock .ss {
|
|
color: #517918; }
|
|
pre .bp, code .bp, .codeblock .bp {
|
|
color: #007020; }
|
|
pre .vc, code .vc, .codeblock .vc {
|
|
color: #bb60d5; }
|
|
pre .vg, code .vg, .codeblock .vg {
|
|
color: #bb60d5; }
|
|
pre .vi, code .vi, .codeblock .vi {
|
|
color: #bb60d5; }
|
|
pre .il, code .il, .codeblock .il {
|
|
color: #40a070; }
|
|
|
|
.dark {
|
|
background-color: #222;
|
|
color: #bbb; }
|
|
|
|
:root {
|
|
--fg-font-color: black;
|
|
--theme-color: #666;
|
|
--theme-color-dim: #aaa;
|
|
--theme-color-dimmer: #bbb;
|
|
--theme-color-dimmest: #ccc;
|
|
--link-color: #666;
|
|
--link-border-color: #666;
|
|
--hr-color: #444;
|
|
--main-background-color: #fff;
|
|
--main-color: black;
|
|
--dim-color: #333;
|
|
--dimmer-color: #999;
|
|
--dimmest-color: #bbb;
|
|
--menu-bottom-border-color: black;
|
|
--login-popup-background: #fbfbfb;
|
|
--content-background: #f8f8f8;
|
|
--content-background-transparent: rgba(248, 248, 248, 0);
|
|
--dim-background: #f0f0f0;
|
|
--dim-background-transparent: rgba(240, 240, 240, 0);
|
|
--text-background: #f9f9f9;
|
|
--spoiler-border: #aaa;
|
|
--background-even-background: #f8f8f8;
|
|
--project-card-border-color: #aaa;
|
|
--project-user-suggestions-background: #fff;
|
|
--project-user-suggestions-border-color: #ddd;
|
|
--notice-text-color: #fff;
|
|
--notice-unapproved-color: #b42222;
|
|
--notice-hidden-color: #b6b6b6;
|
|
--notice-hiatus-color: #aa7d30;
|
|
--notice-dead-color: #b42222;
|
|
--notice-lts-color: #43a52f;
|
|
--notice-lts-reqd-color: #aa7d30;
|
|
--notice-success-color: #43a52f;
|
|
--notice-warn-color: #aa7d30;
|
|
--notice-failure-color: #b42222;
|
|
--optionbar-border-color: #ccc;
|
|
--tab-background: #fff;
|
|
--tab-border-color: #d8d8d8;
|
|
--tab-button-background: #dfdfdf;
|
|
--tab-button-background-hover: #efefef;
|
|
--tab-button-background-current: #fff;
|
|
--form-check-background: #fafafc;
|
|
--form-check-border-color: #999;
|
|
--form-check-border-color-hover: #4c9ed9;
|
|
--form-text-background: #fff;
|
|
--form-text-background-active: #fafafc;
|
|
--form-text-border-color: #999;
|
|
--form-text-border-color-active: #4c9ed9;
|
|
--form-button-color: black;
|
|
--form-button-color-active: #4c9ed9;
|
|
--form-button-background: #fff;
|
|
--form-button-background-active: #f2f2f2;
|
|
--form-button-border-color: #ccc;
|
|
--form-button-inline-border-color: #999;
|
|
--form-error-color: #c61d24;
|
|
--landing-search-background: #f8f8f8;
|
|
--landing-search-background-hover: #fefeff;
|
|
--editor-toolbar-background: #fff;
|
|
--editor-toolbar-border-color: transparent;
|
|
--editor-toolbar-button-background: transparent;
|
|
--editor-toolbar-button-background-hover: #ddd;
|
|
--editor-toolbar-button-border-color: #ccc;
|
|
--post-blockquote-border-color: #ddd;
|
|
--forum-even-background: #f0f0f0;
|
|
--forum-thread-read-color: #555;
|
|
--forum-thread-read-link-color: #888;
|
|
--forum-post-author-color: #333;
|
|
--forum-diff-source-background: #fff;
|
|
--forum-diff-source-border-color: #999;
|
|
--forum-diff-replace-background: #adcef4;
|
|
--forum-diff-replace-border-color: #4787d1;
|
|
--forum-diff-delete-background: #e57979;
|
|
--forum-diff-delete-border-color: #c12626;
|
|
--forum-diff-insert-background: #96e579;
|
|
--forum-diff-insert-border-color: #5baa3f;
|
|
--card-background: #e8e8e8;
|
|
--card-background-hover: #f0f0f0;
|
|
--timeline-content-background: rgba(0, 0, 0, 0.2);
|
|
--irc-border-color: #ddd;
|
|
--irc-tab-current-shadow: 0px 0px 5px #bbb inset;
|
|
--irc-tab-close-button-color: #fff;
|
|
--irc-tab-close-button-background: #aaa;
|
|
--irc-nick-border-color: #ccc;
|
|
--irc-users-color: black;
|
|
--irc-users-background: #fff;
|
|
--irc-users-border-color: #ccc;
|
|
--irc-users-popout-background: #fff;
|
|
--irc-users-popout-border-color-left: #bbb;
|
|
--irc-users-popout-border-color-right: #ccc;
|
|
--code-line-number-color: #777;
|
|
--library-star-btn-background: #fff;
|
|
--library-star-btn-border-color: #999;
|
|
--library-star-btn-a-border-color: #aaa;
|
|
--library-star-btn-a-hover-background: #fafafa; }
|