From 2cbafc754d5e14811c808f65ce9e60b4d4bf7df5 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 19 Jul 2026 15:54:22 -1000 Subject: Add a help page with common workflows --- assets/cgit.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'assets/cgit.css') diff --git a/assets/cgit.css b/assets/cgit.css index f441faa..b55f002 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -604,6 +604,33 @@ div#cgit .markdown td { div#cgit .markdown th { background: var(--surface-2); } +/* ---- Help page -------------------------------------------------------- */ + +div#cgit div.help { + max-width: 52em; + line-height: 1.6; +} + +div#cgit div.help h2 { + font-size: 125%; + font-weight: bold; + margin: 1.3em 0 0.4em; +} + +div#cgit div.help p { + margin: 0.5em 0; +} + +div#cgit div.help pre.urls { + background: var(--surface-2); + border: 1px solid var(--border); + border-radius: 4px; + padding: 0.6em 0.9em; + font-family: var(--font-mono); + font-size: 90%; + overflow-x: auto; +} + div#cgit table#downloads { float: right; border-collapse: collapse; -- cgit v2.8.0