diff options
author | June McEnroe <june@causal.agency> | 2019-12-18 23:06:08 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-18 23:06:08 -0500 |
commit | 8995b0b12023247581522fd57d860fde8a7eefa6 (patch) | |
tree | f2ff80adcaafe2c191310cae1f24d90ddda14d83 | |
parent | Copy cgit auxiliary binaries properly (diff) | |
download | src-8995b0b12023247581522fd57d860fde8a7eefa6.tar.gz src-8995b0b12023247581522fd57d860fde8a7eefa6.zip |
Use :target rather than :focus pseudo-class
:target persists after you click on something else.
-rw-r--r-- | bin/hi.c | 2 |
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"); |