astro/docs/public/code.css

102 lines
1.6 KiB
CSS
Raw Normal View History

2021-07-15 18:13:35 +00:00
.language-css > code,
.language-sass > code,
.language-scss > code {
2021-07-20 04:07:49 +00:00
color: #fd9170;
2021-07-15 18:13:35 +00:00
}
2021-09-05 15:31:20 +00:00
.language-diff .token.prefix.deleted,
.language-diff .token.prefix.inserted {
user-select: none;
}
2021-07-20 04:07:49 +00:00
[class*='language-'] .namespace {
opacity: 0.7;
2021-07-15 18:13:35 +00:00
}
.token.plain-text,
2021-07-20 04:07:49 +00:00
[class*='language-bash'] span.token,
[class*='language-shell'] span.token {
color: hsla(var(--color-gray-90), 1);
2021-07-15 18:13:35 +00:00
}
2021-07-20 04:07:49 +00:00
[class*='language-bash'] span.token,
[class*='language-shell'] span.token {
font-style: bold;
2021-07-15 18:13:35 +00:00
}
.token.prolog,
.token.comment,
2021-07-20 04:07:49 +00:00
[class*='language-bash'] span.token.comment,
[class*='language-shell'] span.token.comment {
color: hsla(var(--color-gray-70), 1);
2021-07-15 18:13:35 +00:00
}
.token.selector,
.token.tag,
.token.unit,
.token.url,
.token.variable,
.token.entity,
2021-07-15 18:13:35 +00:00
.token.deleted {
2021-07-20 04:07:49 +00:00
color: #fa5e5b;
}
.token.boolean,
.token.constant,
.token.doctype,
.token.number,
.token.regex,
.token.builtin,
.token.class,
.token.hexcode,
.token.class-name,
.token.attr-name {
color: hsla(var(--color-yellow), 1);
2021-07-15 18:13:35 +00:00
}
.token.atrule,
.token.attribute,
.token.attr-value .token.punctuation,
.token.attr-value,
.token.pseudo-class,
.token.pseudo-element,
.token.string {
color: hsla(var(--color-green), 1);
2021-07-15 18:13:35 +00:00
}
.token.symbol,
.token.function,
.token.id,
2021-07-20 04:07:49 +00:00
.token.important {
color: hsla(var(--color-blue), 1);
}
.token.important,
.token.id {
font-weight: bold;
}
.token.cdata,
.token.char,
.token.property {
2021-07-20 04:07:49 +00:00
color: #23b1af;
2021-07-15 18:13:35 +00:00
}
.token.inserted {
color: hsla(var(--color-green), 1);
2021-07-15 18:13:35 +00:00
}
.token.keyword {
2021-07-20 04:07:49 +00:00
color: #ff657c;
font-style: italic;
2021-07-15 18:13:35 +00:00
}
.token.operator {
color: hsla(var(--color-gray-70), 1);
2021-07-15 18:13:35 +00:00
}
.token.attr-value .token.attr-equals,
2021-07-15 18:13:35 +00:00
.token.punctuation {
color: hsla(var(--color-gray-80), 1);
2021-07-15 18:13:35 +00:00
}