1/* standard OTP style sheet */
2body {
3  background: #fefefe;
4  color: #1a1a1a;
5  font-family: sans-serif;
6  margin: 0;
7  padding: 0;
8  border: 0;
9  overflow: scroll;
10  height: 100%;
11  max-height: 100%;
12  line-height: 1.2em;
13  font-size: 16px;
14}
15
16h1, h2, h3, h4, h5, h6{
17 line-height: 1.2em;
18}
19
20p             { max-width: 42em }
21
22.header       { background: #222; color: #fefefe }
23.top          { background: #efe }
24.otp          { background: #efe }
25.erlang       { background: #ffe }
26.otp2         { background: #efe }
27.app          { background: #ffe }
28
29a:link         { color: #1862ab; text-decoration: none }
30a:active       { color: #1c7cd6; text-decoration: none }
31a:visited      { color: #1b6ec2; text-decoration: none }
32
33#container {
34  width: 100%;
35  margin: 0;
36  background-color: #fefefe;
37}
38
39#leftnav {
40  position: fixed;
41  float: left;
42  top: 0;
43  bottom: 0;
44  left: 0;
45  width: 300px;
46  overflow:auto;
47  margin: 0;
48  padding: 1px;
49  border-right: 1px solid #ccc;
50}
51
52.leftnav-tube
53{
54    margin: 15px;
55}
56
57#content {
58  margin-left: 340px; /* set left value to WidthOfFrameDiv */
59  max-width: 52em;
60  overflow-x: hidden;
61}
62
63.frontpage
64{
65  padding-top: 50px; /* Magins for inner DIV inside each DIV (to provide padding) */
66}
67
68.innertube
69{
70    margin-left: 15px; /* Magins for inner DIV inside each DIV (to provide padding) */
71    margin-right: 11em;
72}
73
74.footer
75{
76  margin: 15px; /* Magins for inner DIV inside each DIV (to provide padding) */
77  text-align: center;
78}
79
80.bold_code   { font-family: mono, Courier, monospace; font-weight: bold }
81
82/* Invisible table for function specs,
83 * just to get since-version out in right margin */
84.func-table, .func-tr, .func-td, .cfunc-td, .func-since-td {
85    width: 100%;
86    border: 0;
87    padding: 0;
88    margin: 0;
89}
90
91.func-tr:nth-child(n) {
92    background: inherit  /* turn off zebra striped rows */
93}
94
95.func-td {
96    width: 38em;
97}
98
99.cfunc-td {
100    width: 31em;
101    padding-left: 7em;
102    text-indent: -7em;
103}
104
105.func-since-td {
106    width: auto;
107    padding-left: 1em;
108}
109
110.func-td:hover {
111 background-color: #f5f5f5;
112}
113
114.code        {
115 font-family: mono, Courier, monospace;
116 font-weight: normal;
117 background-color: #f3f3f3;
118}
119
120.note, .warning, .do, .dont {
121  border: 1px solid #495057;
122  margin: 1em 0;
123}
124.note .label {
125  background-color: #2b8a3e;
126  color: #fefefe;
127  font-weight: bold;
128  padding: 0.5em 1em;
129}
130.note .content {
131  background: #f8f9fa;
132  line-height: 120%;
133  font-size: 0.9em;
134  padding: 0.5em 1em;
135}
136.warning .label {
137  background: #c92a2a;
138  color: #fefefe;
139  font-weight: bold;
140  padding: 0.5em 1em;
141}
142.warning .content {
143  background-color: #f8f9fa;
144  line-height: 120%;
145  font-size: 0.9em;
146  padding: 0.5em 1em;
147}
148.do .label {
149  background-color: #2b8a3e;
150  color: #fefefe;
151  font-weight: bold;
152  padding: 0.5em 1em;
153}
154.do .content {
155  background: #f8f9fa;
156  line-height: 120%;
157  font-size: 0.9em;
158  padding: 0.5em 1em;
159}
160.dont .label {
161  background: #c92a2a;
162  color: #fefefe;
163  font-weight: bold;
164  padding: 0.5em 1em;
165}
166.dont .content {
167  background-color: #f8f9fa;
168  line-height: 120%;
169  font-size: 0.9em;
170  padding: 0.5em 1em;
171}
172
173.quote {
174    font-style: italic
175}
176
177.example {
178  background-color:#f1f3f5;
179  border: 1px solid #dee2e6;
180  padding: 0.5em 1em;
181  margin: 1em 0;
182  font-size: 0.7em;
183}
184.extrafrontpageinfo {
185  color: #C00;
186  font-weight: bold;
187  font-size: 1.2em;
188}
189
190pre {
191 font-family: mono, Courier, monospace;
192 font-weight: normal;
193 margin: 0;
194}
195
196
197.data-types-body, .REFBODY{
198 margin-left: 2em;
199}
200.REFTYPES    { margin-left: 1.5em }
201.exports-body {
202    margin-left: 3em;
203}
204.exports-tube
205{
206    margin-right: 11em;
207}
208
209footer       { }
210
211.erlang-logo-wrapper{
212 text-align: center;
213 margin-bottom: 1em;
214}
215
216.main-title{
217 text-align: center;
218}
219
220.main-description{
221 text-align: center;
222 margin: 2em 0;
223 font-size: 1.5em;
224 line-height: 1.5em;
225}
226
227.doc-table-wrapper, .doc-image-wrapper{
228 width: 100%;
229}
230
231.doc-image-wrapper{
232 text-align: center;
233}
234
235.doc-svg {
236    width: 100%;
237}
238
239.doc-table, .doc-image{
240 min-width: 50%;
241 margin: 0 auto;
242 font-size: 0.7em;
243}
244
245.doc-table-caption, .doc-image-caption{
246 margin-top: 1em;
247 font-style: italic;
248 text-align: center;
249}
250
251table {
252 border-collapse: collapse;
253 min-width: 50%;
254 margin: 1em;
255}
256
257table, th, td {
258 border: 1px solid #666;
259}
260
261th, td {
262 padding: 0.5em;
263 text-align: left;
264}
265
266tr:hover {
267 background-color: #f5f5f5;
268}
269
270tr:nth-child(even) {
271 background-color: #f2f2f2;
272}
273
274th {
275 background-color: #777;
276 color: #fefefe;
277}
278
279.section-title, .section-subtitle, .section-version{
280 text-align: center;
281 margin: 0;
282}
283
284.section-title{
285 font-weight: bold;
286}
287
288.section-version{
289 font-size: small;
290}
291
292.expand-collapse-items{
293 font-size: small;
294}
295
296.title_link {
297    color: #1a1a1a !important;
298    outline: none;
299}
300
301.ghlink-before {
302    margin-left: -4em;
303    visibility: hidden;
304}
305
306.pencil-before:before {
307    transform: rotateZ(90deg);
308    display: inline-block;
309    content: "\270E";
310    color: #1a1a1a !important;
311    font-size: 1.5em;
312    font-family: mono;
313}
314
315.paperclip-before:before {
316    display: inline-block;
317    content: "\1F517";
318    padding-left: 1em;
319    padding-right: .3em;
320}
321
322.ghlink-after {
323    visibility: hidden;
324}
325
326.pencil-after:after {
327    display: inline-block;
328    transform: rotate(90deg);
329    content: "\270E";
330    color: #1a1a1a !important;
331    font-size: 1.5em;
332    font-family: mono;
333}
334
335.paperclip-after:after {
336    display: inline-block;
337    content: "\1F517";
338    padding-right: .3em;
339    padding-left: .7em;
340}
341
342hr{
343  border: 0;
344  border-top: 1px solid #aaa;
345}
346
347.section-links, .panel-sections, .expand-collapse-items{
348 padding: 0 1em;
349}
350
351.section-links, .panel-sections{
352 margin-top: 0;
353}
354
355a > .code {
356 color: #1862ab;
357}
358
359.func-types-title{
360 font-size: 1em;
361}
362
363.since{
364    color: gray;
365    font-weight: normal;
366    font-size: small;
367}
368