scholarmarkdown 2.1.0 → 2.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4650d554c5fb9b56be591e5d44adab36e33562b7ee5299e860d1e17bbf9c801d
4
- data.tar.gz: 9c80a577b53c8d07cb2410aa5fb14db85190af804693b9dce98043776bdae8b9
3
+ metadata.gz: f6e6ae8f3ba0a0f91caa917346eeea6b24b816c1ebce21fd33dae27b29a2454c
4
+ data.tar.gz: 655aae4852c25beaf535413e41f1b4b77d1059af4afd36b7d0c3b9b2fd20f3b3
5
5
  SHA512:
6
- metadata.gz: 2d25e98d9bb6efa14da00e7c06aec74754b34e0ec5b45215a7aa4246fc274b754e6be339eb00755351040f0b4a5d42170f501ccc9ff4bd586cb5f6ac20d2ce5c
7
- data.tar.gz: 0d63f18a7563383067608e33dfa24d8f8e463c1f6f4a28866a59cbeae191a4eca3b20950e9578e912c6ee8b50944392536aea947bfbeb5ea304770525390c33b
6
+ metadata.gz: 823bc3a3ed656cc209b4a292998c6e2bc9660739f19504ad1c7568455e47857fe3a9ecff4419a95ed186a34de89d09de96663eb36b217cd8c74890313a740e17
7
+ data.tar.gz: 6b2d0c1a292bd989ed322f963b5abd2957e3eaf6cf6f60688fc1a444071b3f08f10350f94dcbb9869ecfc5aa3a698be5efea19cca37e3ffe129c0b8ca5af87f2
data/README.md CHANGED
@@ -27,6 +27,8 @@ $ cd my-awesome-article
27
27
  $ bundle install
