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