aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-05 20:22:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-05 20:22:04 +0000
commit790521c2b6aef2996ee67bd9fdcb7a3d5614261b (patch)
treef6d7cfe604a44583747e762fcd5c2c16a6f7036e /mandoc.css
parent1d9fac28586a81fe21fe0b8d00ffed21e2277ca6 (diff)
downloadmandoc-790521c2b6aef2996ee67bd9fdcb7a3d5614261b.tar.gz
mandoc-790521c2b6aef2996ee67bd9fdcb7a3d5614261b.tar.zst
mandoc-790521c2b6aef2996ee67bd9fdcb7a3d5614261b.zip
mark up .Ar, .Fa, .Va, .Ft, and .Vt with <var> rather than <i>;
suggested by bentley@ long ago, but needed lots of cleanup first
Diffstat (limited to 'mandoc.css')
-rw-r--r--mandoc.css17
1 files changed, 11 insertions, 6 deletions
diff --git a/mandoc.css b/mandoc.css
index 7ea4d975..0e5f04dd 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.15 2017/02/05 19:29:19 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.16 2017/02/05 20:22:04 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*/
@@ -134,7 +134,8 @@ table.Nm { }
b.Nm { font-style: normal; }
b.Fl { font-style: normal; }
b.Cm { font-style: normal; }
-i.Ar { font-weight: normal; }
+var.Ar { font-style: italic;
+ font-weight: normal; }
span.Op { }
b.Ic { font-style: normal; }
code.Ev { font-style: normal;
@@ -148,11 +149,15 @@ span.Lb { }
b.In { font-style: normal; }
a.In { }
b.Fd { font-style: normal; }
-i.Ft { font-weight: normal; }
+var.Ft { font-style: italic;
+ font-weight: normal; }
b.Fn { font-style: normal; }
-i.Fa { font-weight: normal; }
-i.Vt { font-weight: normal; }
-i.Va { font-weight: normal; }
+var.Fa { font-style: italic;
+ font-weight: normal; }
+var.Vt { font-style: italic;
+ font-weight: normal; }
+var.Va { font-style: italic;
+ font-weight: normal; }
code.Dv { font-style: normal;
font-weight: normal;
font-family: monospace; }