]>
git.cameronkatri.com Git - mandoc.git/blob - example.style.css
1 /* $Id: example.style.css,v 1.39 2010/12/24 00:46:49 kristaps Exp $ */
4 * This default style-sheet mimics the appearance of the traditional
8 html
{ min-width: 580px; width: 580px; }
9 body
{ font-family: monospace
; }
11 /* Preamble structure. */
13 table
.foot
{ width: 100%; } /* Document footer. */
14 td
.foot-date
{ width: 50%; } /* Document footer: date. */
15 td
.foot-os
{ width: 50%; text-align: right
; } /* Document footer: OS/source. */
16 table
.head
{ width: 100%; } /* Document header. */
17 td
.head-ltitle
{ width: 10%; } /* Document header: left-title. */
18 td
.head-vol
{ width: 80%; text-align: center
; } /* Document header: volume. */
19 td
.head-rtitle
{ width: 10%; text-align: right
; } /* Document header: right-title. */
23 h1
{ margin-bottom: 0px; font-size: medium
; margin-left: -4ex; } /* Section header (Sh, SH). */
24 h2
{ margin-bottom: 0px; font-size: medium
; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
25 div
.section
{ margin-bottom: 2ex; margin-left: 4ex; } /* Sections (Sh, SH). */
26 div
.subsection
{ } /* Sub-sections (Ss, SS). */
27 table
.synopsis
{ } /* SYNOPSIS section table. */
29 /* Vertical spacing. */
31 p
{ } /* Paragraph: Pp, Lp. */
32 blockquote
{ margin-top: 0px; margin-bottom: 0px; }
33 table
{ margin-top: 0px; margin-bottom: 0px; }
34 td
{ vertical-align: top
; }
36 /* General font modes. */
38 i
{ } /* Italic: BI, IB, I, (implicit). */
39 .emph { font-style: italic
; font-weight: normal
; } /* Emphasis: Em, Bl -emphasis. */
40 b
{ } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
41 .symb { font-style: normal
; font-weight: bold
; } /* Symbolic: Sy, Ms, Bf -symbolic. */
42 small
{ } /* Small: SB, SM. */
46 .display { } /* Top of all Bd, D1, Dl. */
47 .list { } /* Top of all Bl. */
49 /* Context-specific modes. */
51 i
.addr
{ font-weight: normal
; } /* Address (Ad). */
52 i
.arg
{ font-weight: normal
; } /* Command argument (Ar). */
53 span
.author
{ } /* Author name (An). */
54 b
.cmd
{ font-style: normal
; } /* Command (Cm). */
55 b
.config
{ font-style: normal
; } /* Config statement (Cd). */
56 span
.define
{ } /* Defines (Dv). */
57 span
.desc
{ } /* Nd. After em-dash. */
58 b
.diag
{ font-style: normal
; } /* Diagnostic (Bl -diag). */
59 span
.env
{ } /* Environment variables (Ev). */
60 span
.errno
{ } /* Error string (Er). */
61 i
.farg
{ font-weight: normal
; } /* Function argument (Fa, Fn). */
62 i
.file
{ font-weight: normal
; } /* File (Pa). */
63 b
.flag
{ font-style: normal
; } /* Flag (Fl, Cm). */
64 b
.fname
{ font-style: normal
; } /* Function name (Fa, Fn, Rv). */
65 i
.ftype
{ font-weight: normal
; } /* Function types (Ft, Fn). */
66 b
.includes
{ font-style: normal
; } /* Header includes (In). */
67 span
.lib
{ } /* Library (Lb). */
68 i
.link-sec
{ font-weight: normal
; } /* Section links (Sx). */
69 code
.lit
{ font-style: normal
; font-weight: normal
; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
70 b
.macro
{ font-style: normal
; } /* Macro-ish thing (Fd). */
71 b
.name
{ font-style: normal
; } /* Name of utility (Nm). */
72 span
.opt
{ } /* Options (Op, Oo/Oc). */
73 span
.ref
{ } /* Citations (Rs). */
74 span
.ref-auth
{ } /* Reference author (%A). */
75 i
.ref-book
{ font-weight: normal
; } /* Reference book (%B). */
76 span
.ref-city
{ } /* Reference city (%C). */
77 span
.ref-date
{ } /* Reference date (%D). */
78 i
.ref-issue
{ font-weight: normal
; } /* Reference issuer/publisher (%I). */
79 i
.ref-jrnl
{ font-weight: normal
; } /* Reference journal (%J). */
80 span
.ref-num
{ } /* Reference number (%N). */
81 span
.ref-opt
{ } /* Reference optionals (%O). */
82 span
.ref-page
{ } /* Reference page (%P). */
83 span
.ref-corp
{ } /* Reference corporate/foreign author (%Q). */
84 span
.ref-rep
{ } /* Reference report (%R). */
85 u
.ref-title
{ } /* Reference title (%T). */
86 span
.ref-vol
{ } /* Reference volume (%V). */
87 span
.type
{ font-style: italic
; font-weight: normal
; } /* Variable types (Vt). */
88 span
.unix
{ } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
89 b
.utility
{ font-style: normal
; } /* Name of utility (Ex). */
90 b
.var
{ font-style: normal
; } /* Variables (Rv). */
92 a
.link-ext
{ } /* Off-site link (Lk). */
93 a
.link-includes
{ } /* Include-file link (In). */
94 a
.link-mail
{ } /* Mailto links (Mt). */
95 a
.link-man
{ } /* Manual links (Xr). */
96 a
.link-ref
{ } /* Reference section links (%Q). */
97 a
.link-sec
{ } /* Section links (Sx). */
99 /* Formatting for lists. */
115 dd
.list-ohang
{ margin-left: 0em; }
125 ul
.list-bul
{ list-style-type: disc
; padding-left: 1em; }
128 ul
.list-dash
{ list-style-type: none
; padding-left: 0em; }
129 li
.list-dash:before
{ content: "\2014 "; }
131 ul
.list-hyph
{ list-style-type: none
; padding-left: 0em; }
132 li
.list-hyph:before
{ content: "\2013 "; }
134 ul
.list-item
{ list-style-type: none
; padding-left: 0em; }
137 ol
.list-enum
{ padding-left: 2em; }