diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2017-04-13 23:57:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2017-04-14 00:02:43 -0700 |
commit | d6616be3cfb4f6b3b7cf61548154387a7ca3252c (patch) | |
tree | a5bb9d2f5fd8cb1cb87f6e268fbbb6ef612fee29 /doc/nasmdoc.css | |
parent | 30aa2ec5f7cc6d3b568363a655aeadaa51445d33 (diff) | |
download | nasm-d6616be3cfb4f6b3b7cf61548154387a7ca3252c.tar.gz |
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 <hpa@linux.intel.com>
Diffstat (limited to 'doc/nasmdoc.css')
-rw-r--r-- | doc/nasmdoc.css | 21 |
1 files changed, 21 insertions, 0 deletions
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; |