From a9263daee9413c5eff3c1f1bebcd224442fd8685 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 2 Aug 2026 17:38:06 -0300 Subject: vrsite: toggle repository file list --- vrsite/assets/style.css.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vrsite/assets/style.css.tmpl') diff --git a/vrsite/assets/style.css.tmpl b/vrsite/assets/style.css.tmpl index 60d2a2b..5ea2a40 100644 --- a/vrsite/assets/style.css.tmpl +++ b/vrsite/assets/style.css.tmpl @@ -73,6 +73,13 @@ nav > header { } nav > header a { color: var(--fg); } nav .brand { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +#filetoggle { + display: block; margin: 0 0 6px auto; + background: none; color: var(--muted); border: 0; + font: inherit; font-size: 11px; padding: 1px 3px; cursor: pointer; +} +#filetoggle:hover { color: var(--fg); } +:root[data-files="hidden"] #filelist { display: none; } /* ── the current change ──────────────────────────────────────── Everything on screen is read at one change: the tree, the code, the -- cgit v1.3