From 4b26e0ab19cb40a0153d538fb7624add2b2781b4 Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Mon, 27 Apr 2026 13:06:26 -0700 Subject: markdown pages look MUCH better now - updated git copy of cgitrc that was already on the server - removed unnecessary meta tags --- var/www/cgit/cgit.css | 101 +++++++++++++++++++++++++++++++++++++++++++++++++ var/www/cgit/head.html | 2 - 2 files changed, 101 insertions(+), 2 deletions(-) (limited to 'var/www/cgit') 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; + } + } + } +} diff --git a/var/www/cgit/head.html b/var/www/cgit/head.html index 3f4672e..ef7680a 100644 --- a/var/www/cgit/head.html +++ b/var/www/cgit/head.html @@ -2,6 +2,4 @@ - - -- cgit v1.2.3