summaryrefslogtreecommitdiffstats
path: root/example.style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 11:05:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 11:05:45 +0000
commitf31eee34a29f6fcdb8fe0640095473ede5982887 (patch)
treeef337ebfd5c2ab6b14b93f3079461f874210a89c /example.style.css
parent7781128d46665331fdbd9893a256257e88eaf96d (diff)
downloadmandoc-f31eee34a29f6fcdb8fe0640095473ede5982887.tar.gz
Sync'd example style-sheet to be more like OpenBSD's default (KISS).
-Thtml and -Tascii now have equivalent functionality.
Diffstat (limited to 'example.style.css')
-rw-r--r--example.style.css13
1 files changed, 7 insertions, 6 deletions
diff --git a/example.style.css b/example.style.css
index 9a4da78d..03e4360c 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,4 +1,4 @@
-div.body { } /* Wraps entire body file. */
+div.body { font-family: monospace; min-width: 580px; width: 580px; } /* Top-most div tag. */
span.sec-head { font-weight: bold; } /* Sections (Sh). */
div.sec-head { }
@@ -10,7 +10,7 @@ div.ssec-head { }
div.ssec-body { }
div.ssec-block { }
-span.addr { text-decoration: underline; } /* Address (Ad). */
+span.addr { } /* Address (Ad). */
span.arg { font-style: italic; } /* Command argument (Ar). */
span.author { } /* Author name (An). */
span.cmd { font-weight: bold; } /* Command (Cm). */
@@ -21,13 +21,14 @@ span.diag { font-weight: bold; } /* Diagnostic (Bl -diag). */
span.emph { font-style: italic; } /* Emphasis (Em). */
span.env { } /* Environment variables (Ev). */
span.errno { } /* Error string (Er). */
-span.farg { text-decoration: underline; } /* Function argument (Fa, Fn). */
-span.fname { text-decoration: underline; } /* Function name (Fa, Fn, Rv). */
+span.farg { font-style: italic; } /* Function argument (Fa, Fn). */
+span.fname { font-style: italic; } /* Function name (Fa, Fn, Rv). */
span.file { font-style: italic; } /* File (Pa). */
span.flag { font-weight: bold; } /* Flag (Fl, Cm). */
span.includes { font-weight: bold; } /* Header includes (In). */
+span.lib { } /* Library (Lb). */
span.lit { font-family: monospace; } /* Literals (Bf -literal). */
-span.macro { } /* Macro-ish thing (Fd). */
+span.macro { font-weight: bold; } /* Macro-ish thing (Fd). */
span.name { font-weight: bold; } /* Name of utility (Nm). */
span.opt { } /* Options (Op, Oo/Oc). */
span.symb { font-weight: bold; } /* Symbols. */
@@ -41,7 +42,7 @@ a.link-sec { } /* Section links (Sx). */
a.link-mail { } /* Mailto links (Mt). */
a.link-ext { } /* Off-site link (Lk). */
-div.lit { font-family: monospace; } /* Literal (D1, Bd -literal, Dl, Bd -literal). */
+div.lit { } /* Literal (D1, Bd -literal, Dl, Bd -literal). */
div.emph { font-style: italic; } /* Emphasis (Bl -emphasis). */
div.symb { font-weight: bold; } /* Symbols (Bl -symbolic). */