about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-09-01 10:58:39 +0000
committerAlyssa Ross <hi@alyssa.is>2022-09-01 11:01:45 +0000
commite3d1ee6d91a2f9b05d1be1546163d0382829ed02 (patch)
treee9663f4f176944144d5c65825b7837b792ed18a4
parent28d8f4df1ae7dfe4397e4ba2e95ada7f7290db9a (diff)
downloadwww-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.tar
www-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.tar.gz
www-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.tar.bz2
www-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.tar.lz
www-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.tar.xz
www-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.tar.zst
www-e3d1ee6d91a2f9b05d1be1546163d0382829ed02.zip
style.css: highlight targets
On pages like participating.html, it was unclear what was happening
when somebody clicked on a link that went to a section near the bottom
of the page — the page would jump down, but it wasn't obvious what
part in particular they were supposed to be looking at.

So let's highlight them to make it really obvious.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
-rw-r--r--style.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/style.css b/style.css
index e9fd751..f4d4c4e 100644
--- a/style.css
+++ b/style.css
@@ -1,4 +1,5 @@
 /* SPDX-FileCopyrightText: 2019 Alyssa Ross <hi@alyssa.is> */
+/* SPDX-FileCopyrightText: 2022 Unikie */
 /* SPDX-License-Identifier: GPL-3.0-or-later */
 
 /*
@@ -20,3 +21,7 @@ h1, h2, h3, h4 {
 var {
 	font-family: serif;
 }
+
+:target {
+    background: yellow;
+}