From fdef5d4fb1211d315d1cd83791f29f4c0935511c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 13 Mar 2017 20:22:18 +0000 Subject: Port ctags-style, less(1) :t internal searching from terminal output to HTML output. For certain macros appearing at the beginning of .It heads, write HTML id="..." attributes such that deep linking works. Write HTML attributes such that you can easily copy out link targets with the mouse. Try: http://man.openbsd.org/vmctl.8#create Feature suggested by , some details of the design and implementation by me. --- mandoc.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mandoc.css') diff --git a/mandoc.css b/mandoc.css index bc4d9828..0dab6e88 100644 --- a/mandoc.css +++ b/mandoc.css @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.17 2017/02/05 21:00:43 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.18 2017/03/13 20:22:18 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -14,6 +14,11 @@ ul, ol, dl { margin-top: 0em; margin-bottom: 0em; } li, dt { margin-top: 1em; } +a.selflink { border-bottom: thin dotted; + color: inherit; + font: inherit; + text-decoration: inherit; } + /* Search form and search results. */ fieldset { border: thin solid silver; -- cgit v1.2.3-56-ge451