Annotation of mandoc/mandoc.css, Revision 1.17
1.17 ! schwarze 1: /* $Id: mandoc.css,v 1.16 2017/02/05 20:22:04 schwarze Exp $ */
1.1 schwarze 2: /*
1.3 schwarze 3: * Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
1.1 schwarze 4: */
5:
1.3 schwarze 6: /* Global defaults. */
7:
8: html { max-width: 100ex; }
9: body { font-family: Helvetica,Arial,sans-serif; }
1.13 schwarze 10: table { margin-top: 0em;
1.12 schwarze 11: margin-bottom: 0em; }
1.4 schwarze 12: td { vertical-align: top; }
1.12 schwarze 13: ul, ol, dl { margin-top: 0em;
14: margin-bottom: 0em; }
15: li, dt { margin-top: 1em; }
1.3 schwarze 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:
1.11 schwarze 25: table.results { margin-top: 1em;
1.3 schwarze 26: margin-left: 2em;
27: font-size: smaller; }
28:
1.4 schwarze 29: /* Header and footer lines. */
30:
1.13 schwarze 31: table.head { width: 100%;
32: border-bottom: 1px dotted #808080;
1.4 schwarze 33: margin-bottom: 1em;
34: font-size: smaller; }
35: td.head-vol { text-align: center; }
36: td.head-rtitle {
37: text-align: right; }
1.11 schwarze 38: span.Nd { }
1.4 schwarze 39:
1.13 schwarze 40: table.foot { width: 100%;
41: border-top: 1px dotted #808080;
1.4 schwarze 42: margin-top: 1em;
43: font-size: smaller; }
1.13 schwarze 44: td.foot-os { text-align: right; }
1.4 schwarze 45:
1.5 schwarze 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; }
1.6 schwarze 59: a.Sx { }
60: a.Xr { }
1.3 schwarze 61:
1.7 schwarze 62: /* Displays and lists. */
63:
64: div.Bd { }
65: div.D1 { margin-left: 5ex; }
66:
1.8 schwarze 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; }
1.14 schwarze 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; }
1.8 schwarze 106:
107: table.Bl-column { }
108: tr.It-column { }
1.12 schwarze 109: td.It-column { margin-top: 1em; }
1.8 schwarze 110:
1.15 schwarze 111: cite.Rs { font-style: normal;
112: font-weight: normal; }
1.9 schwarze 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:
1.11 schwarze 128: span.eqn { }
129: table.tbl { }
130:
1.10 schwarze 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; }
1.16 schwarze 137: var.Ar { font-style: italic;
138: font-weight: normal; }
1.10 schwarze 139: span.Op { }
140: b.Ic { font-style: normal; }
141: code.Ev { font-style: normal;
142: font-weight: normal;
143: font-family: monospace; }
144: i.Pa { font-weight: normal; }
145:
146: /* Semantic markup for function libraries. */
147:
148: span.Lb { }
149: b.In { font-style: normal; }
150: a.In { }
151: b.Fd { font-style: normal; }
1.16 schwarze 152: var.Ft { font-style: italic;
153: font-weight: normal; }
1.10 schwarze 154: b.Fn { font-style: normal; }
1.16 schwarze 155: var.Fa { font-style: italic;
156: font-weight: normal; }
157: var.Vt { font-style: italic;
158: font-weight: normal; }
159: var.Va { font-style: italic;
160: font-weight: normal; }
1.10 schwarze 161: code.Dv { font-style: normal;
162: font-weight: normal;
163: font-family: monospace; }
164: code.Er { font-style: normal;
165: font-weight: normal;
166: font-family: monospace; }
167:
168: /* Various semantic markup. */
169:
170: span.An { }
171: a.Lk { }
172: a.Mt { }
173: b.Cd { font-style: normal; }
174: i.Ad { font-weight: normal; }
175: b.Ms { font-style: normal; }
1.17 ! schwarze 176: span.St { }
1.11 schwarze 177: a.Ux { }
1.10 schwarze 178:
1.11 schwarze 179: /* Physical markup. */
1.7 schwarze 180:
1.11 schwarze 181: .No { font-style: normal;
182: font-weight: normal; }
183: .Em { font-style: italic;
184: font-weight: normal; }
185: .Sy { font-style: normal;
186: font-weight: bold; }
1.7 schwarze 187: .Li { font-style: normal;
188: font-weight: normal;
189: font-family: monospace; }
CVSweb