ds-site/Resources/Public/Css/code-highlighting.css
Daniel Siepmann 6d10bdb4ef Migrate to plain css
In order to remove dependencies to ecosystem, bootstrap, yarn, etc.
2024-02-09 09:16:25 +01:00

51 lines
740 B
CSS

code {
background: var(--ds-black-dark);
color: var(--ds-white-dark);
padding-left: 0.5em;
padding-right: 0.5em;
white-space: pre-line;
}
pre code {
display: block;
overflow-x: auto;
padding: 0.5em;
white-space: pre;
color: var(--ds-white);
}
pre code .meta {
color: var(--ds-blue);
}
pre code .tag {
color: var(--ds-white);
}
pre code .tag .name {
color: var(--ds-blue);
}
pre code .attr {
color: var(--ds-blue);
}
pre code .string {
color: var(--ds-white-dark);
}
pre code .function {
color: var(--ds-white);
}
pre code .keyword {
color: var(--ds-green);
}
pre code .params {
color: var(--ds-blue);
}
pre code .comment {
color: var(--ds-white-dark);
}