From cd99253de289b28134b185803eb02b617b23ea81 Mon Sep 17 00:00:00 2001 From: vosjedev Date: Fri, 10 Oct 2025 19:34:29 +0200 Subject: ui-summary: add the readme to the summary page Add the readme to the summary page. Also add some css. Signed-off-by: vosjedev --- cgit.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cgit.css') diff --git a/cgit.css b/cgit.css index dab5977..d80bec1 100644 --- a/cgit.css +++ b/cgit.css @@ -258,6 +258,11 @@ div#cgit div#summary { margin-bottom: 1em; } +div#cgit div.embedded-readme { + margin-top: 1em; + +} + div#cgit table#downloads { float: right; border-collapse: collapse; @@ -962,3 +967,12 @@ div#cgit span.libravatar:hover > img.onhover { background-color: #eeeeee; box-shadow: 2px 2px 7px rgba(100,100,100,0.75); } + + +div#cgit div.embedded-readme { + border-top: solid 2px #ccc; + background-color: #eee; + padding: 1.5em; + margin-top: 2em; +} + -- cgit