Debian Codegraph @

texmf-dist/doc/support/arara/resources/manual.css

raw symbols SCIP
1 /**
2 * Based on the report example of weasyprint:
3 * https://github.com/CourtBouillon/weasyprint-samples/tree/master/report
4 */
5 @font-face {
6 font-family: 'Fira Sans';
7 font-weight: 400;
8 src: url('firasans-regular.otf');
9 }
10 @font-face {
11 font-family: 'Fira Sans';
12 font-style: italic;
13 font-weight: 400;
14 src: url('firasans-italic.otf');
15 }
16 @font-face {
17 font-family: 'Fira Sans';
18 font-weight: 300;
19 src: url('firasans-light.otf');
20 }
21 @font-face {
22 font-family: 'Fira Sans';
23 font-style: italic;
24 font-weight: 300;
25 src: url('firasans-lightitalic.otf');
26 }
27 @font-face {
28 font-family: 'Fira Sans';
29 font-weight: 700;
30 src: url('firasans-bold.otf');
31 }
32
33 @font-face {
34 font-family: 'Cascadia Mono';
35 font-weight: 200;
36 src: url('CascadiaMono-ExtraLight.otf');
37 }
38 @font-face {
39 font-family: 'Cascadia Mono';
40 font-style: italic;
41 font-weight: 200;
42 src: url('CascadiaMono-ExtraLightItalic.otf');
43 }
44 @font-face {
45 font-family: 'Cascadia Mono';
46 font-weight: 300;
47 src: url('CascadiaMono-Light.otf');
48 }
49 @font-face {
50 font-family: 'Cascadia Mono';
51 font-style: italic;
52 font-weight: 300;
53 src: url('CascadiaMono-LightItalic.otf');
54 }
55 @font-face {
56 font-family: 'Cascadia Mono';
57 font-weight: 400;
58 src: url('CascadiaMono-Regular.otf');
59 }
60 @font-face {
61 font-family: 'Cascadia Mono';
62 font-style: italic;
63 font-weight: 400;
64 src: url('CascadiaMono-Italic.otf');
65 }
66
67 :root {
68 --highlight-bg-color: #cbe368;
69 --highlight-link-color: #719b25;
70 --table-cell-top-padding: 2mm;
71 }
72
73 @page {
74 @bottom-right {
75 background-color: var(--highlight-bg-color);
76 content: counter(page);
77 height: 1cm;
78 text-align: center;
79 width: 1cm;
80 }
81 @bottom-center {
82 background-color: var(--highlight-bg-color);
83 content: '';
84 display: block;
85 height: .05cm;
86 opacity: .5;
87 width: 100%;
88 }
89 @bottom-left {
90 content: string(heading);
91 font-size: 9pt;
92 height: 1cm;
93 vertical-align: middle;
94 width: 100%;
95 }
96 }
97 @page :blank {
98 @bottom-right { background: none; content: '' }
99 @bottom-center { content: none }
100 @bottom-left { content: none }
101 }
102 @page no-chapter {
103 @top-left { background: none; content: none }
104 @top-center { content: none }
105 @top-right { content: none }
106 }
107 @page cover {
108 margin: 0;
109 }
110
111 html {
112 color: #393939;
113 font-family: 'Fira Sans';
114 font-size: 11pt;
115 font-weight: 300;
116 line-height: 1.5;
117 font-variant-ligatures: common-ligatures;
118 font-variant-numeric: oldstyle-nums tabular-nums;
119 text-align: justify;
120 hyphens: auto;
121 }
122
123 h1 {
124 break-before: always;
125 color: var(--highlight-bg-color);
126 font-size: 38pt;
127 margin: 2cm 0 1cm 0;
128 page: no-chapter;
129 /* see https://www.w3.org/TR/css-content-3/#bookmark-state */
130 bookmark-state: closed;
131 width: 100%;
132 }
133 h2, h3, h4 {
134 color: black;
135 font-weight: 400;
136 bookmark-state: closed;
137 }
138 h2 {
139 font-size: 28pt;
140 string-set: heading content();
141 }
142 h3 {
143 font-weight: 300;
144 font-size: 15pt;
145 }
146 h4 {
147 font-size: 13pt;
148 }
149
150 pre {
151 background-color: #fcfcfc !important;
152 padding: 1.25em 1.5em;
153 white-space: pre;
154 word-wrap: normal;
155 font-size: .875em;
156 }
157
158 code {
159 font-family: 'Cascadia Mono';
160 font-weight: 200;
161 }
162
163 a {
164 color: var(--highlight-link-color);
165 text-decoration: none;
166 font-variant: small-caps;
167 }
168
169 table {
170 border-collapse: collapse;
171 width: 100%;
172 page-break-before: avoid;
173 page-break-inside: auto;
174 }
175 tr {
176 page-break-inside:avoid;
177 page-break-after:auto;
178 }
179 thead {
180 display:table-header-group;
181 }
182 tfoot {
183 display:table-footer-group;
184 }
185 th {
186 border-bottom: .2mm solid;
187 border-color: var(--highlight-bg-color);
188 color: var(--highlight-bg-color);
189 font-size: 10pt;
190 font-weight: 400;
191 padding-bottom: .175cm;
192 font-variant: small-caps;
193 }
194 td {
195 padding-top: var(--table-cell-top-padding);
196 }
197 td:last-of-type {
198 text-align: right;
199 }
200 th:first-of-type, td:first-of-type {
201 text-align: left;
202 }
203 th:last-of-type, td:last-of-type {
204 text-align: right;
205 }
206
207 .tex sub, .latex sub, .latex sup {
208 text-transform: uppercase;
209 }
210
211 .tex sub, .latex sub {
212 vertical-align: -0.08cm;
213 margin-left: -0.065cm;
214 margin-right: 0cm;
215 }
216
217 .tex, .latex, .tex sub, .latex sub {
218 font-size: 100%;
219 }
220
221 .latex sup {
222 font-size: 85%;
223 vertical-align: 0.06cm;
224 margin-left: -0.15cm;
225 margin-right: -0.09cm;
226 }
227
228 .upright {
229 font-style: normal;
230 margin-left: -.11cm;
231 margin-right: -.11cm;
232 }
233
234 #cover {
235 align-content: space-between;
236 display: flex;
237 flex-wrap: wrap;
238 height: 297mm;
239 page: cover;
240 }
241 #cover #coverimg img {
242 display: block;
243 width: 14cm;
244 margin-left: 3.5cm;
245 margin-top: 3cm;
246 }
247 #cover #refbox {
248 width: 12cm;
249 background-color: #00b847;
250 color: #ffffff;
251 font-size: 24pt;
252 margin-left: 3.5cm;
253 margin-top: 1.5cm;
254 margin-bottom: 1.5cm;
255 padding: .5cm 1cm;
256 text-align: center;
257 }
258 #cover #metadata {
259 width: 14cm;
260 margin-left: 3.5cm;
261 margin-bottom: 2.5cm;
262 font-size: 14pt;
263 text-align: center;
264 }
265 #cover #metadata * {
266 display: block;
267 }
268 #cover #metadata img {
269 height: 3.5cm;
270 margin-left: auto;
271 margin-right: auto;
272 }
273
274 #license blockquote {
275 margin-top: 1cm;
276 }
277
278 #contents {
279 break-before: right;
280 break-after: left;
281 page: no-chapter;
282 }
283 #contents h2 {
284 font-size: 20pt;
285 font-weight: 400;
286 margin-bottom: 3cm;
287 }
288 #contents h3 {
289 font-weight: 500;
290 margin: 3em 0 1em;
291 }
292 #contents h3::before {
293 background-color: var(--highlight-bg-color);
294 content: '';
295 display: block;
296 height: .08cm;
297 margin-bottom: .25cm;
298 width: 2cm;
299 }
300 #contents ul {
301 list-style: none;
302 padding-left: 0;
303 }
304 #contents a {
305 font-variant: normal;
306 }
307 #contents ul > li {
308 border-top: .25pt solid #c1c1c1;
309 margin: .25cm 0;
310 padding-top: .25cm;
311 }
312 #contents ul > li li {
313 border: none;
314 margin-top: .1cm;
315 margin-bottom: .1cm;
316 margin-left: .75cm;
317 padding-top: 0;
318 }
319 #contents ul > li li li {
320 margin-left: 1.5cm;
321 }
322 #contents ul > li li li li {
323 margin-left: 2.25cm;
324 }
325 #contents ul > li li li li li {
326 margin-left: 3cm;
327 }
328 #contents ul > li li li li li li {
329 margin-left: 3.75cm;
330 }
331 #contents ul li::before {
332 color: var(--highlight-bg-color);
333 content: '• ';
334 font-size: 40pt;
335 line-height: 16pt;
336 vertical-align: bottom;
337 }
338 #contents ul li a {
339 color: inherit;
340 text-decoration-line: inherit;
341 }
342 #contents ul li a::before {
343 content: target-text(attr(href));
344 }
345 #contents ul li a::after {
346 color: var(--highlight-bg-color);
347 content: target-counter(attr(href), page);
348 float: right;
349 }
350
351 #skills h3 {
352 background-color: var(--highlight-bg-color);
353 margin: 0 -3cm 1cm;
354 padding: 1cm 1cm 1cm 3cm;
355 width: 21cm;
356 }
357 #skills section {
358 padding: .5cm 0;
359 }