0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/docs/public/code.css

97 lines
1.5 KiB
CSS
Raw Normal View History

2021-07-15 13:13:35 -05:00
.language-css > code,
.language-sass > code,
.language-scss > code {
2021-07-19 23:07:49 -05:00
color: #fd9170;
2021-07-15 13:13:35 -05:00
}
2021-07-19 23:07:49 -05:00
[class*='language-'] .namespace {
opacity: 0.7;
2021-07-15 13:13:35 -05:00
}
.token.plain-text,
2021-07-19 23:07:49 -05:00
[class*='language-bash'] span.token,
[class*='language-shell'] span.token {
color: hsla(var(--color-gray-90), 1);
2021-07-15 13:13:35 -05:00
}
2021-07-19 23:07:49 -05:00
[class*='language-bash'] span.token,
[class*='language-shell'] span.token {
font-style: bold;
2021-07-15 13:13:35 -05:00
}
.token.prolog,
.token.comment,
2021-07-19 23:07:49 -05:00
[class*='language-bash'] span.token.comment,
[class*='language-shell'] span.token.comment {
color: hsla(var(--color-gray-70), 1);
2021-07-15 13:13:35 -05:00
}
.token.selector,
.token.tag,
.token.unit,
.token.url,
.token.variable,
.token.entity,
2021-07-15 13:13:35 -05:00
.token.deleted {
2021-07-19 23:07:49 -05: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 13:13:35 -05: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 13:13:35 -05:00
}
.token.symbol,
.token.function,
.token.id,
2021-07-19 23:07:49 -05:00
.token.important {
color: hsla(var(--color-blue), 1);
}
.token.important,
.token.id {
font-weight: bold;
}
.token.cdata,
.token.char,
.token.property {
2021-07-19 23:07:49 -05:00
color: #23b1af;
2021-07-15 13:13:35 -05:00
}
.token.inserted {
color: hsla(var(--color-green), 1);
2021-07-15 13:13:35 -05:00
}
.token.keyword {
2021-07-19 23:07:49 -05:00
color: #ff657c;
font-style: italic;
2021-07-15 13:13:35 -05:00
}
.token.operator {
color: hsla(var(--color-gray-70), 1);
2021-07-15 13:13:35 -05:00
}
.token.attr-value .token.attr-equals,
2021-07-15 13:13:35 -05:00
.token.punctuation {
color: hsla(var(--color-gray-80), 1);
2021-07-15 13:13:35 -05:00
}