From d6616be3cfb4f6b3b7cf61548154387a7ca3252c Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 13 Apr 2017 23:57:04 -0700 Subject: [PATCH] nasmdoc.css: format link better for our needs The way links are done in the NASM documentation it makes more sense not to underline them. Also inhibit coloring for printing. Signed-off-by: H. Peter Anvin --- doc/nasmdoc.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/nasmdoc.css b/doc/nasmdoc.css index a709c015..21f08d53 100644 --- a/doc/nasmdoc.css +++ b/doc/nasmdoc.css @@ -17,16 +17,37 @@ code { display: inline; white-space: nowrap; } +a { + text-decoration: none; +} @media not screen { ul.navbar { display: none; } } +@media print { + a { + color: inherit; + } +} @media screen { body { padding: 0; margin: 10px; } + a:link { + color: #33c; + } + a:visited { + color: #338; + } + a:hover { + background: #ccc; + } + a:active { + color: #f33; + background: #ccc; + } ul.navbar { display: block; position: sticky; -- 2.11.4.GIT