gitpub-py 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,322 @@
1
+ /* ++++++++++++++++++++++ */
2
+ /* +++++ variables ++++++ */
3
+ /* ++++++++++++++++++++++ */
4
+
5
+ :root {
6
+ --small-font: 6pt;
7
+ --text-font: 9pt;
8
+ --small-header: 12pt;
9
+ --big-header: 16pt;
10
+
11
+ --text-font-family: 'Times New Roman', Times, serif;
12
+ --mono-font-family: 'Courier New', Courier, monospace;
13
+ }
14
+
15
+
16
+
17
+ /* ::::::::::::::::::::::: */
18
+ /* ::::: page styles ::::: */
19
+ /* ::::::::::::::::::::::: */
20
+
21
+ @page {
22
+ size: A5 portrait;
23
+ margin-top: 1.5cm;
24
+ margin-bottom: 1.5cm;
25
+ }
26
+
27
+ @page :right {
28
+ margin-left: 2cm; /*inner*/
29
+ margin-right: .5cm; /*outer*/
30
+
31
+ @bottom-right {
32
+ content: counter(page);
33
+ margin: 10pt 0 50pt 0;
34
+ font-family: var(--text-font-family);
35
+ font-size: var(--small-font);
36
+ font-weight: bold;
37
+ margin-top: 3em;
38
+ padding-right: 30%; /* to align it with main column */
39
+ }
40
+
41
+ @top-right {
42
+ content: string(section-title); /* running header */
43
+ font-size: var(--small-font);
44
+ font-weight: bold;
45
+ padding-right: 30%; /* to align it with main column */
46
+ }
47
+
48
+ }
49
+
50
+ @page :left {
51
+ margin-right: 2cm; /*inner*/
52
+ margin-left: .5cm; /*outer*/
53
+
54
+ @bottom-left {
55
+ content: counter(page);
56
+ margin: 10pt 0 50pt 0;
57
+ font-family: var(--text-font-family);
58
+ font-size: var(--small-font);
59
+ font-weight: bold;
60
+ margin-top: 3em;
61
+ padding-left: 30%;
62
+ }
63
+
64
+ @top-left {
65
+ content: string(section-title); /* running header */
66
+ font-size: var(--small-font);
67
+ font-weight: bold;
68
+ padding-left: 30%;
69
+ }
70
+
71
+ }
72
+
73
+ @page :first {
74
+ /* margin: 1.5cm; */
75
+
76
+ @bottom-right {
77
+ content: ""; /* no page numbers on first page */
78
+ }
79
+
80
+ @bottom-left {
81
+ content: ""; /* no page numbers on first page */
82
+ }
83
+ }
84
+
85
+
86
+
87
+ /* :::::::::::::::::::::::: */
88
+ /* :::: general styles :::: */
89
+ /* :::::::::::::::::::::::: */
90
+
91
+ body {
92
+ counter-reset: toc-head;
93
+ }
94
+
95
+ h1 {
96
+ font-size: var(--big-header);
97
+ break-after: avoid;
98
+ }
99
+
100
+ h1.file-header {
101
+ font-family: var(--mono-font-family);
102
+ text-transform: uppercase;
103
+ font-weight: normal;
104
+ margin-top: 0;
105
+ font-size: var(--small-font);
106
+ }
107
+
108
+ h1.file-header:not(#cover_page h1) {
109
+ string-set: section-title content(text);
110
+ }
111
+
112
+ h2 {
113
+ font-size: var(--small-header);
114
+ }
115
+
116
+ p, li, dl {
117
+ font-size: var(--text-font);
118
+ line-height: 1.35;
119
+ }
120
+
121
+ pre {
122
+ font-size: var(--small-font);
123
+ overflow-wrap: break-word;
124
+ white-space: break-spaces;
125
+ width: 100%;
126
+ margin: 5em 0;
127
+
128
+ code {
129
+ break-inside: avoid;
130
+ }
131
+ }
132
+
133
+ p {
134
+ hyphens: auto;
135
+ word-wrap: break-word;
136
+ white-space: wrap;
137
+ overflow-wrap: break-word;
138
+
139
+ code {
140
+ font-size: var(--text-font);
141
+ }
142
+ }
143
+
144
+ a {
145
+ color: black;
146
+ }
147
+
148
+ figure {
149
+ width: /* 100% */ calc(var(--pagedjs_page_content) - 30%); /* this is the width of the main column */
150
+ margin: 0;
151
+ break-inside: avoid;
152
+ }
153
+
154
+ p:has(img) {
155
+ break-inside: avoid;
156
+ width: calc(var(--pagedjs_page_content) - 30%) !important;
157
+ }
158
+
159
+ img {
160
+ display: block;
161
+ width: calc(var(--pagedjs_page_content) - 30%) !important;
162
+ /* height: auto; */
163
+ }
164
+
165
+ figcaption {
166
+ font-size: var(--small-font);
167
+ }
168
+
169
+
170
+
171
+ /* :::::::::::::::::::::::: */
172
+ /* ::::: cover styles ::::: */
173
+ /* :::::::::::::::::::::::: */
174
+
175
+ #cover_page {
176
+ h1 {
177
+ font-family: var(--mono-font-family);
178
+ text-transform: uppercase;
179
+ font-size: var(--big-header);
180
+ font-weight: normal;
181
+ }
182
+ }
183
+
184
+
185
+
186
+ /* :::::::::::::::::::::::::: */
187
+ /* :::: table of content :::: */
188
+ /* :::::::::::::::::::::::::: */
189
+
190
+ /* toc styling for 2 level list */
191
+
192
+ #toc {
193
+ break-before: right;
194
+ break-after: page;
195
+ list-style-type: none;
196
+ padding: 0;
197
+ font-family: var(--text-font-family);
198
+
199
+ /* add a headline to the toc */
200
+ &::before {
201
+ content: "Index";
202
+ font-family: var(--mono-font-family);
203
+ text-transform: uppercase;
204
+ font-size: var(--big-header);
205
+ margin-bottom: 0.67em; /* browser default h1 bottom margin */
206
+ display: block;
207
+ }
208
+
209
+ /* add numbers and indentation */
210
+ li.toc-heading::before {
211
+ counter-increment: toc-head;
212
+ content: counter(toc-head) ". ";
213
+ padding-right: 1.5cm;
214
+ }
215
+
216
+ li.toc-heading + li.toc-sub {
217
+ counter-reset: toc-sub;
218
+ }
219
+
220
+ li.toc-sub {
221
+ margin-left: 1cm;
222
+ }
223
+
224
+ li.toc-sub::before {
225
+ counter-increment: toc-sub;
226
+ content: counter(toc-head) "." counter(toc-sub) " ";
227
+ }
228
+
229
+ li a {
230
+ text-decoration: none;
231
+ }
232
+
233
+ }
234
+
235
+ .pagedjs_left_page [data-id="toc"] {
236
+ margin-left: 30%;
237
+ }
238
+
239
+
240
+
241
+ /* ::::::::::::::::::::::::: */
242
+ /* :::: metadata styles :::: */
243
+ /* ::::::::::::::::::::::::: */
244
+
245
+ /* sync metadata with main column by this element */
246
+ .file-header {
247
+ --paged-parallel-sync: meta;
248
+ }
249
+
250
+ #all-main {
251
+ --parallel-flow: meta;
252
+ width: 70%;
253
+ position: absolute;
254
+ break-before: page;
255
+ }
256
+
257
+ #all-meta {
258
+ --parallel-flow: meta;
259
+ width: 30%;
260
+ break-before: page;
261
+ }
262
+
263
+ /* place metadata on the outside margin always */
264
+ .pagedjs_right_page #all-main {
265
+ left: 0 !important;
266
+ }
267
+
268
+ .pagedjs_right_page #all-meta {
269
+ text-align: left;
270
+ margin-left: 70% !important;
271
+ left: 0 !important;
272
+ }
273
+
274
+ .pagedjs_left_page #all-main {
275
+ left: 30% !important;
276
+ }
277
+
278
+ .pagedjs_left_page #all-meta {
279
+ left: 0 !important;
280
+ }
281
+
282
+ .metablock {
283
+ margin: .25cm;
284
+ margin-top: 0;
285
+ margin-bottom: .5cm;
286
+ font-family: var(--mono-font-family);
287
+
288
+ p {
289
+ margin: 0;
290
+ font-size: var(--small-font);
291
+
292
+ span {
293
+ font-family: var(--text-font-family);
294
+ font-size: var(--small-font);
295
+ vertical-align: super;
296
+ }
297
+ }
298
+
299
+ ul {
300
+ margin: 0;
301
+ list-style-type: circle;
302
+ width: 30%;
303
+
304
+ li {
305
+ font-size: var(--small-font);
306
+ }
307
+ }
308
+ }
309
+
310
+
311
+ /* render references for all files not individual */
312
+ .references {
313
+ display: none;
314
+ }
315
+
316
+ #references + .references {
317
+ display: block !important;
318
+ }
319
+
320
+ .csl-entry {
321
+ font-size: var(--text-font);
322
+ }