Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Slight changes to some hues
cgit.css | 35 ++++++++++++++++++++++++++++-------
diff --git a/cgit.css b/cgit.css index f7ad70d7fab8b65ef269e5da33d9b0deaf5e1e30..35b4b6b46c9794a0bd42392881f661e55134d17e 100644 --- a/cgit.css +++ b/cgit.css @@ -3,6 +3,7 @@ --font-size: 10pt; --bg: white; --text: black; + --bg-code: gray; --inactive-text: grey; --accent-color: blue; --hover-bg: #eee; @@ -24,9 +25,9 @@ --annotated-tag-deco: #ffcc88; --remote-deco: #ccccff; --deco: #ff8888; - --diff-add: green; - --diff-rem: red; - --diff-hunk: blue; + --diff-add: #2bb34b; + --diff-rem: #ff3e3e; + --diff-hunk: #17a2b8; --diff-add-bg: #cfc; --diff-add-bg-dark: #aca; --diff-rem-bg: #fcc; @@ -49,6 +50,7 @@ @media (prefers-color-scheme: dark) { :root { --bg: #212529; --text: #f8f9fa; + --bg-code: gray; --inactive-text: grey; --accent-color: green; --hover-bg: #444; @@ -70,9 +72,9 @@ --annotated-tag-deco: #860; --remote-deco: #008; --deco: #800; - --diff-add: green; - --diff-rem: red; - --diff-hunk: blue; + --diff-add: #2bb34b; + --diff-rem: #ff3e3e; + --diff-hunk: #17a2b8; --diff-add-bg: #363; --diff-add-bg-dark: #141; --diff-rem-bg: #a22; @@ -90,10 +92,29 @@ --vgraph-col6: #0aa; --stats-sum: #c00; } + + .markdown-body { + color: var(--text); + } + + .markdown-body h1, .markdown-body h2, .markdown-body h3 { + color: var(--text); + } + + .markdown-body code, .markdown-body tt { + border: none; + + } } -body{ +body { background: var(--bg); +} + + +.markdown-body code, .markdown-body tt { + border: none; + background-color: var(--bg-code); } div#cgit {