]> git.cameronkatri.com Git - mandoc.git/blob - mandoc.css
7ea4d9752ff780094939631aaf463c21421cbd4d
[mandoc.git] / mandoc.css
1 /* $Id: mandoc.css,v 1.15 2017/02/05 19:29:19 schwarze Exp $ */
2 /*
3 * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
4 */
5
6 /* Global defaults. */
7
8 html { max-width: 100ex; }
9 body { font-family: Helvetica,Arial,sans-serif; }
10 table { margin-top: 0em;
11 margin-bottom: 0em; }
12 td { vertical-align: top; }
13 ul, ol, dl { margin-top: 0em;
14 margin-bottom: 0em; }
15 li, dt { margin-top: 1em; }
16
17 /* Search form and search results. */
18
19 fieldset { border: thin solid silver;
20 border-radius: 1em;
21 text-align: center; }
22 input[name=expr] {
23 width: 25%; }
24
25 table.results { margin-top: 1em;
26 margin-left: 2em;
27 font-size: smaller; }
28
29 /* Header and footer lines. */
30
31 table.head { width: 100%;
32 border-bottom: 1px dotted #808080;
33 margin-bottom: 1em;
34 font-size: smaller; }
35 td.head-vol { text-align: center; }
36 td.head-rtitle {
37 text-align: right; }
38 span.Nd { }
39
40 table.foot { width: 100%;
41 border-top: 1px dotted #808080;
42 margin-top: 1em;
43 font-size: smaller; }
44 td.foot-os { text-align: right; }
45
46 /* Sections and paragraphs. */
47
48 div.manual-text {
49 margin-left: 5ex; }
50 h1.Sh { margin-top: 2ex;
51 margin-bottom: 1ex;
52 margin-left: -4ex;
53 font-size: 110%; }
54 h2.Ss { margin-top: 2ex;
55 margin-bottom: 1ex;
56 margin-left: -2ex;
57 font-size: 105%; }
58 div.Pp { margin: 1ex 0ex; }
59 a.Sx { }
60 a.Xr { }
61
62 /* Displays and lists. */
63
64 div.Bd { }
65 div.D1 { margin-left: 5ex; }
66
67 ul.Bl-bullet { list-style-type: disc;
68 padding-left: 1em; }
69 li.It-bullet { }
70 ul.Bl-dash { list-style-type: none;
71 padding-left: 0em; }
72 li.It-dash:before {
73 content: "\2014 "; }
74 ul.Bl-item { list-style-type: none;
75 padding-left: 0em; }
76 li.It-item { }
77
78 ol.Bl-enum { padding-left: 2em; }
79 li.It-enum { }
80
81 dl.Bl-diag { }
82 dt.It-diag { }
83 dd.It-diag { }
84 b.It-diag { font-style: normal; }
85 dl.Bl-hang { }
86 dt.It-hang { }
87 dd.It-hang { }
88 dl.Bl-inset { }
89 dt.It-inset { }
90 dd.It-inset { }
91 dl.Bl-ohang { }
92 dt.It-ohang { }
93 dd.It-ohang { margin-left: 0ex; }
94 dl.Bl-tag { margin-left: 8ex; }
95 dt.It-tag { float: left;
96 clear: both;
97 margin-top: 0ex;
98 margin-left: -8ex;
99 padding-right: 2ex;
100 vertical-align: top; }
101 dd.It-tag { width: 100%;
102 margin-top: 0ex;
103 margin-left: 0ex;
104 vertical-align: top;
105 overflow: auto; }
106
107 table.Bl-column { }
108 tr.It-column { }
109 td.It-column { margin-top: 1em; }
110
111 cite.Rs { font-style: normal;
112 font-weight: normal; }
113 span.RsA { }
114 i.RsB { font-weight: normal; }
115 span.RsC { }
116 span.RsD { }
117 i.RsI { font-weight: normal; }
118 i.RsJ { font-weight: normal; }
119 span.RsN { }
120 span.RsO { }
121 span.RsP { }
122 span.RsQ { }
123 span.RsR { }
124 span.RsT { text-decoration: underline; }
125 a.RsU { }
126 span.RsV { }
127
128 span.eqn { }
129 table.tbl { }
130
131 /* Semantic markup for command line utilities. */
132
133 table.Nm { }
134 b.Nm { font-style: normal; }
135 b.Fl { font-style: normal; }
136 b.Cm { font-style: normal; }
137 i.Ar { font-weight: normal; }
138 span.Op { }
139 b.Ic { font-style: normal; }
140 code.Ev { font-style: normal;
141 font-weight: normal;
142 font-family: monospace; }
143 i.Pa { font-weight: normal; }
144
145 /* Semantic markup for function libraries. */
146
147 span.Lb { }
148 b.In { font-style: normal; }
149 a.In { }
150 b.Fd { font-style: normal; }
151 i.Ft { font-weight: normal; }
152 b.Fn { font-style: normal; }
153 i.Fa { font-weight: normal; }
154 i.Vt { font-weight: normal; }
155 i.Va { font-weight: normal; }
156 code.Dv { font-style: normal;
157 font-weight: normal;
158 font-family: monospace; }
159 code.Er { font-style: normal;
160 font-weight: normal;
161 font-family: monospace; }
162
163 /* Various semantic markup. */
164
165 span.An { }
166 a.Lk { }
167 a.Mt { }
168 b.Cd { font-style: normal; }
169 i.Ad { font-weight: normal; }
170 b.Ms { font-style: normal; }
171 a.Ux { }
172
173 /* Physical markup. */
174
175 .No { font-style: normal;
176 font-weight: normal; }
177 .Em { font-style: italic;
178 font-weight: normal; }
179 .Sy { font-style: normal;
180 font-weight: bold; }
181 .Li { font-style: normal;
182 font-weight: normal;
183 font-family: monospace; }