From: Cian Bagshaw Date: Sun, 28 Aug 2022 18:51:29 +0000 (+0100) Subject: Improved blob UI X-Git-Url: https://tests.cianb.xyz/?a=commitdiff_plain;h=HEAD;p=cgitWiz Improved blob UI Added style-agnostic, semi-alpha background to blob, including line numbers. Also, increased font-size, and expanded blob to full width. --- diff --git a/style.css b/style.css index 5a7865f..85c7362 100644 --- a/style.css +++ b/style.css @@ -165,8 +165,17 @@ div#cgit table.list a[href="/?s=owner"] { display: none; } * code blobs */ -/* code background */ -div#cgit .lines .highlight { background-color: inherit !important; } +/* blob */ +div#cgit table.blob { + width: 100%; + font-size: 14px; + background-color: rgba(100,100,100,0.3); +} + +/* blob text */ +div#cgit table.blob .lines .highlight { + background-color: inherit ; +} div#cgit table.list td.commitgraph { font-family: monospace;