chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3fca90
)
webstead: visual distinction for input:checked:active too
author
Ben Harris
<bjh21@bjh21.me.uk>
Sun, 12 Oct 2025 00:07:55 +0000
(
01:07
+0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:42:18 +0000
(21:42 +0000)
It's a bit crude, but I think it helps.
webstead.xhtml
patch
|
blob
|
history
diff --git
a/webstead.xhtml
b/webstead.xhtml
index 03877f2f0d0683777f927c96c1ff068ad5160bc7..598b7dc442ba957eabc0753a9a4f691d0dcfdf8b 100644
(file)
--- a/
webstead.xhtml
+++ b/
webstead.xhtml
@@
-40,6
+40,12
@@
#pixels input:checked {
background: currentColor;
}
+ #pixels input:checked:active {
+ border: 0;
+ margin: 3px;
+ width: calc(var(--pix) - 6px);
+ height: calc(var(--pix) - 6px);
+ }
</style>
<!-- Script is async rather than deferred because Chromium can't
handle deferred scripts in XHTML.