Annotation of mandoc/mandoc.css, Revision 1.18
1.18 ! schwarze 1: /* $Id: mandoc.css,v 1.17 2017/02/05 21:00:43 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 { }
82:
83: ol.Bl-enum { padding-left: 2em; }
84: li.It-enum { }
85:
86: dl.Bl-diag { }
87: dt.It-diag { }
88: dd.It-diag { }
89: b.It-diag { font-style: normal; }
90: dl.Bl-hang { }
91: dt.It-hang { }
92: dd.It-hang { }
93: dl.Bl-inset { }
94: dt.It-inset { }
95: dd.It-inset { }
96: dl.Bl-ohang { }
97: dt.It-ohang { }
98: dd.It-ohang { margin-left: 0ex; }
1.14 schwarze 99: dl.Bl-tag { margin-left: 8ex; }
100: dt.It-tag { float: left;
101: clear: both;
102: margin-top: 0ex;
103: margin-left: -8ex;
104: padding-right: 2ex;
105: vertical-align: top; }
106: dd.It-tag { width: 100%;
107: margin-top: 0ex;
108: margin-left: 0ex;
109: vertical-align: top;
110: overflow: auto; }
1.8 schwarze 111:
112: table.Bl-column { }
113: tr.It-column { }
1.12 schwarze 114: td.It-column { margin-top: 1em; }
1.8 schwarze 115:
1.15 schwarze 116: cite.Rs { font-style: normal;
117: font-weight: normal; }
1.9 schwarze 118: span.RsA { }
119: i.RsB { font-weight: normal; }
120: span.RsC { }
121: span.RsD { }
122: i.RsI { font-weight: normal; }
123: i.RsJ { font-weight: normal; }
124: span.RsN { }
125: span.RsO { }
126: span.RsP { }
127: span.RsQ { }
128: span.RsR { }
129: span.RsT { text-decoration: underline; }
130: a.RsU { }
131: span.RsV { }
132:
1.11 schwarze 133: span.eqn { }
134: table.tbl { }
135:
1.10 schwarze 136: /* Semantic markup for command line utilities. */
137:
138: table.Nm { }
139: b.Nm { font-style: normal; }
140: b.Fl { font-style: normal; }
141: b.Cm { font-style: normal; }
1.16 schwarze 142: var.Ar { font-style: italic;
143: font-weight: normal; }
1.10 schwarze 144: span.Op { }
145: b.Ic { font-style: normal; }
146: code.Ev { font-style: normal;
147: font-weight: normal;
148: font-family: monospace; }
149: i.Pa { font-weight: normal; }
150:
151: /* Semantic markup for function libraries. */
152:
153: span.Lb { }
154: b.In { font-style: normal; }
155: a.In { }
156: b.Fd { font-style: normal; }
1.16 schwarze 157: var.Ft { font-style: italic;
158: font-weight: normal; }
1.10 schwarze 159: b.Fn { font-style: normal; }
1.16 schwarze 160: var.Fa { font-style: italic;
161: font-weight: normal; }
162: var.Vt { font-style: italic;
163: font-weight: normal; }
164: var.Va { font-style: italic;
165: font-weight: normal; }
1.10 schwarze 166: code.Dv { font-style: normal;
167: font-weight: normal;
168: font-family: monospace; }
169: code.Er { font-style: normal;
170: font-weight: normal;
171: font-family: monospace; }
172:
173: /* Various semantic markup. */
174:
175: span.An { }
176: a.Lk { }
177: a.Mt { }
178: b.Cd { font-style: normal; }
179: i.Ad { font-weight: normal; }
180: b.Ms { font-style: normal; }
1.17 schwarze 181: span.St { }
1.11 schwarze 182: a.Ux { }
1.10 schwarze 183:
1.11 schwarze 184: /* Physical markup. */
1.7 schwarze 185:
1.11 schwarze 186: .No { font-style: normal;
187: font-weight: normal; }
188: .Em { font-style: italic;
189: font-weight: normal; }
190: .Sy { font-style: normal;
191: font-weight: bold; }
1.7 schwarze 192: .Li { font-style: normal;
193: font-weight: normal;
194: font-family: monospace; }
CVSweb