summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-21 19:00:33 +0200
committerSyndamia <kamen@syndamia.com>2026-03-21 19:01:16 +0200
commite07ba41167100d54cfe91bd11dbf9a53aa700c32 (patch)
tree25f507bf50cfe35d282b0c3fd5cff08e81162cce
parente71693a6c54e37fd9f4e328c1bb4af2d5381df00 (diff)
downloadcgit_theme-e07ba41167100d54cfe91bd11dbf9a53aa700c32.tar
cgit_theme-e07ba41167100d54cfe91bd11dbf9a53aa700c32.tar.gz
cgit_theme-e07ba41167100d54cfe91bd11dbf9a53aa700c32.zip
fix(cgit.css): Improve markdown styling
-rw-r--r--cgit.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 1e30048..c1eda4c 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1213,6 +1213,22 @@ div#cgit table.ssdiff td.space div {
min-height: 3em;
}
+.markdown-body h1, .markdown-body h1 a,
+.markdown-body h2, .markdown-body h2 a,
+.markdown-body h3, .markdown-body h3 a,
+.markdown-body h4, .markdown-body h4 a,
+.markdown-body h5, .markdown-body h5 a,
+.markdown-body h6, .markdown-body h6 a {
+ color: white !important;
+}
+.markdown-body code,
+.markdown-body pre {
+ background-color: /*--gray-3*/#303030 !important;
+}
+.markdown-body table tr {
+ background-color: /*--gray-4*/#404040 !important;
+}
+
/* syndamia.com highlighting style (desaturated gruvbox) 21.03.2026 */
td.lines { color:#ffeede; }