summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-18 23:06:08 -0500
committerJune McEnroe <june@causal.agency>2019-12-18 23:06:08 -0500
commit8995b0b12023247581522fd57d860fde8a7eefa6 (patch)
treef2ff80adcaafe2c191310cae1f24d90ddda14d83 /bin
parentCopy cgit auxiliary binaries properly (diff)
downloadsrc-8995b0b12023247581522fd57d860fde8a7eefa6.tar.gz
src-8995b0b12023247581522fd57d860fde8a7eefa6.zip
Use :target rather than :focus pseudo-class
:target persists after you click on something else.
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index de9111a6..42f34677 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -549,7 +549,7 @@ static void htmlHeader(const char *opts[]) {
 			printf(".hi.%s { %s }\n", ClassName[class], HTMLStyle[class]);
 		}
 		printf(
-			".hi.%s:focus { color: goldenrod; outline: none; }\n",
+			".hi.%s:target { color: goldenrod; outline: none; }\n",
 			ClassName[Tag]
 		);
 		printf("</style>\n");