diff options
Diffstat (limited to '')
| -rw-r--r-- | var/www/cgit/cgit.css | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/var/www/cgit/cgit.css b/var/www/cgit/cgit.css index a058e34..b76890c 100644 --- a/var/www/cgit/cgit.css +++ b/var/www/cgit/cgit.css @@ -1236,3 +1236,104 @@ div#cgit td.ls-mode, div#cgit td.ls-size { font-family: var(--monospace); } + +div#cgit { + .markdown-body { + color: var(--uchu-yin-9); + font-size: inherit; + + h1, h2, h3, h4, h5, h6 { + color: inherit; + + a { + text-decoration: none; + } + } + + h1 { + font-size: 4rem; + } + + h2 { + border-bottom: 1px solid var(--uchu-gray-1); + font-size: 2.75rem; + } + + h3 { + font-size: 2rem; + } + + a { + color: inherit !important; + text-decoration-color: var(--uchu-blue-1); + + code, + tt { + background-color: var(--uchu-blue-1); + } + } + + code, + tt { + margin: 0; padding: 0.2rem 0.5rem; + + background-color: var(--uchu-yellow-1); + border: none; + border-radius: 0; + } + + .highlight pre, + pre { + background-color: oklch(var(--uchu-gray-1-raw) / 50%); + border: 1px solid var(--uchu-gray-1); + border-radius: 0; + font-size: 1.25rem; + line-height: 1.33; + + code, + tt { + margin: 0; padding: 0; + background-color: transparent; + } + } + + .highlight { + .err, + .gu, + .k, .kd, .kn, .kr, + .m, .mf, + .nf, .nl, .nn, .nt, .nv, + .ow, + .si { + background-color: transparent; + color: inherit; + font-style: inherit; + font-weight: inherit; + } + + .c { + color: var(--uchu-gray-5); + } + + .c1, .cm { + background-color: var(--uchu-yellow-1); + color: var(--uchu-yellow-9); + } + + .kc, .kt, + .mi, + .nb { + color: var(--uchu-purple-4); + font-weight: inherit; + } + + .l, + .no, + .s1, .s2, .sb { + background-color: var(--uchu-green-1); + color: var(--uchu-green-9); + font-weight: inherit; + } + } + } +} |