summaryrefslogtreecommitdiffstatshomepage
path: root/example.style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:44:56 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:44:56 +0000
commit66128bd2b82f1fc879b3184cfcc13dbad7f6acbe (patch)
tree54dbba3e20d1a4149d4e91199e3f03ca3d2c5e02 /example.style.css
parent45125ba202b3ffc9d0c79af5dd63dce1fabcc6bb (diff)
downloadmandoc-66128bd2b82f1fc879b3184cfcc13dbad7f6acbe.tar.gz
mandoc-66128bd2b82f1fc879b3184cfcc13dbad7f6acbe.tar.zst
mandoc-66128bd2b82f1fc879b3184cfcc13dbad7f6acbe.zip
Fixed body/divbody structure of html pages.
Added example style.css (example.style.css). Enabled using -Thtml to generate manuals in Makefile. Stopped making text manuals for webpage.
Diffstat (limited to 'example.style.css')
-rw-r--r--example.style.css40
1 files changed, 40 insertions, 0 deletions
diff --git a/example.style.css b/example.style.css
new file mode 100644
index 00000000..ceb5cc74
--- /dev/null
+++ b/example.style.css
@@ -0,0 +1,40 @@
+div.body { } /* Wraps entire body file. */
+
+span.sec-head { font-weight: bold; } /* Sections (Sh). */
+div.sec-head { }
+div.sec-body { }
+div.sec-block { }
+
+span.ssec-head { font-weight: bold; } /* Sub-sections (Ss). */
+div.ssec-head { }
+div.ssec-body { }
+div.ssec-block { }
+
+span.addr { text-decoration: underline; } /* Address (Ad). */
+span.arg { font-style: italic; } /* Command argument (Ar). */
+span.author { } /* Author name (An). */
+span.config { font-weight: bold; } /* Config statement (Cd). */
+span.define { } /* Defines (Dv). */
+span.desc { } /* Nd. After em-dash. */
+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 { font-style: underline; } /* Function argument (Fa, Fn). */
+span.file { font-style: italic; } /* File (Pa). */
+span.flag { font-weight: bold; } /* Flag (Fl, Cm). */
+span.macro { } /* Macro-ish thing (Fd). */
+span.name { font-weight: bold; } /* Name of utility (Nm). */
+span.opt { } /* Options (Op, Oo/Oc). */
+span.type { font-weight: italic; } /* Variable types (Vt, Ft, Fn). */
+span.unix { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
+span.utility { font-weight: bold; } /* Name of utility (Ex). */
+
+a.link-man { } /* Manual links (Xr). */
+a.link-sec { } /* Section links (Sx). */
+
+div.lit-block { font-family: monospace; } /* Literal block (D1, Bd -literal, Dl). */
+
+table.header { } /* Document header. */
+table.footer { } /* Document footer. */
+