]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/mandoc/mandoc.css
Pull in r356809 from upstream llvm trunk (by Eli Friedman):
[FreeBSD/FreeBSD.git] / contrib / mandoc / mandoc.css
1 /* $Id: mandoc.css,v 1.36 2018/07/23 22:51:26 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: 65em; }
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 .permalink {    border-bottom: thin dotted;
18                 color: inherit;
19                 font: inherit;
20                 text-decoration: inherit; }
21 * {             clear: both }
22
23 /* Search form and search results. */
24
25 fieldset {      border: thin solid silver;
26                 border-radius: 1em;
27                 text-align: center; }
28 input[name=expr] {
29                 width: 25%; }
30
31 table.results { margin-top: 1em;
32                 margin-left: 2em;
33                 font-size: smaller; }
34
35 /* Header and footer lines. */
36
37 table.head {    width: 100%;
38                 border-bottom: 1px dotted #808080;
39                 margin-bottom: 1em;
40                 font-size: smaller; }
41 td.head-vol {   text-align: center; }
42 td.head-rtitle {
43                 text-align: right; }
44
45 table.foot {    width: 100%;
46                 border-top: 1px dotted #808080;
47                 margin-top: 1em;
48                 font-size: smaller; }
49 td.foot-os {    text-align: right; }
50
51 /* Sections and paragraphs. */
52
53 .manual-text {
54                 margin-left: 3.8em; }
55 .Nd {           display: inline; }
56 .Sh {           margin-top: 1.2em;
57                 margin-bottom: 0.6em;
58                 margin-left: -3.2em;
59                 font-size: 110%; }
60 .Ss {           margin-top: 1.2em;
61                 margin-bottom: 0.6em;
62                 margin-left: -1.2em;
63                 font-size: 105%; }
64 .Pp {           margin: 0.6em 0em; }
65 .Sx { }
66 .Xr { }
67
68 /* Displays and lists. */
69
70 .Bd { }
71 .Bd-indent {    margin-left: 3.8em; }
72
73 .Bl-bullet {    list-style-type: disc;
74                 padding-left: 1em; }
75 .Bl-bullet > li { }
76 .Bl-dash {      list-style-type: none;
77                 padding-left: 0em; }
78 .Bl-dash > li:before {
79                 content: "\2014  "; }
80 .Bl-item {      list-style-type: none;
81                 padding-left: 0em; }
82 .Bl-item > li { }
83 .Bl-compact > li {
84                 margin-top: 0em; }
85
86 .Bl-enum {      padding-left: 2em; }
87 .Bl-enum > li { }
88 .Bl-compact > li {
89                 margin-top: 0em; }
90
91 .Bl-diag { }
92 .Bl-diag > dt {
93                 font-style: normal;
94                 font-weight: bold; }
95 .Bl-diag > dd {
96                 margin-left: 0em; }
97 .Bl-hang { }
98 .Bl-hang > dt { }
99 .Bl-hang > dd {
100                 margin-left: 5.5em; }
101 .Bl-inset { }
102 .Bl-inset > dt { }
103 .Bl-inset > dd {
104                 margin-left: 0em; }
105 .Bl-ohang { }
106 .Bl-ohang > dt { }
107 .Bl-ohang > dd {
108                 margin-left: 0em; }
109 .Bl-tag {       margin-left: 5.5em; }
110 .Bl-tag > dt {
111                 float: left;
112                 margin-top: 0em;
113                 margin-left: -5.5em;
114                 padding-right: 1.2em;
115                 vertical-align: top; }
116 .Bl-tag > dd {
117                 clear: right;
118                 width: 100%;
119                 margin-top: 0em;
120                 margin-left: 0em;
121                 vertical-align: top;
122                 overflow: auto; }
123 .Bl-compact > dt {
124                 margin-top: 0em; }
125
126 .Bl-column { }
127 .Bl-column > tbody > tr { }
128 .Bl-column > tbody > tr > td {
129                 margin-top: 1em; }
130 .Bl-compact > tbody > tr > td {
131                 margin-top: 0em; }
132
133 .Rs {           font-style: normal;
134                 font-weight: normal; }
135 .RsA { }
136 .RsB {          font-style: italic;
137                 font-weight: normal; }
138 .RsC { }
139 .RsD { }
140 .RsI {          font-style: italic;
141                 font-weight: normal; }
142 .RsJ {          font-style: italic;
143                 font-weight: normal; }
144 .RsN { }
145 .RsO { }
146 .RsP { }
147 .RsQ { }
148 .RsR { }
149 .RsT {          text-decoration: underline; }
150 .RsU { }
151 .RsV { }
152
153 .eqn { }
154 .tbl { }
155
156 .HP {           margin-left: 3.8em;
157                 text-indent: -3.8em; }
158
159 /* Semantic markup for command line utilities. */
160
161 table.Nm { }
162 code.Nm {       font-style: normal;
163                 font-weight: bold;
164                 font-family: inherit; }
165 .Fl {           font-style: normal;
166                 font-weight: bold;
167                 font-family: inherit; }
168 .Cm {           font-style: normal;
169                 font-weight: bold;
170                 font-family: inherit; }
171 .Ar {           font-style: italic;
172                 font-weight: normal; }
173 .Op {           display: inline; }
174 .Ic {           font-style: normal;
175                 font-weight: bold;
176                 font-family: inherit; }
177 .Ev {           font-style: normal;
178                 font-weight: normal;
179                 font-family: monospace; }
180 .Pa {           font-style: italic;
181                 font-weight: normal; }
182
183 /* Semantic markup for function libraries. */
184
185 .Lb { }
186 code.In {       font-style: normal;
187                 font-weight: bold;
188                 font-family: inherit; }
189 a.In { }
190 .Fd {           font-style: normal;
191                 font-weight: bold;
192                 font-family: inherit; }
193 .Ft {           font-style: italic;
194                 font-weight: normal; }
195 .Fn {           font-style: normal;
196                 font-weight: bold;
197                 font-family: inherit; }
198 .Fa {           font-style: italic;
199                 font-weight: normal; }
200 .Vt {           font-style: italic;
201                 font-weight: normal; }
202 .Va {           font-style: italic;
203                 font-weight: normal; }
204 .Dv {           font-style: normal;
205                 font-weight: normal;
206                 font-family: monospace; }
207 .Er {           font-style: normal;
208                 font-weight: normal;
209                 font-family: monospace; }
210
211 /* Various semantic markup. */
212
213 .An { }
214 .Lk { }
215 .Mt { }
216 .Cd {           font-style: normal;
217                 font-weight: bold;
218                 font-family: inherit; }
219 .Ad {           font-style: italic;
220                 font-weight: normal; }
221 .Ms {           font-style: normal;
222                 font-weight: bold; }
223 .St { }
224 .Ux { }
225
226 /* Physical markup. */
227
228 .Bf {           display: inline; }
229 .No {           font-style: normal;
230                 font-weight: normal; }
231 .Em {           font-style: italic;
232                 font-weight: normal; }
233 .Sy {           font-style: normal;
234                 font-weight: bold; }
235 .Li {           font-style: normal;
236                 font-weight: normal;
237                 font-family: monospace; }
238
239 /* Overrides to avoid excessive margins on small devices. */
240
241 @media (max-width: 37.5em) {
242 .manual-text {
243                 margin-left: 0.5em; }
244 .Sh, .Ss {      margin-left: 0em; }
245 .Bd-indent {    margin-left: 2em; }
246 .Bl-hang > dd {
247                 margin-left: 2em; }
248 .Bl-tag {       margin-left: 2em; }
249 .Bl-tag > dt {
250                 margin-left: -2em; }
251 .HP {           margin-left: 2em;
252                 text-indent: -2em; }
253 }