Merge branch 'vendor/TEXINFO'
[dragonfly.git] / contrib / mdocml / style.css
1 /* $Id: style.css,v 1.21 2011/02/09 09:52:47 kristaps Exp $ */
2
3 html            { max-width: 800px; }
4 body            { color: #333333;
5                   font-size: 0.93em;
6                   font-family: Times, serif; }
7
8 /* Preamble structure. */
9
10 table.foot      { width: 100%; 
11                   font-size: 0.8em;
12                   margin-top: 1em;
13                   border-top: 1px dotted #dddddd; 
14                   color: #999999; } /* Document footer. */
15 td.foot-date    { width: 50%; } /* Document footer: date. */
16 td.foot-os      { width: 50%; text-align: right; } /* Document footer: OS/source. */
17 table.head      { width: 100%; 
18                   font-size: 0.8em;
19                   margin-bottom: 1em;
20                   border-bottom: 1px dotted #dddddd; 
21                   color: #999999; } /* Document header. */
22 td.head-ltitle  { width: 10%; } /* Document header: left-title. */
23 td.head-vol     { width: 80%; text-align: center; } /* Document header: volume. */
24 td.head-rtitle  { width: 10%; text-align: right; } /* Document header: right-title. */
25
26 /* Sections. */
27
28 h1              { margin-bottom: 0px; color: #000000; font-size: 0.93em; margin-left: -4ex; } /* Section header (Sh, SH). */
29 h2              { margin-bottom: 0px; color: #000000; font-size: 0.93em; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
30 div.section     { margin-bottom: 2ex; margin-left: 4ex; } /* Sections (Sh, SH). */
31 div.subsection  { } /* Sub-sections (Ss, SS). */
32 table.synopsis  { } /* SYNOPSIS section table. */
33
34 /* Vertical spacing. */
35
36 p               { } /* Paragraph: Pp, Lp. */
37 blockquote      { margin-top: 0px; margin-bottom: 0px; }
38 table           { margin-top: 0px; margin-bottom: 0px; }
39 td              { vertical-align: top; } /* SYNOPSIS section table. */
40
41 /* General font modes. */
42
43 .emph           { font-style: italic; font-weight: normal; } /* Emphasis: Em, Bl -emphasis. */
44 .symb           { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
45
46 /* Block modes. */
47
48 .display        { background-color: #EEEEEE; 
49                   margin: 3px;
50                   padding: 3px;
51                   border: 1px solid #339999; } /* Top of all Bd, D1, Dl. */
52 .list           { } /* Top of all Bl. */
53
54 /* Context-specific modes. */
55
56 i.addr          { font-weight: normal; } /* Address (Ad). */
57 i.arg           { font-weight: normal; } /* Command argument (Ar). */
58 span.author     { } /* Author name (An). */
59 b.cmd           { font-style: normal; } /* Command (Cm). */ 
60 b.config        { font-style: normal; } /* Config statement (Cd). */
61 span.define     { } /* Defines (Dv). */
62 span.desc       { } /* Nd.  After em-dash. */
63 b.diag          { font-style: normal; } /* Diagnostic (Bl -diag). */
64 span.env        { } /* Environment variables (Ev). */
65 span.errno      { } /* Error string (Er). */
66 i.farg          { font-weight: normal; } /* Function argument (Fa, Fn). */
67 i.file          { font-weight: normal; } /* File (Pa). */
68 b.flag          { font-style: normal; } /* Flag (Fl, Cm). */
69 b.fname         { font-style: normal; } /* Function name (Fa, Fn, Rv). */
70 i.ftype         { font-weight: normal; } /* Function types (Ft, Fn). */
71 b.includes      { font-style: normal; } /* Header includes (In). */
72 span.lib        { } /* Library (Lb). */
73 i.link-sec      { font-weight: normal; } /* Section links (Sx). */
74 code.lit        { font-style: normal; font-weight: normal; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
75 b.macro         { font-style: normal; } /* Macro-ish thing (Fd). */
76 b.name          { color: blue; font-style: normal; } /* Name of utility (Nm). */
77 span.opt        { } /* Options (Op, Oo/Oc). */
78 span.ref        { } /* Citations (Rs). */
79 span.ref-auth   { } /* Reference author (%A). */
80 i.ref-book      { font-weight: normal; } /* Reference book (%B). */
81 span.ref-city   { } /* Reference city (%C). */
82 span.ref-date   { } /* Reference date (%D). */
83 i.ref-issue     { font-weight: normal; } /* Reference issuer/publisher (%I). */
84 i.ref-jrnl      { font-weight: normal; } /* Reference journal (%J). */
85 span.ref-num    { } /* Reference number (%N). */
86 span.ref-opt    { } /* Reference optionals (%O). */
87 span.ref-page   { } /* Reference page (%P). */
88 span.ref-corp   { } /* Reference corporate/foreign author (%Q). */
89 span.ref-rep    { } /* Reference report (%R). */
90 span.ref-title  { text-decoration: underline; } /* Reference title (%T). */
91 span.ref-vol    { } /* Reference volume (%V). */
92 span.type       { font-style: italic; font-weight: normal; } /* Variable types (Vt). */
93 span.unix       { } /* Unices (Ux, Ox, Nx, Fx, Bx, Bsx, Dx). */
94 b.utility       { font-style: normal; } /* Name of utility (Ex). */
95 b.var           { font-style: normal; } /* Variables (Rv). */
96
97 a.link-ext      { background: transparent url(external.png) center right no-repeat; padding-right: 12px; }/* Off-site link (Lk). */
98 a.link-includes { } /* Include-file link (In). */
99 a.link-mail     { background: transparent url(external.png) center right no-repeat; padding-right: 12px; }/* Mailto links (Mt). */
100 a.link-man      { } /* Manual links (Xr). */
101 a.link-ref      { } /* Reference section links (%Q). */
102 a.link-sec      { text-decoration: none; border-bottom: 1px dotted #339999; } /* Section links (Sx). */
103
104 /* Formatting for lists. */
105
106 dl.list-diag    { }
107 dt.list-diag    { }
108 dd.list-diag    { }
109
110 dl.list-hang    { }
111 dt.list-hang    { }
112 dd.list-hang    { }
113
114 dl.list-inset   { }
115 dt.list-inset   { }
116 dd.list-inset   { }
117
118 dl.list-ohang   { }
119 dt.list-ohang   { }
120 dd.list-ohang   { margin-left: 0em; }
121
122 dl.list-tag     { }
123 dt.list-tag     { }
124 dd.list-tag     { }
125
126 table.list-col  { }
127 tr.list-col     { }
128 td.list-col     { }
129
130 ul.list-bul     { list-style-type: disc; padding-left: 1em; }
131 li.list-bul     { }
132
133 ul.list-dash    { list-style-type: none; padding-left: 0em; }
134 li.list-dash:before { content: "\2014  "; }
135
136 ul.list-hyph    { list-style-type: none; padding-left: 0em; }
137 li.list-hyph:before { content: "\2013  "; }
138
139 ul.list-item    { list-style-type: none; padding-left: 0em; }
140 li.list-item    { }
141
142 ol.list-enum    { padding-left: 2em; }
143 li.list-enum    { }
144
145 /* Equation modes.  See eqn(7). */
146
147 span.eqn        { }
148
149 /* Table modes.  See tbl(7). */
150
151 table.tbl       { }