28
28
  ```
29
29
 
30
+ _If you want to output articles in the double-column ACM template, execute `generate-scholarmarkdown my-awesome-article acm` instead._
31
+
30
32
  #### 3. Compile your article
31
33
 
32
34
  _This will start a live webserver that will continuously compile your article files upon any change._
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.0
@@ -17,3 +17,10 @@ end
17
17
  puts 'Initializing project at ' + targetdir
18
18
  Dir.mkdir(targetdir)
19
19
  FileUtils.copy_entry(templatedir, targetdir)
20
+
21
+ type = ARGV[1]
22
+ if type == 'acm'
23
+ # Override with ACM-specific files
24
+ templatediracm = File.dirname(__FILE__) + '/template_override_acm'
25
+ FileUtils.copy_entry(templatediracm, targetdir)
26
+ end
@@ -12,7 +12,7 @@ gem 'rubypants'
12
12
  gem 'sass'
13
13
 
14
14
  # references
15
- gem 'i18n'
15
+ gem 'i18n', '< 1.1'
16
16
  gem 'latex-decode'
17
17
  gem 'unicode_utils'
18
18
  gem 'citeproc-ruby', '>= 1.1.6'
@@ -1,5 +1,6 @@
1
1
  @import "lncs.scss";
2
2
  @import "shared.scss";
3
+ @import "shared_override.scss";
3
4
 
4
5
  header {
5
6
  .actions, .context {
@@ -14,6 +14,10 @@
14
14
  }
15
15
  }
16
16
 
17
+ .printonly {
18
+ display: none;
19
+ }
20
+
17
21
  img.plot {
18
22
  width: auto;
19
23
  height: 16em;
@@ -102,15 +106,15 @@ header {
102
106
  margin-right: .15em;
103
107
  }
104
108
  }
109
+ }
105
110
 
106
- #abstract {
107
- font-weight: bold;
108
- hyphens: auto;
109
- padding-bottom: 10px;
111
+ #abstract {
112
+ font-weight: bold;
113
+ hyphens: auto;
114
+ padding-bottom: 10px;
110
115
 
111
- h2 {
112
- display: none;
113
- }
116
+ h2 {
117
+ display: none;
114
118
  }
115
119
  }
116
120
 
@@ -395,3 +399,4 @@ tbody th {
395
399
  }
396
400
 
397
401
  @import "shared.scss";
402
+ @import "shared_override.scss";
@@ -0,0 +1,38 @@
1
+ ## Abstract
2
+ <!-- Context -->
3
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
4
+ <!-- Need -->
5
+ Vestibulum finibus dignissim augue, id pellentesque est facilisis non.
6
+ <!-- Task -->
7
+ Donec fringilla dolor non neque iaculis blandit.
8
+ <!-- Object -->
9
+ Praesent aliquet eleifend iaculis.
10
+ <!-- Findings -->
11
+ Quisque pellentesque at odio ac bibendum.
12
+ <!-- Conclusion -->
13
+ Pellentesque imperdiet felis urna, quis facilisis lacus gravida non.
14
+ <!-- Perspectives -->
15
+ Donec quis lectus eget sem tempor tristique pellentesque in dolor.
16
+
17
+ <span id="keywords" rel="schema:about"><span class="title">Keywords</span>
18
+ <a href="https://en.wikipedia.org/wiki/Linked_Data" resource="http://dbpedia.org/resource/Linked_Data">Linked Data</a>;
19
+ <a href="https://en.wikipedia.org/wiki/Resource_Description_Framework" resource="http://dbpedia.org/resource/Resource_Description_Framework">RDF</a>
20
+ </span>
21
+
22
+ <span class="printonly" id="acmreferenceformat">
23
+ <span class="title">ACM Reference Format:</span>
24
+ Doe, J. My Awesome Article. In <i>Conference Companion: The Conference Companion, April 23—27, 2018, Lyon, France</i>. Publisher, New York, NY, USA, 4 pages.
25
+ <i>http://dx.doi.org/1.2/111.222</i>
26
+ </span>
27
+
28
+ <span class="printonly firstpagefooter">
29
+ <span class="footnotecopyright">
30
+ This paper is published under the Creative Commons Attribution 4.0 International (CC-BY 4.0) license.
31
+ Authors reserve their rights to disseminate the work on their personal and corporate Web sites with the appropriate attribution.<br />
32
+ <span style="font-style:italic">CONFERENCE</span><br />
33
+ ©2018 Copyright,
34
+ published under Creative Commons CC BY 4.0 License.<br />
35
+ Publisher 1122.<br />
36
+ DOI: http://dx.doi.org/1.2/111.222
37
+ </span>
38
+ </span>
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: "My Awesome Article"
3
+ ---
4
+ <header markdown="1">
5
+ # <%= @item[:title] %>
6
+
7
+ {:#authors}
8
+ - <%= person 'John Doe', 'http://www.example.org/', 'http://www.example.org/#me' %>
9
+
10
+ {:#affiliations}
11
+ - {:#myaffiliation} Awesome Inc.
12
+
13
+ </header>
14
+
15
+ <!-- Hack to make our custom fonts load in print-mode -->
16
+ <!-- https://stackoverflow.com/questions/39364259/chrome-print-preview-doesnt-load-media-only-print-font-face -->
17
+ <span class='printfont1'> </span>
18
+ <span class='printfont2'> </span>
19
+ <span class='printfont3'> </span>
20
+ <span class='printfont4'> </span>
21
+
22
+ <div class="double-column">
23
+
24
+ <%= section 'abstract' %>
25
+
26
+ <main>
27
+ <!-- Add sections by specifying their file name, excluding the '.md' suffix. -->
28
+ <%= section 'introduction' %>
29
+ </main>
30
+
31
+ <footer></footer>
32
+
33
+ </div>
@@ -0,0 +1,1084 @@
1
+ /** ACM SIG
2
+ *
3
+ * Sarven Capadisli <info@csarven.ca> http://csarven.ca/#i
4
+ * http://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0
5
+ * https://github.com/linkeddata/dokieli
6
+ */
7
+
8
+ /*
9
+ ACM SIG template styles http://www.acm.org/sigs/publications/sigguide-v2.2sp
10
+ */
11
+
12
+ @media print {
13
+ @page {
14
+ margin:1.9cm 1.9cm 2.54cm 1.9cm;
15
+ /*size:18cm 23.5cm;*/
16
+ }
17
+
18
+ #repeating-title {
19
+ display: none;
20
+ }
21
+
22
+ body {
23
+ font-size:9pt !important;
24
+ padding:0 !important;
25
+ margin:0 auto !important;
26
+ width:18cm !important;
27
+ height:19.06cm !important; /*US Letter - ACM Height */
28
+ }
29
+
30
+ h1 { font-size:17pt !important; }
31
+ h2 { font-size:11pt !important; }
32
+ h3 { font-size:11pt !important; }
33
+ h4 { font-size:11pt !important; }
34
+ /*h5 { font-size:10pt !important; }
35
+ h6 { font-size:9pt !important; }*/
36
+ h1 sup { font-size:9pt !important; }
37
+
38
+ body > nav,
39
+ body > header nav,
40
+ body > footer nav { display:none; }
41
+
42
+ a, abbr {
43
+ text-decoration:none;
44
+ color:#000;
45
+ }
46
+ audio { display:none; }
47
+ iframe { display:none !important; }
48
+
49
+ #references ol {
50
+ font-family:"Linux Libertine", serif;
51
+ font-size:9pt;
52
+ }
53
+
54
+ .author-name {
55
+ font-size:12pt;
56
+ display:block;
57
+ }
58
+
59
+ #affiliations {
60
+ display:none;
61
+ }
62
+
63
+ .author-org {
64
+ font-size:10pt;
65
+ display:block;
66
+ }
67
+
68
+ .author-email {
69
+ font-size:10pt;
70
+ font-style:italic;
71
+ display:block;
72
+ }
73
+
74
+ #content {
75
+ -webkit-columns:8.45cm 2;
76
+ -webkit-column-count:2;
77
+ -webkit-column-width:8.45cm;
78
+ -webkit-column-gap:0.83cm;
79
+ -moz-columns:8.45cm 2;
80
+ -moz-column-count:2;
81
+ -moz-column-width:8.45cm;
82
+ -moz-column-gap:0.83cm;
83
+ columns:8.45cm 2;
84
+ column-count:2;
85
+ column-width:8.45cm;
86
+ column-gap:0.83cm;
87
+ }
88
+
89
+ .blink {
90
+ animation:none;
91
+ -webkit-animation:none;
92
+ }
93
+
94
+ button {
95
+ margin:0 !important;
96
+ padding:0 !important;
97
+ font-size:9pt;
98
+ }
99
+
100
+ figure pre {
101
+ font-size:6pt;
102
+ }
103
+
104
+ }
105
+
106
+
107
+ * { margin:0; padding:0; filter:none !important; }
108
+ img { border:0; }
109
+
110
+ h2, h3, h4, h5, h6, p, ul, ol, li, pre, figure {
111
+ orphans:2;
112
+ widows:2;
113
+ }
114
+
115
+ body {
116
+ font-size:100%;
117
+ font-family:"Linux Libertine", serif;
118
+ /*position:relative;*/
119
+ counter-reset:section;
120
+ counter-reset:sub-section;
121
+ margin:0 auto;
122
+ padding:2em 0;
123
+ width:56.06em;
124
+ -moz-hyphens:auto;
125
+ -webkit-hyphens:auto;
126
+ -ms-hyphens:auto;
127
+ hyphens:auto;
128
+ }
129
+ h1, #authors, #keywords, #categories-and-subject-descriptors, #general-terms, #references, pre, code, samp {
130
+ -moz-hyphens:none;
131
+ -webkit-hyphens:none;
132
+ -ms-hyphens:none;
133
+ hyphens:none;
134
+ }
135
+
136
+ #keywords, #ccsconcepts {
137
+ display: block;
138
+ margin-bottom: 0.5em;
139
+ text-transform:capitalize;
140
+ .title {
141
+ text-transform: uppercase;
142
+ display: block;
143
+ font-weight: bold;
144
+ font-size:1.333em;
145
+ margin: 0.75em 0 0.25em;
146
+ }
147
+ }
148
+
149
+ .firstpagefooter {
150
+ position: absolute;
151
+ right: 0;
152
+ bottom: 0;
153
+ left: 0;
154
+ width: 48%;
155
+ }
156
+
157
+ .footnotecopyright {
158
+ border-top: 1px solid black;
159
+ padding-top: 3px;
160
+ display: block;
161
+ line-height:1.1em;
162
+ font-size:0.8em;
163
+ }
164
+
165
+ #acmreferenceformat {
166
+ display: block;
167
+ line-height:1.2em;
168
+ font-size: 0.9em;
169
+ margin-bottom: 0.5em;
170
+ .title {
171
+ display: block;
172
+ font-weight: bold;
173
+ margin: 0.5em 0 0.25em;
174
+ }
175
+ }
176
+
177
+ #acknowledgements {
178
+ margin-top: 0.6em;
179
+ }
180
+
181
+ header {
182
+ .actions, .context {
183
+ display: none;
184
+ }
185
+ }
186
+
187
+ table, figure img, object, iframe, figure, audio, video, canvas { page-break-inside:avoid; }
188
+ object, iframe {
189
+ width:100% !important;
190
+ height:auto !important;
191
+ min-height:240px !important;
192
+ }
193
+ figure img, video { max-width:100% !important; height:auto !important; }
194
+
195
+
196
+ /*
197
+ XXX:column-width doesn't seem to get applied in Firefox
198
+ https://bugzilla.mozilla.org/show_bug.cgi?id=684062
199
+
200
+ */
201
+ .double-column {
202
+ clear:both;
203
+ float:left;
204
+ width:100%;
205
+ -webkit-column-count:2;
206
+ -webkit-column-gap:1.9em;
207
+ -moz-column-count:2;
208
+ -moz-column-gap:1.9em;
209
+ /*columns:2 8.45cm;*/
210
+ column-count:2;
211
+ column-gap:1.9em;
212
+ }
213
+
214
+ ol, ul, table, figure {
215
+ margin-bottom:1em;
216
+ }
217
+ ul, ol {
218
+ margin-left:1em;
219
+ }
220
+
221
+ h1 {
222
+ margin:0.75em auto 0.25em auto;
223
+ font-family: 'Linux Biolinum', sans-serif;
224
+ font-size:1.75em;
225
+ text-align:center;
226
+ }
227
+ aside article h1 { text-align:left; }
228
+ h1 sup,
229
+ #subtitle sup,
230
+ #authors sup {
231
+ font-weight:300;
232
+ font-size:0.5715em;
233
+ position:relative;
234
+ top:-3px;
235
+ }
236
+ #authors sup {
237
+ margin:0 0.1em;
238
+ }
239
+
240
+ h2, h3,
241
+ #document-identifier dt,
242
+ #document-published dt,
243
+ #document-modified dt,
244
+ #document-appeared dt,
245
+ #document-in-reply-to dt,
246
+ #document-annotation-service dt,
247
+ #document-license dt,
248
+ #document-format dt,
249
+ #document-inbox dt,
250
+ #document-see-also dt,
251
+ #appendix dt {
252
+ font-size:1.333em;
253
+ }
254
+ h4 {
255
+ font-size:1.2226em;
256
+ }
257
+ h2, dt {
258
+ font-weight:bold;
259
+ text-transform:uppercase;
260
+ }
261
+ h3 {
262
+ text-transform:capitalize;
263
+ }
264
+ h4 {
265
+ font-weight:normal;
266
+ font-style:italic;
267
+ text-transform:capitalize;
268
+ }
269
+
270
+ #subtitle {
271
+ font-family:Arial, sans-serif;
272
+ font-size:1.5em;
273
+ text-align:center;
274
+ }
275
+ h2 {
276
+ margin-top:1em;
277
+ }
278
+ #content section:first-child h2 {
279
+ margin-top:0;
280
+ }
281
+
282
+ h3, h4, h5, h6 {
283
+ margin-top:1em;
284
+ }
285
+
286
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) {
287
+ counter-increment:section;
288
+ counter-reset:sub-section;
289
+ }
290
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) h3 {
291
+ counter-increment:sub-section;
292
+ counter-reset:sub-sub-section;
293
+ }
294
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) h4 {
295
+ counter-increment:sub-sub-section;
296
+ counter-reset:sub-sub-sub-section;
297
+ }
298
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]):not([id^=table-of-]) > h2:before {
299
+ content:counter(section) "\00a0\00a0\00a0\00a0";
300
+ }
301
+ section > h3:before {
302
+ content:counter(section) "." counter(sub-section) "\00a0\00a0\00a0";
303
+ }
304
+ section > h4:before {
305
+ content:counter(section)"." counter(sub-section) "." counter(sub-sub-section) "\00a0\00a0\00a0";
306
+ }
307
+
308
+ p, ol, ul, dl {
309
+ text-align:justify;
310
+ }
311
+
312
+ li {
313
+ /*list-style-position:inside;*/
314
+ margin-bottom:0.25em;
315
+ }
316
+
317
+ code, samp {
318
+ font-size:0.95em;
319
+ font-family:"Courier New", monospace;
320
+ word-wrap:break-word;
321
+ }
322
+
323
+ p + math, ul + math, ol + math, dl + math, dd > math, div + math, section + math {
324
+ text-align:center;
325
+ margin-top:1em;
326
+ margin-bottom:1em;
327
+ }
328
+ p + math, ul + math, ol + math, dl + math, dd > math, div + math, section + math,
329
+ figure math {
330
+ display:block;
331
+ font-size:0.95em;
332
+ }
333
+ figure object,
334
+ figure img,
335
+ figure pre {
336
+ margin-bottom:1em;
337
+ }
338
+ figcaption,
339
+ caption {
340
+ font-weight:bold;
341
+ text-align:center;
342
+ }
343
+
344
+ .toc, .toc ol {
345
+ list-style:none;
346
+ -moz-hyphens:none;
347
+ -webkit-hyphens:none;
348
+ -ms-hyphens:none;
349
+ hyphens:none;
350
+ }
351
+ .toc ol,
352
+ .toc li {
353
+ margin:0;
354
+ text-align:left !important;
355
+ }
356
+
357
+ .toc li {
358
+ list-style-position:outside;
359
+ list-style-type:none;
360
+ margin-left:1.25em;
361
+ margin-bottom:0.25em;
362
+ }
363
+ .toc li:before {
364
+ margin-left:-1.25em;
365
+ }
366
+
367
+ .toc li:not([data-id=abstract]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
368
+ counter-increment:s;
369
+ counter-reset:sub-s;
370
+ }
371
+
372
+ .toc li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
373
+ counter-increment:sub-s;
374
+ counter-reset:sub-sub-s;
375
+ }
376
+ .toc li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
377
+ counter-increment:sub-sub-s;
378
+ counter-reset:sub-sub-sub-s;
379
+ }
380
+ .toc li li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
381
+ counter-increment:sub-sub-sub-s;
382
+ counter-reset:sub-sub-sub-sub-s;
383
+ }
384
+ .toc li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
385
+ content:"\00a0" counter(s) "\00a0";
386
+ }
387
+ .toc li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
388
+ content:"\00a0" counter(s) "." counter(sub-s) "\00a0";
389
+ }
390
+ .toc li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
391
+ content:"\00a0" counter(s) "." counter(sub-s) "." counter(sub-sub-s) "\00a0";
392
+ }
393
+ .toc li li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
394
+ content:"\00a0" counter(s) "." counter(sub-s) "." counter(sub-sub-s) "." counter(sub-sub-sub-s) "\00a0";
395
+ }
396
+
397
+ .toc li[data-id=abstract]:before, .toc li[data-id=document-status]:before, .toc li[data-id=keywords]:before, .toc li[data-id=references]:before, .toc li[data-id=categories-and-subject-descriptors]:before, .toc li[data-id=general-terms]:before, .toc li[data-id=appendix]:before, .toc li[data-id=contact-us]:before {
398
+ content:"\00a0\00a0\00a0\00a0";
399
+ }
400
+
401
+
402
+ .tex,
403
+ .latex {
404
+ text-transform:uppercase;
405
+ }
406
+
407
+ .tex > span,
408
+ .latex > span {
409
+ line-height:0;
410
+ text-transform:uppercase;
411
+ }
412
+
413
+ .latex > :first-child {
414
+ margin-left:-0.36em;
415
+ margin-right:-0.15em;
416
+ vertical-align:0.3em;
417
+ font-size:70%;
418
+ }
419
+
420
+ .tex > :last-child,
421
+ .latex > :last-child {
422
+ margin-left:-0.1667em;
423
+ margin-right:-0.125em;
424
+ vertical-align:-0.5ex;
425
+ }
426
+
427
+
428
+ dl.theorem,
429
+ dl.definition {
430
+ text-indent:1em;
431
+ }
432
+ dl.theorem dt {
433
+ display:inline;
434
+ font-variant:small-caps;
435
+ font-weight:normal;
436
+ text-transform:none;
437
+ }
438
+ dl.theorem dt:after {
439
+ content:". ";
440
+ }
441
+ dl.theorem dd {
442
+ display:inline;
443
+ }
444
+ dl.theorem dd span {
445
+ display:inline;
446
+ font-style:italic;
447
+ }
448
+ dl.definition dt {
449
+ display:inline;
450
+ font-weight:normal;
451
+ text-transform:none;
452
+ font-style:italic;
453
+ }
454
+ dl.definition dt:after {
455
+ content:". ";
456
+ }
457
+ dl.definition dd {
458
+ display:inline;
459
+ }
460
+ dl.definition dd span {
461
+ display:inline;
462
+ }
463
+ dl.proof dt {
464
+ display:inline;
465
+ font-variant:small-caps;
466
+ font-weight:normal;
467
+ text-transform:none;
468
+ }
469
+ dl.proof dt:after {
470
+ content:". ";
471
+ }
472
+ dl.proof dd {
473
+ display:inline;
474
+ }
475
+ dl.proof dd span {
476
+ display:inline;
477
+ }
478
+ dl.proof dd > *:last-child:after {
479
+ content:"\00a0\00a0\25a1";
480
+ font-size:1.5em;
481
+ }
482
+
483
+ dd {
484
+ margin:0 0 0.5em 0;
485
+ }
486
+
487
+ tfoot dl.abbr dt,
488
+ tfoot dl.abbr dd {
489
+ display:inline;
490
+ text-transform:none;
491
+ }
492
+ tfoot dl.abbr dd {
493
+ margin-left:0;
494
+ }
495
+ tfoot dl.abbr dd:after {
496
+ content:"\A";
497
+ white-space:pre;
498
+ }
499
+ tfoot dl.abbr dt:after {
500
+ content:": ";
501
+ }
502
+ tfoot dl.abbr {
503
+ -webkit-column-count:2;
504
+ -moz-column-count:2;
505
+ column-count:2;
506
+ }
507
+
508
+ math * {
509
+ padding:0;
510
+ }
511
+ fieldset {
512
+ padding:1em;
513
+ }
514
+ fieldset ul {
515
+ list-style-type:none;
516
+ }
517
+
518
+
519
+ #authors, #affiliations {
520
+ text-align:center;
521
+ margin:0 0 0.25em 0;
522
+ line-height:1;
523
+ }
524
+ #authors ul,
525
+ #categories-and-subject-descriptors ul,
526
+ #keywords ul {
527
+ margin-left:0;
528
+ }
529
+ #authors li,
530
+ #affiliations li,
531
+ #categories-and-subject-descriptors li,
532
+ #keywords li {
533
+ list-style-type:none;
534
+ }
535
+
536
+ #authors li {
537
+ display:inline-block;
538
+ vertical-align:top;
539
+ width:30%;
540
+ margin-left:1%;
541
+ }
542
+
543
+ #author-name {
544
+ font-size:1.333em;
545
+ }
546
+
547
+ #author-org {
548
+ font-size:1.0835em;
549
+ }
550
+
551
+ #author-email {
552
+ font-family:Helvetica, Arial, sans-serif;
553
+ }
554
+
555
+
556
+
557
+
558
+ #authors {
559
+ position:relative;
560
+ }
561
+
562
+ #author-name,
563
+ #author-org,
564
+ #author-email {
565
+ position:static;
566
+ }
567
+
568
+
569
+ #authors dd:nth-of-type(1) {
570
+ position:absolute;
571
+ top:0;
572
+ left:1%;
573
+ }
574
+ #authors dd:nth-of-type(2) {
575
+ position:absolute;
576
+ top:0;
577
+ left:34%;
578
+ }
579
+ #authors dd:nth-of-type(3) {
580
+ position:absolute;
581
+ top:0;
582
+ left:67%;
583
+ }
584
+ #authors dd:nth-of-type(4) {
585
+ position:absolute;
586
+ top:6em;
587
+ left:1%;
588
+ }
589
+ #authors dd:nth-of-type(5) {
590
+ position:absolute;
591
+ top:6em;
592
+ left:34%;
593
+ }
594
+ #authors dd:nth-of-type(6) {
595
+ position:absolute;
596
+ top:6em;
597
+ left:67%;
598
+ }
599
+
600
+ #author-org li:nth-of-type(1) {
601
+ position:absolute;
602
+ top:1.35em;
603
+ left:1%;
604
+ }
605
+ #author-org li:nth-of-type(2) {
606
+ position:absolute;
607
+ top:1.35em;
608
+ left:34%;
609
+ }
610
+ #author-org li:nth-of-type(3) {
611
+ position:absolute;
612
+ top:1.35em;
613
+ left:67%;
614
+ }
615
+ #author-org li:nth-of-type(4) {
616
+ position:absolute;
617
+ top:8.65em;
618
+ left:1%;
619
+ }
620
+ #author-org li:nth-of-type(5) {
621
+ position:absolute;
622
+ top:8.65em;
623
+ left:34%;
624
+ }
625
+ #author-org li:nth-of-type(6) {
626
+ position:absolute;
627
+ top:8.65em;
628
+ left:67%;
629
+ }
630
+
631
+
632
+
633
+ #author-email li:nth-of-type(1) {
634
+ position:absolute;
635
+ top:5em;
636
+ left:1%;
637
+ }
638
+ #author-email li:nth-of-type(2) {
639
+ position:absolute;
640
+ top:5em;
641
+ left:34%;
642
+ }
643
+ #author-email li:nth-of-type(3) {
644
+ position:absolute;
645
+ top:5em;
646
+ left:67%;
647
+ }
648
+ #author-email li:nth-of-type(4) {
649
+ position:absolute;
650
+ top:13em;
651
+ left:1%;
652
+ }
653
+ #author-email li:nth-of-type(5) {
654
+ position:absolute;
655
+ top:13em;
656
+ left:34%;
657
+ }
658
+ #author-email li:nth-of-type(6) {
659
+ position:absolute;
660
+ top:13em;
661
+ left:67%;
662
+ }
663
+
664
+
665
+ #authors dt,
666
+ .authors dt {
667
+ display:none;
668
+ }
669
+
670
+ #authors dd,
671
+ #authors li {
672
+ width:32%;
673
+ margin:0 auto;
674
+ display:inline-block;
675
+ text-align:center;
676
+ line-height:1.1;
677
+ }
678
+ .authors dd {
679
+ display:inline;
680
+ }
681
+
682
+ #general-terms li,
683
+ #keywords li,
684
+ #document-format dd {
685
+ display:inline;
686
+ }
687
+ #general-terms li:after,
688
+ #categories-and-subject-descriptors li:after {
689
+ content:";\00a0";
690
+ }
691
+ #general-terms li:after,
692
+ #keywords li:after,
693
+ #document-format dd:after {
694
+ content:",\00a0";
695
+ }
696
+ #general-terms li:last-child:after,
697
+ #categories-and-subject-descriptors li:last-child:after,
698
+ #keywords li:last-child:after,
699
+ #document-format dd:last-child:after {
700
+ content:"";
701
+ }
702
+
703
+ #general-terms h2,
704
+ #categories-and-subject-descriptors h2 {
705
+ text-transform:capitalize;
706
+ }
707
+
708
+ .authors dd:not(:empty):after {
709
+ content:",\0020";
710
+ }
711
+ .authors dd:last-child:after {
712
+ content:"";
713
+ }
714
+
715
+
716
+ article > dl[id^="document-"] {
717
+ float:left;
718
+ width:46%;
719
+ margin:0 2%;
720
+ }
721
+
722
+ #document-identifier dd,
723
+ #document-published dd,
724
+ #document-modified dd,
725
+ #document-appeared dd,
726
+ #document-in-reply-to dd,
727
+ #document-annotation-service dd,
728
+ #document-license dd,
729
+ #document-format dd,
730
+ #document-inbox dd,
731
+ #document-see-also dd {
732
+ text-align:left;
733
+ margin-left:0;
734
+ }
735
+ header #document-identifier dd,
736
+ #document-event dt,
737
+ #document-event dd {
738
+ text-align:center;
739
+ }
740
+
741
+ html {
742
+ counter-reset:figure 0;
743
+ }
744
+ body {
745
+ counter-reset:listing 0;
746
+ }
747
+ article {
748
+ counter-reset:table 0;
749
+ }
750
+ // Links
751
+ a {
752
+ // Display URL of mandatory links
753
+ &.mandatory {
754
+ &:after {
755
+ content: ' (' attr(href) ')';
756
+ font-style: italic;
757
+ }
758
+ }
759
+ }
760
+ figure,
761
+ audio,
762
+ video {
763
+ margin-top:1em;
764
+ margin-bottom:1em;
765
+ position:relative;
766
+ text-align:center;
767
+ }
768
+ pre {
769
+ overflow:auto;
770
+ }
771
+ figure pre {
772
+ text-align:left;
773
+ }
774
+
775
+ figure.listing pre {
776
+ border:1px solid #000;
777
+ padding:0.5em;
778
+ counter-reset:precode;
779
+ margin-top:0;
780
+ }
781
+ figure.listing pre code:before,
782
+ figure.listing pre samp:before {
783
+ position:absolute;
784
+ left:-1.75em;
785
+ text-align:right;
786
+ #content:counter(precode);
787
+ counter-increment:precode;
788
+ }
789
+
790
+
791
+ table {
792
+ border-collapse:collapse;
793
+
794
+ /*-webkit-column-break-inside:avoid;*/
795
+ /*-moz-column-break-inside:avoid;*/
796
+ /*-o-column-break-inside:avoid;*/
797
+ /*-ms-column-break-inside:avoid;*/
798
+ /*column-break-inside:avoid;*/
799
+
800
+ /*-webkit-column-break-before:avoid;*/
801
+ /*-moz-column-break-before:avoid;*/
802
+ /*-o-column-break-before:avoid;*/
803
+ /*-ms-column-break-before:avoid;*/
804
+ /*column-break-before:avoid;*/
805
+
806
+ /*-webkit-column-break-after:avoid;*/
807
+ /*-moz-column-break-after:avoid;*/
808
+ /*-o-column-break-after:avoid;*/
809
+ /*-ms-column-break-after:avoid;*/
810
+ /*column-break-after:avoid;*/
811
+
812
+ /*-webkit-break-inside:avoid-column;*/
813
+ /*-moz-break-inside:avoid-column;*/
814
+ /*-o-break-inside:avoid-column;*/
815
+ /*-ms-break-inside:avoid-column;*/
816
+ /*break-inside:avoid-column;*/
817
+
818
+ /*-webkit-break-inside:avoid;*/
819
+ /*-moz-break-inside:avoid;*/
820
+ /*-o-break-inside:avoid;*/
821
+ /*-ms-break-inside:avoid;*/
822
+ /*break-inside:avoid;*/
823
+
824
+ /*-webkit-column-break-before:always;*/
825
+ /*-moz-column-break-before:always;*/
826
+ /*-o-column-break-before:always;*/
827
+ /*column-break-before:always;*/
828
+
829
+ /*-webkit-column-break-before:column;*/
830
+ /*-moz-column-break-before:column;*/
831
+ /*-o-column-break-before:column;*/
832
+ /*column-break-before:column;*/
833
+ /*break-after:column;*/
834
+
835
+ /*column-span:all;*/
836
+
837
+ /*display:table;*/
838
+ /*float:left;*/
839
+ /*overflow:auto;*/
840
+ /*display:inline-block;*/
841
+ width:calc(100% - 2px);
842
+ }
843
+ th {
844
+ border-bottom:1px solid;
845
+ }
846
+ table thead td:first-child,
847
+ table tfoot td:first-child {
848
+ border:0;
849
+ }
850
+ th,
851
+ td {
852
+ text-align:left;
853
+ }
854
+ .comparison-columns tbody td {
855
+ text-align:center;
856
+ }
857
+
858
+ table {
859
+ width: 100%;
860
+ }
861
+ th {
862
+ font-weight: bold;
863
+ border-bottom:1px solid;
864
+ }
865
+ table thead td:first-child, table tfoot td:first-child {
866
+ border:0;
867
+ }
868
+
869
+ caption {
870
+ padding:0.1em 0;
871
+ }
872
+ tbody th {
873
+ text-align:left;
874
+ }
875
+
876
+ thead {
877
+ /* Chrome shows duplicate thead rows on the same page: https://bugs.chromium.org/p/chromium/issues/detail?id=24826 */
878
+ display: table-row-group;
879
+ }
880
+
881
+ form {
882
+ margin:1em 0;
883
+ }
884
+ form li {
885
+ margin-bottom:0.5em;
886
+ }
887
+ form p {
888
+ text-indent:0;
889
+ }
890
+ fieldset {
891
+ padding:1em;
892
+ }
893
+ legend { font-weight:bold; }
894
+ label {
895
+ display:inline-block;
896
+ font-weight:bold;
897
+ }
898
+ form label {
899
+ width:17%;
900
+ vertical-align:top;
901
+ }
902
+ label[for=nobot] {
903
+ width:auto;
904
+ }
905
+ input,
906
+ textarea,
907
+ label {
908
+ padding:0.25em;
909
+ }
910
+ input,
911
+ textarea,
912
+ select,
913
+ button {
914
+ font-family:inherit;
915
+ font-size:inherit;
916
+ }
917
+ input[type=submit] {
918
+ font-weight:bold;
919
+ }
920
+
921
+ figcaption {
922
+ margin-bottom:1em;
923
+ }
924
+
925
+
926
+ .count {
927
+ margin-bottom:0;
928
+ font-weight:normal;
929
+ font-size:1em;
930
+ }
931
+ .count:after {
932
+ content:':';
933
+ }
934
+ section article {
935
+ margin:0 0 2em 0;
936
+ }
937
+ section article article {
938
+ padding-left:2.25em;
939
+ margin-bottom:0;
940
+ border-left:2px solid #ccc;
941
+ }
942
+ section article h1,
943
+ section article h2,
944
+ section article h3 {
945
+ margin-bottom:0;
946
+ font-size:1em;
947
+ }
948
+ section article h1,
949
+ section article h2,
950
+ section article h3 {
951
+ margin-top:0;
952
+ }
953
+ section article img {
954
+ vertical-align:middle;
955
+ margin-right:0.25em;
956
+ }
957
+ section article p:last-child {
958
+ margin-bottom:0;
959
+ }
960
+
961
+ .references {
962
+ font-size: 0.9em;
963
+ line-height: 1.1em;
964
+ margin-top: 0.35em;
965
+ dt {
966
+ width: 16px;
967
+ font-size: 0.9em;
968
+ font-weight: normal;
969
+ text-align: right;
970
+ float: left;
971
+ }
972
+ dd {
973
+ margin: 0;
974
+ padding-left: 0.5em;
975
+ display: block;
976
+ overflow: hidden;
977
+ }
978
+ }
979
+
980
+ #references ol {
981
+ counter-reset:list-order;
982
+ margin-left:0;
983
+ }
984
+ #references ol li {
985
+ counter-increment:list-order;
986
+ list-style-position:outside;
987
+ list-style-type:none;
988
+ margin-left:1.85em;
989
+ text-align:left;
990
+ }
991
+ #references ol li:before {
992
+ content:"[" counter(list-order) "]\00a0\00a0\00a0";
993
+ margin-left:-1.85em;
994
+ }
995
+
996
+ #appendix section:first-child h2 {
997
+ margin-top:0;
998
+ }
999
+
1000
+ #appendix section {
1001
+ counter-increment:appendix;
1002
+ counter-reset:sub-appendix;
1003
+ }
1004
+ #appendix section section {
1005
+ counter-increment:sub-appendix;
1006
+ counter-reset:sub-sub-appendix;
1007
+ }
1008
+ #appendix section section section {
1009
+ counter-increment:sub-sub-appendix;
1010
+ }
1011
+ #appendix section h2:before {
1012
+ content:counter(appendix, upper-latin) "\00a0\00a0\00a0\00a0";
1013
+ }
1014
+ #appendix section section h3:before {
1015
+ content:counter(appendix, upper-latin) "." counter(sub-appendix) "\00a0\00a0\00a0";
1016
+ }
1017
+ #appendix section section section h4:before {
1018
+ content:counter(appendix, upper-latin) "." counter(sub-appendix)"." counter(sub-sub-appendix) "\00a0\00a0\00a0";
1019
+ }
1020
+
1021
+
1022
+ #interaction-write,
1023
+ dl.entry-author,
1024
+ dl.datetimestamp,
1025
+ dl.entry-replies,
1026
+ dl.article_labels * {
1027
+ display:none;
1028
+ }
1029
+
1030
+ body > header,
1031
+ body > footer {
1032
+ text-align:center;
1033
+ }
1034
+ body > header {
1035
+ margin-bottom:1em;
1036
+ }
1037
+ body > footer {
1038
+ margin-top:2em;
1039
+ }
1040
+
1041
+ header nav ul {
1042
+ text-align:center;
1043
+ }
1044
+
1045
+ header nav li:first-child:before {
1046
+ content:"";
1047
+ }
1048
+ header nav li:before {
1049
+ content:"* ";
1050
+ }
1051
+ header nav li {
1052
+ display:inline;
1053
+ list-style-type:none;
1054
+ }
1055
+
1056
+ ul#program-committee {
1057
+ column-count: 2;
1058
+ -moz-column-count: 2;
1059
+ -webkit-column-count: 2;
1060
+ text-align:left;
1061
+ }
1062
+
1063
+ .on {
1064
+ display:block;
1065
+ }
1066
+
1067
+ @media only screen
1068
+ and (min-device-width:320px)
1069
+ and (max-device-width:568px) {
1070
+ body { font-size:100%; }
1071
+ #content {
1072
+ -webkit-column-count:1;
1073
+ -moz-column-count:1;
1074
+ column-count:1;
1075
+ }
1076
+ }
1077
+
1078
+ @media only screen
1079
+ and (min-device-width:768px)
1080
+ and (max-device-width:1024px) {
1081
+ body {
1082
+ font-size:100%;
1083
+ }
1084
+ }