|
29 | 29 | </script>
|
30 | 30 |
|
31 | 31 | <style type="text/css">
|
32 |
| - code{white-space: pre-wrap;} |
33 |
| - span.smallcaps{font-variant: small-caps;} |
34 |
| - span.underline{text-decoration: underline;} |
35 |
| - div.column{display: inline-block; vertical-align: top; width: 50%;} |
36 |
| - div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} |
37 |
| - ul.task-list{list-style: none;} |
38 |
| - </style> |
| 32 | +code{white-space: pre-wrap;} |
| 33 | +span.smallcaps{font-variant: small-caps;} |
| 34 | +span.underline{text-decoration: underline;} |
| 35 | +div.column{display: inline-block; vertical-align: top; width: 50%;} |
| 36 | +div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} |
| 37 | +ul.task-list{list-style: none;} |
| 38 | +</style> |
39 | 39 |
|
40 | 40 |
|
41 | 41 |
|
42 | 42 | <style type="text/css">
|
43 |
| - code { |
44 |
| - white-space: pre; |
45 |
| - } |
46 |
| - .sourceCode { |
47 |
| - overflow: visible; |
48 |
| - } |
| 43 | +code { |
| 44 | +white-space: pre; |
| 45 | +} |
| 46 | +.sourceCode { |
| 47 | +overflow: visible; |
| 48 | +} |
49 | 49 | </style>
|
50 | 50 | <style type="text/css" data-origin="pandoc">
|
51 | 51 | pre > code.sourceCode { white-space: pre; position: relative; }
|
|
63 | 63 | pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
|
64 | 64 | }
|
65 | 65 | pre.numberSource code
|
66 |
| - { counter-reset: source-line 0; } |
| 66 | +{ counter-reset: source-line 0; } |
67 | 67 | pre.numberSource code > span
|
68 |
| - { position: relative; left: -4em; counter-increment: source-line; } |
| 68 | +{ position: relative; left: -4em; counter-increment: source-line; } |
69 | 69 | pre.numberSource code > span > a:first-child::before
|
70 |
| - { content: counter(source-line); |
71 |
| - position: relative; left: -1em; text-align: right; vertical-align: baseline; |
72 |
| - border: none; display: inline-block; |
73 |
| - -webkit-touch-callout: none; -webkit-user-select: none; |
74 |
| - -khtml-user-select: none; -moz-user-select: none; |
75 |
| - -ms-user-select: none; user-select: none; |
76 |
| - padding: 0 4px; width: 4em; |
77 |
| - color: #aaaaaa; |
78 |
| - } |
79 |
| -pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; } |
| 70 | +{ content: counter(source-line); |
| 71 | +position: relative; left: -1em; text-align: right; vertical-align: baseline; |
| 72 | +border: none; display: inline-block; |
| 73 | +-webkit-touch-callout: none; -webkit-user-select: none; |
| 74 | +-khtml-user-select: none; -moz-user-select: none; |
| 75 | +-ms-user-select: none; user-select: none; |
| 76 | +padding: 0 4px; width: 4em; |
| 77 | +color: #aaaaaa; |
| 78 | +} |
| 79 | +pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; } |
80 | 80 | div.sourceCode
|
81 |
| - { } |
| 81 | +{ } |
82 | 82 | @media screen {
|
83 | 83 | pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
84 | 84 | }
|
85 |
| -code span.al { color: #ff0000; font-weight: bold; } /* Alert */ |
86 |
| -code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */ |
87 |
| -code span.at { color: #7d9029; } /* Attribute */ |
88 |
| -code span.bn { color: #40a070; } /* BaseN */ |
89 |
| -code span.bu { } /* BuiltIn */ |
90 |
| -code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */ |
91 |
| -code span.ch { color: #4070a0; } /* Char */ |
92 |
| -code span.cn { color: #880000; } /* Constant */ |
93 |
| -code span.co { color: #60a0b0; font-style: italic; } /* Comment */ |
94 |
| -code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */ |
95 |
| -code span.do { color: #ba2121; font-style: italic; } /* Documentation */ |
96 |
| -code span.dt { color: #902000; } /* DataType */ |
97 |
| -code span.dv { color: #40a070; } /* DecVal */ |
98 |
| -code span.er { color: #ff0000; font-weight: bold; } /* Error */ |
99 |
| -code span.ex { } /* Extension */ |
100 |
| -code span.fl { color: #40a070; } /* Float */ |
101 |
| -code span.fu { color: #06287e; } /* Function */ |
102 |
| -code span.im { } /* Import */ |
103 |
| -code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ |
104 |
| -code span.kw { color: #007020; font-weight: bold; } /* Keyword */ |
105 |
| -code span.op { color: #666666; } /* Operator */ |
106 |
| -code span.ot { color: #007020; } /* Other */ |
107 |
| -code span.pp { color: #bc7a00; } /* Preprocessor */ |
108 |
| -code span.sc { color: #4070a0; } /* SpecialChar */ |
109 |
| -code span.ss { color: #bb6688; } /* SpecialString */ |
110 |
| -code span.st { color: #4070a0; } /* String */ |
111 |
| -code span.va { color: #19177c; } /* Variable */ |
112 |
| -code span.vs { color: #4070a0; } /* VerbatimString */ |
113 |
| -code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */ |
114 |
| - |
| 85 | +code span.al { color: #ff0000; font-weight: bold; } |
| 86 | +code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } |
| 87 | +code span.at { color: #7d9029; } |
| 88 | +code span.bn { color: #40a070; } |
| 89 | +code span.bu { color: #008000; } |
| 90 | +code span.cf { color: #007020; font-weight: bold; } |
| 91 | +code span.ch { color: #4070a0; } |
| 92 | +code span.cn { color: #880000; } |
| 93 | +code span.co { color: #60a0b0; font-style: italic; } |
| 94 | +code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } |
| 95 | +code span.do { color: #ba2121; font-style: italic; } |
| 96 | +code span.dt { color: #902000; } |
| 97 | +code span.dv { color: #40a070; } |
| 98 | +code span.er { color: #ff0000; font-weight: bold; } |
| 99 | +code span.ex { } |
| 100 | +code span.fl { color: #40a070; } |
| 101 | +code span.fu { color: #06287e; } |
| 102 | +code span.im { color: #008000; font-weight: bold; } |
| 103 | +code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } |
| 104 | +code span.kw { color: #007020; font-weight: bold; } |
| 105 | +code span.op { color: #666666; } |
| 106 | +code span.ot { color: #007020; } |
| 107 | +code span.pp { color: #bc7a00; } |
| 108 | +code span.sc { color: #4070a0; } |
| 109 | +code span.ss { color: #bb6688; } |
| 110 | +code span.st { color: #4070a0; } |
| 111 | +code span.va { color: #19177c; } |
| 112 | +code span.vs { color: #4070a0; } |
| 113 | +code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } |
115 | 114 | </style>
|
116 | 115 | <script>
|
117 | 116 | // apply pandoc div.sourceCode style to pre.sourceCode instead
|
|
0 commit comments