summaryrefslogtreecommitdiff
path: root/vrsite/assets/style.css.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'vrsite/assets/style.css.tmpl')
-rw-r--r--vrsite/assets/style.css.tmpl7
1 files changed, 7 insertions, 0 deletions
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