Debian Codegraph @

gcc/d/dmd/res/default_ddoc_theme.ddoc

raw
1 LPAREN = (
2 RPAREN = )
3 BACKTICK = `
4 DOLLAR = $
5 COMMA = ,
6 QUOTE = "
7 LF =
8 $(LF)
9
10 ESCAPES =
11 /</&lt;/
12 />/&gt;/
13 /&/&amp;/
14
15 H1 = <h1>$0</h1>
16 H2 = <h2>$0</h2>
17 H3 = <h3>$0</h3>
18 H4 = <h4>$0</h4>
19 H5 = <h5>$0</h5>
20 H6 = <h6>$0</h6>
21 B = <b>$0</b>
22 I = <i>$0</i>
23 EM = <em>$0</em>
24 STRONG = <strong>$0</strong>
25 U = <u>$0</u>
26 P = <p>$0</p>
27 DL = <dl>$0</dl>
28 DT = <dt>$0</dt>
29 DD = <dd>$0</dd>
30 TABLE = <table>$0</table>
31 THEAD = <thead>$0</thead>
32 TBODY = <tbody>$0</tbody>
33 TR = <tr>$0</tr>
34 TH = <th>$0</th>
35 TD = <td>$0</td>
36 TH_ALIGN = <th align="$1">$+</th>
37 TD_ALIGN = <td align="$1">$+</td>
38 OL = <ol>$0</ol>
39 OL_START = <ol start="$1">$2</ol>
40 UL = <ul>$0</ul>
41 LI = <li>$0</li>
42 BIG = <span class="font_big">$0</span>
43 SMALL = <small>$0</small>
44 BR = <br>
45 HR = <hr />
46 LINK = <a href="$0">$0</a>
47 LINK2 = <a href="$1">$+</a>
48 LINK_TITLE = <a href="$1" title="$2">$3</a>
49 SYMBOL_LINK = <a href="$1">$(DDOC_PSYMBOL $+)</a>
50 PHOBOS_PATH = https://dlang.org/phobos/
51 DOC_ROOT_std = $(PHOBOS_PATH)
52 DOC_ROOT_core = $(PHOBOS_PATH)
53 DOC_ROOT_etc = $(PHOBOS_PATH)
54 DOC_ROOT_object = $(PHOBOS_PATH)
55 DOC_EXTENSION = .html
56 IMAGE = <img src="$1" alt="$+" />
57 IMAGE_TITLE = <img src="$1" alt="$3" title="$2" />
58 BLOCKQUOTE = <blockquote>$0</blockquote>
59 DEPRECATED = $0
60
61 RED = <span class="color_red">$0</span>
62 BLUE = <span class="color_blue">$0</span>
63 GREEN = <span class="color_green">$0</span>
64 YELLOW = <span class="color_yellow">$0</span>
65 BLACK = <span class="color_black">$0</span>
66 WHITE = <span class="color_white">$0</span>
67
68 D_CODE =
69 <section class="code_listing">
70 <div class="code_sample">
71 <div class="dlang">
72 <ol class="code_lines">
73 <li><pre><code class="code">$0</code></pre></li>
74 </ol>
75 </div>
76 </div>
77 </section>
78
79 OTHER_CODE =
80 <section class="code_listing">
81 <div class="code_sample">
82 <div class="dlang">
83 <ol class="code_lines">
84 <li><pre><code class="code language-$1">$+</code></pre></li>
85 </ol>
86 </div>
87 </div>
88 </section>
89
90 D_INLINECODE = <code class="code">$0</code>
91 DDOC_BACKQUOTED = $(D_INLINECODE $0)
92 D_COMMENT = <span class="comment">$0</span>
93 D_STRING = <span class="string_literal">$0</span>
94 D_KEYWORD = <span class="keyword">$0</span>
95 D_PSYMBOL = <span class="psymbol">$0</span>
96 D_PARAM = <span class="param">$0</span>
97
98 DDOC_BLANKLINE = <br><br>
99 DDOC_COMMENT = <!-- $0 -->
100
101 DDOC =
102 <!DOCTYPE html>
103 <html>
104 <head>
105 <meta charset="UTF-8">
106 <title>$(TITLE)</title>
107 <style type="text/css" media="screen">
108 html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
109 blockquote, pre, a, abbr, address, cite, code, del, dfn, em, figure,
110 img, ins, kbd, q, s, samp, small, strong, sub, sup, var, b, u, i, dl,
111 dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
112 tbody, tfoot, thead, tr, th, td {
113 background: transparent none repeat scroll 0 0;
114 border: 0 none;
115 font-size: 100%;
116 margin: 0;
117 outline: 0 none;
118 padding: 0;
119 vertical-align: baseline;
120 }
121
122 h1 { font-size: 200%; }
123 h2 { font-size: 160%; }
124 h3 { font-size: 120%; }
125 h4 { font-size: 100%; }
126 h5 { font-size: 80%; }
127 h6 { font-size: 80%; font-weight: normal; }
128
129 ul, ol {
130 margin: 1.4em 0;
131 }
132 ul ul, ol ol, ul ol, ol ul {
133 margin-top: 0;
134 margin-bottom: 0;
135 }
136 ul, ol {
137 margin-left: 2.8em;
138 }
139
140 ol {
141 list-style: decimal;
142 }
143 ol ol {
144 list-style: lower-alpha;
145 }
146 ol ol ol {
147 list-style: lower-roman;
148 }
149 ol ol ol ol {
150 list-style: decimal;
151 }
152
153 blockquote {
154 margin: 0.1em;
155 margin-left: 1em;
156 border-left: 2px solid #cccccc;
157 padding-left: 0.7em;
158 }
159
160 .color_red { color: #dc322f; }
161 .color_blue { color: #268bd2; }
162 .color_green { color: #859901; }
163 .color_yellow { color: #b58901; }
164 .color_black { color: black; }
165 .color_white { color: white; }
166
167 .font_big {
168 font-size: 1.2em;
169 }
170
171 .ddoc_section_h {
172 font-weight: bold;
173 font-size: 13px;
174 line-height: 19.5px;
175 margin-top: 11px;
176 display: block;
177 }
178
179 body.dlang .dlang {
180 display: inline-block;
181 }
182
183 body.dlang .declaration .dlang {
184 display: block;
185 }
186
187 body.dlang .ddoc_header_anchor a.dlang {
188 display: block;
189 color: rgba(0, 136, 204, 1);
190 text-decoration: none;
191 }
192
193 body.dlang .ddoc_header_anchor .code {
194 color: rgba(0, 136, 204, 1);
195 }
196
197 #ddoc_main .module {
198 border-color: currentColor rgba(233, 233, 233, 1) rgba(233, 233, 233, 1);
199 border-style: none solid solid;
200 border-width: 0 1px 1px;
201 overflow-x: hidden;
202 padding: 15px;
203 }
204
205 #ddoc_main .section .section {
206 margin-top: 0;
207 }
208
209 #ddoc_main .ddoc_module_members_section {
210 padding: 1px 0 0;
211 transition: transform 0.3s ease 0s;
212 }
213
214 #ddoc_main .ddoc_member, #ddoc_main .ddoc_module_members section.intro {
215 background: #fff none repeat scroll 0 0;
216 list-style-type: none;
217 width: 100%;
218 }
219
220 #ddoc_main .ddoc_header_anchor {
221 font-size: 1.4em;
222 transition: transform 0.3s ease 0s;
223 }
224
225 #ddoc_main .ddoc_header_anchor > .code {
226 display: inline-block;
227
228 }
229
230 #ddoc_main .ddoc_decl {
231 background-color: transparent;
232 height: 100%;
233 left: 0;
234 top: 0;
235 padding: 0;
236 padding-left: 15px;
237 }
238
239 #ddoc_main .ddoc_decl .section, #ddoc_main .section.ddoc_sections {
240 background: white none repeat scroll 0 0;
241 margin: 0;
242 padding: 5px;
243 position: relative;
244 border-radius: 5px;
245 }
246
247 #ddoc_main .ddoc_decl .section h4:first-of-type, #ddoc_main .section.ddoc_sections h4:first-of-type {
248 font-size: 13px;
249 line-height: 1.5;
250 margin-top: 21px;
251 }
252
253 #ddoc_main .section .declaration {
254 margin-top: 21px;
255 }
256
257 #ddoc_main .section .declaration .code {
258 color: rgba(0, 0, 0, 1);
259 margin-bottom: 15px;
260 padding-bottom: 6px;
261 }
262
263 #ddoc_main .declaration div .para {
264 margin-bottom: 0;
265 }
266
267 #ddoc_main .ddoc_params .graybox tr td:first-of-type {
268 padding: 7px;
269 text-align: right;
270 vertical-align: top;
271 word-break: normal;
272 white-space: nowrap;
273 }
274
275 #ddoc_main .ddoc_params .graybox {
276 border: 0 none;
277 }
278
279 #ddoc_main .ddoc_params .graybox td {
280 border-color: rgba(214, 214, 214, 1);
281 }
282
283 #ddoc_main .ddoc_params .graybox tr:first-child > td {
284 border-top: 0 none;
285 }
286
287 #ddoc_main .ddoc_params .graybox tr:last-child > td {
288 border-bottom: 0 none;
289 }
290
291 #ddoc_main .ddoc_params .graybox tr > td:first-child {
292 border-left: 0 none;
293 }
294
295 #ddoc_main .ddoc_params .graybox tr > td:last-child {
296 border-right: 0 none;
297 width: 100%;
298 }
299
300 #ddoc_main em.term, #ddoc_main em.term .code {
301 color: rgba(65, 65, 65, 1);
302 font-size: 12px;
303 font-style: italic;
304 line-height: 1.5;
305 }
306
307 #ddoc_main .see-also {
308 cursor: pointer;
309 font-family: Menlo,monospace;
310 }
311
312 #ddoc_main .ddoc_decl .section > div:last-of-type {
313 margin-bottom: 15px;
314 }
315
316 #ddoc_main .ddoc_member, #ddoc_main .ddoc_module_members {
317 transition: transform 0.3s ease 0s;
318 }
319
320 #ddoc_main .code_sample {
321 background: inherit;
322 }
323
324 #ddoc_main .declaration .code-line {
325 display: block;
326 font: 1em Menlo,monospace;
327 }
328
329 #ddoc_main a[name] {
330 margin: -112px 0 0;
331 padding-top: 112px;
332 }
333
334 #ddoc_main .ddoc_decl td {
335 max-width: inherit;
336 }
337
338 #ddoc_main .declaration a {
339 color: inherit;
340 }
341
342 #ddoc_main .declaration a:hover {
343 color: rgba(0, 136, 204, 1);
344 text-decoration: underline;
345 }
346
347 body.ddoc {
348 background-color: transparent;
349 color: rgba(0, 0, 0, 1);
350 font-family: Helvetica,Arial,sans-serif;
351 font-size: 62.5%;
352 margin: 0;
353 border: 0;
354 left: 0;
355 top: 0;
356 padding: 0;
357 }
358
359 .ddoc a[name] {
360 display: block;
361 height: 0;
362 margin: -85px 0 0;
363 padding-top: 85px;
364 width: 0;
365 }
366
367 .ddoc .module {
368 border-color: transparent;
369 background-color: rgba(255, 255, 255, 1);
370 border-color: currentColor rgba(233, 233, 233, 1) rgba(233, 233, 233, 1);
371 border-image: none;
372 border-style: none solid solid;
373 border-width: 0 1px 1px;
374 box-shadow: 0 0 1px rgba(0, 0, 0, 0.07);
375 display: block;
376 margin-left: 0;
377 min-height: calc(100% - 173px);
378 overflow: auto;
379 padding-bottom: 100px;
380 }
381
382 .ddoc .content_wrapper {
383 background-color: rgba(242, 242, 242, 1);
384 margin: 0 auto;
385 max-width: 980px;
386 }
387
388 .ddoc .section {
389 padding: 15px 25px 30px;
390 }
391
392 .ddoc .section .section {
393 margin: 30px 0 0;
394 padding: 0;
395 }
396
397 .ddoc .para {
398 color: rgba(65, 65, 65, 1);
399 font-size: 1.4em;
400 line-height: 145%;
401 margin-bottom: 15px;
402 }
403
404 .ddoc .ddoc_examples .para {
405 margin-bottom: 0;
406 }
407
408 .ddoc .module_name {
409 color: rgba(0, 0, 0, 1);
410 display: block;
411 font-family: Helvetica;
412 font-size: 2.8em;
413 font-weight: 100;
414 margin-bottom: 0;
415 padding: 15px 0;
416 }
417
418 .ddoc .module a {
419 color: rgba(0, 136, 204, 1);
420 text-decoration: none;
421 }
422
423 .ddoc .code {
424 color: rgba(128, 128, 128, 1);
425 font-family: Menlo,monospace;
426 font-size: 0.85em;
427 word-wrap: break-word;
428 }
429
430 .ddoc .code i {
431 font-style: normal;
432 }
433
434 .ddoc .code .code {
435 font-size: 1em;
436 }
437
438 .ddoc .code_sample {
439 background-clip: padding-box;
440 margin: 1px 0;
441 text-align: left;
442 }
443
444 .ddoc .code_sample {
445 display: block;
446 font-size: 1.4em;
447 margin-left: 21px;
448 }
449
450 .ddoc ol .code_sample {
451 font-size: 1em;
452 }
453
454 .ddoc .code_lines {
455 counter-reset: li;
456 line-height: 1.6em;
457 list-style: outside none none;
458 margin: 0;
459 padding: 0;
460 }
461
462 .ddoc .code_listing .code_sample div {
463 margin-left: 13px;
464 width: 93%;
465 }
466
467 .ddoc .code_listing .code_sample div .code_lines li {
468 list-style-type: none;
469 margin: 0;
470 padding-right: 10px;
471 }
472
473 .ddoc .code_sample div .code_lines li::before {
474 margin-left: -33px;
475 margin-right: 25px;
476 }
477
478 .ddoc .code_sample div .code_lines li:nth-child(n+10)::before {
479 margin-left: -39px;
480 margin-right: 25px;
481 }
482
483 .ddoc .code_sample div .code_lines li:nth-child(n+100)::before {
484 margin-left: -46px;
485 margin-right: 25px;
486 }
487
488 .ddoc .code_sample .code_lines .code {
489 color: #000;
490 }
491
492 .ddoc div.dlang {
493 margin: 10px 0 21px;
494 padding: 4px 0 2px 10px;
495 }
496
497 .ddoc div.dlang {
498 margin: 10px 0 21px;
499 padding: 4px 0 2px 10px;
500 }
501
502 .ddoc div.dlang {
503 border-left: 5px solid rgba(0, 155, 51, 0.2);
504 }
505
506 .ddoc .code_lines li::before {
507 color: rgba(128, 128, 128, 1);
508 content: counter(li, decimal);
509 counter-increment: li;
510 font-family: Menlo,monospace;
511 font-size: 0.9em;
512 margin-right: 16px;
513 }
514
515 .ddoc .code_lines li {
516 padding-left: 0;
517 white-space: pre-wrap;
518 }
519
520 .ddoc .code_lines pre {
521 display: contents;
522 }
523
524 .ddoc .code_lines li:only-of-type::before {
525 color: rgba(255, 255, 255, 1);
526 content: " ";
527 }
528
529 .ddoc .code_lines li:only-of-type {
530 color: rgba(255, 255, 255, 1);
531 content: " ";
532 }
533
534 .ddoc .code_lines li:nth-child(n+10) {
535 text-indent: -17px;
536 }
537
538 .ddoc .code_lines li:nth-child(n+10)::before {
539 margin-right: 12px;
540 }
541
542 .ddoc .graybox {
543 border: 1px solid rgba(233, 233, 233, 1);
544 border-collapse: collapse;
545 border-spacing: 0;
546 empty-cells: hide;
547 margin: 20px 0 36px;
548 text-align: left;
549 }
550
551 .ddoc .graybox p {
552 margin: 0;
553 min-width: 50px;
554 }
555
556 .ddoc th {
557 margin: 0;
558 max-width: 260px;
559 padding: 5px 10px 5px 10px;
560 vertical-align: bottom;
561 }
562
563 .ddoc td {
564 border: 1px solid rgba(233, 233, 233, 1);
565 margin: 0;
566 max-width: 260px;
567 padding: 5px 10px 5px 10px;
568 vertical-align: middle;
569 }
570
571 .punctuation {
572 color: rgba(0, 0, 0, 1);
573 }
574
575 .comment {
576 color: rgba(0, 131, 18, 1);
577 }
578
579 .operator {
580 color: #000;
581 }
582
583 .keyword {
584 color: rgba(170, 13, 145, 1);
585 }
586
587 .keyword_type {
588 color: rgba(170, 51, 145, 1);
589 }
590
591 .string_literal {
592 color: rgba(196, 26, 22, 1);
593 }
594
595 .ddoc_psuper_symbol {
596 color: rgba(92, 38, 153, 1);
597 }
598
599 .param {
600 color: rgba(0, 0, 0, 1);
601 }
602
603 .psymbol {
604 color: rgba(0, 0, 0, 1);
605 }
606
607 .ddoc_member_header .ddoc_header_anchor .code {
608 font-size: 1em;
609 }
610 </style>
611 </head>
612 <body id="ddoc_main" class="ddoc dlang">
613 <div class="content_wrapper">
614 <article class="module">
615 <h1 class="module_name">$(TITLE)</h1>
616 <section id="module_content">$(BODY)</section>
617 </article>
618 </div>
619 </body>
620 </html>$(LF)
621
622 DDOC_MODULE_MEMBERS = <section class="section ddoc_module_members_section">
623 <div class="ddoc_module_members">
624 $(DDOC_MEMBERS $0)
625 </div>
626 </section>$(LF)
627
628 DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0)$(LF)
629 DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0)$(LF)
630 DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0)$(LF)
631 DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0)$(LF)
632
633 DDOC_MEMBERS = <ul class="ddoc_members">
634 $0
635 </ul>
636
637 DDOC_MEMBER = <li class="ddoc_member">
638 $0
639 </li>
640
641 DDOC_MEMBER_HEADER = <div class="ddoc_member_header">
642 $0
643 </div>
644
645 DDOC_HEADER_ANCHOR = <div class="ddoc_header_anchor">
646 <a href="#$1" id="$1"><code class="code">$2</code></a>
647 </div>
648
649 DDOC_DECL = <div class="ddoc_decl">
650 <section class="section">
651 <div class="declaration">
652 <h4>Declaration</h4>
653 <div class="dlang">
654 <p class="para">
655 <code class="code">
656 $0
657 </code>
658 </p>
659 </div>
660 </div>
661 </section>
662 </div>
663
664 DDOC_ANCHOR = <span class="ddoc_anchor" id="$1"></span>
665
666 DDOC_DECL_DD = <div class="ddoc_decl">
667 $0
668 </div>
669
670 DDOC_SECTIONS = <section class="section ddoc_sections">
671 $0
672 </section>$(LF)
673
674 DDOC_SUMMARY = <div class="ddoc_summary">
675 <p class="para">
676 $0
677 </p>
678 </div>$(LF)
679
680 DDOC_DESCRIPTION = <div class="ddoc_description">
681 <h4>Discussion</h4>
682 <p class="para">
683 $0
684 </p>
685 </div>$(LF)
686
687 DDOC_EXAMPLES = <div class="ddoc_examples">
688 <h4>Examples</h4>
689 <p class="para">
690 $0
691 </p>
692 </div>
693
694 DDOC_RETURNS = <div class="ddoc_returns">
695 <h4>Return Value</h4>
696 <p class="para">
697 $0
698 </p>
699 </div>$(LF)
700
701 DDOC_PARAMS = <div class="ddoc_params">
702 <h4>Parameters</h4>
703 <table cellspacing="0" cellpadding="5" border="0" class="graybox">
704 <tbody>
705 $0
706 </tbody>
707 </table>
708 </div>$(LF)
709
710 DDOC_PARAM_ROW = <tr class="ddoc_param_row">
711 $0
712 </tr>$(LF)
713
714 DDOC_PARAM_ID = <td scope="ddoc_param_id">
715 <code class="code">
716 <em class="term">$0</em>
717 </code>
718 </td>$(LF)
719
720 DDOC_PARAM_DESC = <td>
721 <div class="ddoc_param_desc">
722 <p class="para">
723 $0
724 </p>
725 </div>
726 </td>
727
728 DDOC_LICENSE = <div class="ddoc_license">
729 <h4>License</h4>
730 <p class="para">
731 $0
732 </p>
733 </div>$(LF)
734
735 DDOC_AUTHORS = <div class="ddoc_authors">
736 <h4>Authors</h4>
737 <p class="para">
738 $0
739 </p>
740 </div>$(LF)
741
742 DDOC_BUGS = <div class="ddoc_bugs">
743 <h4>Bugs</h4>
744 <p class="para">
745 $0
746 </p>
747 </div>$(LF)
748
749 DDOC_COPYRIGHT = <div class="ddoc_copyright">
750 <h4>Copyright</h4>
751 <p class="para">
752 $0
753 </p>
754 </div>$(LF)
755
756 DDOC_DATE = <div class="ddoc_date">
757 <h4>Date</h4>
758 <p class="para">
759 $0
760 </p>
761 </div>$(LF)
762
763 DDOC_DEPRECATED = <div class="ddoc_deprecated">
764 <h4>Deprecated</h4>
765 <p class="para">
766 $0
767 </p>
768 </div>$(LF)
769
770 DDOC_HISTORY = <div class="ddoc_history">
771 <h4>History</h4>
772 <p class="para">
773 $0
774 </p>
775 </div>$(LF)
776
777 DDOC_SEE_ALSO = <div class="ddoc_see_also">
778 <h4>See Also</h4>
779 <p class="para">
780 $0
781 </p>
782 </div>$(LF)
783
784 DDOC_STANDARDS = <div class="ddoc_standards">
785 <h4>Standards</h4>
786 <p class="para">
787 $0
788 </p>
789 </div>
790
791 DDOC_THROWS = <div class="ddoc_throws">
792 <h4>Throws</h4>
793 <p class="para">
794 $0
795 </p>
796 </div>
797
798 DDOC_VERSION = <div class="ddoc_version">
799 <h4>Version</h4>
800 <p class="para">
801 $0
802 </p>
803 </div>
804
805 DDOC_SECTION = <div class="ddoc_section">
806 <p class="para">
807 $0
808 </p>
809 </div>$(LF)
810
811 DDOC_SECTION_H = <span class="ddoc_section_h">$0:</span>$(LF)
812
813 DDOC_DITTO = <br>
814 $0
815
816 DDOC_PSYMBOL = <code class="code">$0</code>
817 DDOC_ENUM_BASETYPE = $0
818 DDOC_PSUPER_SYMBOL = <span class="ddoc_psuper_symbol">$0</span>
819 DDOC_KEYWORD = <code class="code">$0</code>
820 DDOC_PARAM = <code class="code">$0</code>
821 DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0)
822 DDOC_OVERLOAD_SEPARATOR = $0
823 DDOC_TEMPLATE_PARAM_LIST = $0
824 DDOC_TEMPLATE_PARAM = $0
825 DDOC_LINK_AUTODETECT = $(LINK $0)
826 DDOC_AUTO_PSYMBOL = $(DDOC_PSYMBOL $0)
827 DDOC_AUTO_KEYWORD = $(DDOC_KEYWORD $0)
828 DDOC_AUTO_PARAM = $(DDOC_PARAM $0)
829 DDOC_AUTO_PSYMBOL_SUPPRESS = $0