commit fb078a486d94969819e5e82ac464143b37a4626c
parent 602d118261d70b209f1cfe875bc1b9800814f041
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Tue, 7 Jul 2026 18:56:57 +0000
Debug counters are styled out of the way
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/cgi.scm b/src/cgi.scm
@@ -40,11 +40,18 @@ pre { overflow: auto; }
.protected-post { background: #cfc; }
.detailed-post { margin: 1rex; padding: 0.5rex; }
form {
+ position: relative;
margin: 1rex 0;
display: grid;
gap: 0.5rex;
transition: all 0.5s ease-in;
}
+.sidenote {
+ position: absolute;
+ top: 1ex; right: 1ex;
+ margin: 0;
+ opacity: 0.6;
+}
.lsub { width: 4.5rem; height: 3rem; }
.rsub { width: 4.5rem; height: 3rem; }
input[type=url] { display: block; width: 100%; }
@@ -660,7 +667,8 @@ END-OF-CSS
(form (@ (method GET) (action "new") (id "load-new")
(hx-swap "outerHTML") (hx-post "x-new"))
,@(if (positive? (+ n-new n-upd n-del))
- `((p ,(if (positive? n-new) (conc "+" n-new) "")
+ `((p (@ (class sidenote))
+ ,(if (positive? n-new) (conc "+" n-new) "")
,(if (positive? n-upd) (conc "~" n-upd) "")
,(if (positive? n-del) (conc "−" n-del) "")))
'())