/* Stylesheet for `szh` output.
 *
 * `szh` only emits `<span class="...">` markers (kw/c/s/n/o) inside
 * `<div class="markup szh">`; Forgejo does not style them on its own.
 * Install this alongside the RENDER_COMMAND config documented in
 * `src/main.rs`, e.g. by copying it to
 * `custom/public/assets/css/szh.css` and linking it from
 * `custom/head.tmpl`:
 *
 *   <link rel="stylesheet" href="/assets/css/szh.css">
 */

.markup.szh {
    color: #383a42;
    background: #fafafa;
}

.markup.szh .kw { color: #a626a4; font-weight: 600; }
.markup.szh .c  { color: #a0a1a7; font-style: italic; }
.markup.szh .s  { color: #50a14f; }
.markup.szh .n  { color: #986801; }
.markup.szh .o  { color: #0184bc; }

@media (prefers-color-scheme: dark) {
    .markup.szh {
        color: #abb2bf;
        background: #282c34;
    }

    .markup.szh .kw { color: #c678dd; }
    .markup.szh .c  { color: #7f848e; }
    .markup.szh .s  { color: #98c379; }
    .markup.szh .n  { color: #d19a66; }
    .markup.szh .o  { color: #56b6c2; }
}
