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
commit4340d2534111975fa563878dee9b3f03b995add5 (patch)
treecc95f8c746f2ad5690f416214b310b38d0436179 /bin
parentCopy cgit auxiliary binaries properly (diff)
downloadsrc-4340d2534111975fa563878dee9b3f03b995add5.tar.gz
src-4340d2534111975fa563878dee9b3f03b995add5.zip
Use :target rather than :focus pseudo-class
:target persists after you click on something else.
Diffstat (limited to 'bin')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 4021d1bc..2fc05a93 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");