aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-13 20:22:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-13 20:22:18 +0000
commitfdef5d4fb1211d315d1cd83791f29f4c0935511c (patch)
treebfdecb39fd4ecffb0275412e1af1575aa4d4f1e6 /mandoc.css
parentaf8e9b53dadd9b8aec07d9fb7e442246b097e182 (diff)
downloadmandoc-fdef5d4fb1211d315d1cd83791f29f4c0935511c.tar.gz
mandoc-fdef5d4fb1211d315d1cd83791f29f4c0935511c.tar.zst
mandoc-fdef5d4fb1211d315d1cd83791f29f4c0935511c.zip
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 <a> attributes such that you can easily copy out link targets with the mouse. Try: http://man.openbsd.org/vmctl.8#create Feature suggested by <guettliml at Thomas dash Guettler dot de>, some details of the design and implementation by me.
Diffstat (limited to 'mandoc.css')
-rw-r--r--mandoc.css7
1 files changed, 6 insertions, 1 deletions
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;