summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-04-14 12:25:43 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2017-04-14 12:25:43 -0700
commit289f9e44292c3600996a5ed737728fc9a89dca68 (patch)
tree518dfb0d10980f26aeef92657cd50b556fed4447
parent8c81ae0363a045f864a9c185d7744074cd4807ec (diff)
downloadnasm-289f9e44292c3600996a5ed737728fc9a89dca68.tar.gz
nasmdoc.css: highlight the target of an #-link
It is much easier to spot if we get a nice highlight... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--doc/nasmdoc.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/nasmdoc.css b/doc/nasmdoc.css
index 4c828384..86ebcb60 100644
--- a/doc/nasmdoc.css
+++ b/doc/nasmdoc.css
@@ -77,6 +77,8 @@ ul.index {
:target {
margin-top: -10vh;
padding-top: 10vh;
+ background: #ff4; /* Highlight the jump target */
+ background-clip: content-box;
}
ul.navbar {