From 778f9192ef128dc3859570dbaeba50068ba4be5a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 3 Oct 2026 10:41:06 +0300 Subject: fix(cgit.css): Style non-markdown readme as markdown readme --- cgit.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgit.css') diff --git a/cgit.css b/cgit.css index e4ce962..dae8434 100644 --- a/cgit.css +++ b/cgit.css @@ -1243,7 +1243,7 @@ div#cgit table.ssdiff td.space div { min-height: 3em; } -.markdown-body:not(:empty) { +.markdown-body:not(:empty), div#readme > pre:not(:empty) { font-size: 16px !important; padding: 1.5em; box-sizing: border-box; @@ -1266,7 +1266,7 @@ div#cgit table.ssdiff td.space div { .markdown-body table tr { background-color: /*--gray-4*/#404040 !important; } -.markdown-body, table[summary="tree listing"] { +.markdown-body, div#readme > pre, table[summary="tree listing"] { max-width: 70rem; margin: 0 auto; } -- cgit v1.3.1-23-gd82d