scholarmarkdown 1.0.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.
Files changed (37) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +15 -0
  3. data/Gemfile.lock +88 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +45 -0
  6. data/Rakefile +24 -0
  7. data/VERSION +1 -0
  8. data/bin/generate-scholarmarkdown +19 -0
  9. data/bin/template/.gitignore +9 -0
  10. data/bin/template/Gemfile +36 -0
  11. data/bin/template/Guardfile +15 -0
  12. data/bin/template/README.md +15 -0
  13. data/bin/template/Rules +51 -0
  14. data/bin/template/config.ru +11 -0
  15. data/bin/template/content/abstract.md +15 -0
  16. data/bin/template/content/index.md.erb +21 -0
  17. data/bin/template/content/introduction.md +4 -0
  18. data/bin/template/content/references.bib +10 -0
  19. data/bin/template/content/styles/lncs.scss +1086 -0
  20. data/bin/template/content/styles/print.scss +2 -0
  21. data/bin/template/content/styles/reset.scss +47 -0
  22. data/bin/template/content/styles/screen.scss +364 -0
  23. data/bin/template/content/styles/shared.scss +77 -0
  24. data/bin/template/layouts/default.html.erb +12 -0
  25. data/bin/template/nanoc.yaml +28 -0
  26. data/lib/scholarmarkdown/citationstyles/lncs-custom.csl +159 -0
  27. data/lib/scholarmarkdown/filter/acronym.rb +13 -0
  28. data/lib/scholarmarkdown/filter/citation.rb +18 -0
  29. data/lib/scholarmarkdown/filter/headerids_to_section.rb +7 -0
  30. data/lib/scholarmarkdown/filter/hyphenate_iri.rb +18 -0
  31. data/lib/scholarmarkdown/filter/include_code.rb +10 -0
  32. data/lib/scholarmarkdown/filter/labelify.rb +94 -0
  33. data/lib/scholarmarkdown/filter/references_to_footer.rb +10 -0
  34. data/lib/scholarmarkdown/snippets.rb +28 -0
  35. data/lib/scholarmarkdown.rb +2 -0
  36. data/scholarmarkdown.gemspec +96 -0
  37. metadata +193 -0
@@ -0,0 +1,1086 @@
1
+ /** LNCS
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
+ LNCS template styles: http://www.springer.com/computer/lncs?SGWID=0-164-6-793341-0
10
+ */
11
+
12
+ @media print {
13
+ /*
14
+ @media print and (width:210mm) and (height:297mm) {
15
+ @media print and (width:8.5in) and (height:11in) {
16
+ */
17
+ @page {
18
+ /*Standard ISO A4 paper dimensions are:*/
19
+ /*210mm x 297mm*/
20
+ /*8.27" x 11.69"*/
21
+ /*Equivalent A4 paper dimensions in pixels at 300 DPI and 72 DPI respectively are:*/
22
+ /*2480 pixels x 3508 pixels (print resolution)*/
23
+ /*595 pixels x 842 pixels (screen resolution)*/
24
+ /*size:A4;*/
25
+ margin:52mm 0;
26
+ }
27
+
28
+ body {
29
+ font-size:10pt !important;
30
+ margin:0 auto !important;
31
+ padding:0 !important;
32
+ width:122mm !important;
33
+ height:193mm !important; /* A4 - LNCS height*/
34
+ }
35
+
36
+ h1, .h1 { font-size:14pt !important; }
37
+ h2, .h2 { font-size:12pt !important; }
38
+ h3, .h3 { font-size:10pt !important; }
39
+ h4, .h4 { font-size:10pt !important; }
40
+ h5, .h5 { font-size:10pt !important; }
41
+ h6, .h6 { font-size:9pt !important; }
42
+
43
+ body > nav,
44
+ body > header nav,
45
+ body > footer nav { display:none; }
46
+
47
+ caption, td, th,
48
+ #abstract *,
49
+ #document-identifier *,
50
+ #document-published *,
51
+ #document-modified *,
52
+ #document-appeared *,
53
+ #document-in-reply-to *,
54
+ #document-annotation-service *,
55
+ #document-license *,
56
+ #document-language *,
57
+ #document-purpose *,
58
+ #document-status *,
59
+ #document-format *,
60
+ #document-event *,
61
+ #document-inbox *,
62
+ #document-see-also *,
63
+ #keywords *,
64
+ #general-terms *,
65
+ #categories-and-subject-descriptors *,
66
+ aside.note {
67
+ font-size:9pt !important;
68
+ }
69
+
70
+ aside.note {
71
+ position:relative;
72
+ }
73
+
74
+ aside.note article {
75
+ position:static !important;
76
+ width:100% !important;
77
+ font-size:1em !important;
78
+ margin-bottom:1em;
79
+ }
80
+
81
+ a {
82
+ text-decoration:none;
83
+ color:#000;
84
+ }
85
+ abbr { border-bottom:none; }
86
+ audio { display:none; }
87
+ iframe { display:none !important; }
88
+
89
+ button {
90
+ margin:0 !important;
91
+ padding:0 !important;
92
+ font-size:10pt;
93
+ }
94
+
95
+ .blink {
96
+ animation:none;
97
+ -webkit-animation:none;
98
+ }
99
+
100
+ object:not([type="text/html"]) { height:auto !important; }
101
+ object[type="text/html"] {
102
+ width:auto !important;
103
+ height:100px !important;
104
+ min-height:auto !important;
105
+ max-height:100px !important;
106
+ }
107
+
108
+ } /* media print */
109
+
110
+
111
+ * { margin:0; padding:0; filter:none !important; }
112
+ img { border:0; }
113
+ a abbr { cursor:pointer; border-bottom:0; }
114
+ table { border-collapse:collapse; }
115
+ tr { vertical-align:top; }
116
+ ol { list-style-position:inside; }
117
+ h2, h3, h4, h5, h6, p, ul, ol, li, pre, code, samp, audio, video {
118
+ orphans:3;
119
+ widows:3;
120
+ }
121
+
122
+ table, img, object, figure, audio, video, canvas { page-break-inside:avoid; }
123
+ object {
124
+ width:100%;
125
+ min-height:240px;
126
+ }
127
+ object[type="text/html"] { min-height:480px; }
128
+ video, audio { display:block; max-width:60%; height:auto; margin:0 auto; }
129
+ iframe { display:block; margin:0 auto; }
130
+
131
+ img {
132
+ max-width: 100%;
133
+ height: auto;
134
+ vertical-align: middle;
135
+ }
136
+ img.plot {
137
+ width: auto !important;
138
+ height: 10em !important;
139
+ }
140
+
141
+ object.slides { display:none; }
142
+ .block { display:block; }
143
+
144
+ table code, table samp {
145
+ word-wrap:break-word;
146
+ word-break:break-all;
147
+ }
148
+
149
+
150
+ body {
151
+ color:#000000;
152
+ font-family:"Times New Roman", serif;
153
+ /*font-size:1.689vw;*/
154
+ font-size:125%;
155
+ line-height:1.231;
156
+ position:relative;
157
+ margin:0 auto;
158
+ padding:2.5em 0;
159
+ width:35.475em;
160
+ -moz-hyphens:auto;
161
+ -webkit-hyphens:auto;
162
+ -ms-hyphens:auto;
163
+ hyphens:auto;
164
+ }
165
+ #document-status, #keywords, #categories-and-subject-descriptors, #general-terms, pre, code, samp, h1, table *, figcaption {
166
+ -moz-hyphens:none;
167
+ -webkit-hyphens:none;
168
+ -ms-hyphens:none;
169
+ hyphens:none;
170
+ }
171
+
172
+ main {
173
+ h1,h2,h3,h4, strong, dt, figcaption .label, caption:before, #subtitle {
174
+ font-weight: bold;
175
+ }
176
+ h5,h6, em, cite, dfn, address {
177
+ font-style: italic;
178
+ }
179
+ h1 em, h2 em, h3 em, h4 em, dt dfn {
180
+ font-weight: bold;
181
+ font-style: italic;
182
+ }
183
+ code, code strong, samp, samp strong, pre, kbd, button {
184
+ font-family:monospace;
185
+ }
186
+ code strong, samp strong {
187
+ font-weight:bold;
188
+ }
189
+ h5 {
190
+ font-weight:normal;
191
+ }
192
+ section > p {
193
+ text-indent:1em;
194
+ }
195
+ }
196
+
197
+
198
+ h1,h2,h3,h4,h5,h6 {
199
+ overflow:hidden;
200
+ page-break-after:avoid;
201
+ line-height:1.231;
202
+ }
203
+ h1, .h1 {
204
+ font-size:1.4615em;
205
+ margin-bottom:1.5em;
206
+ text-align:center;
207
+ }
208
+ aside article h1 { text-align:left; }
209
+ h2, .h2 { font-size:1.231em; }
210
+ h3, .h3 { font-size:1em; }
211
+ h4, .h4 { font-size:1em; }
212
+ h5, .h5 { font-size:1em; }
213
+ h6, .h6 { font-size:0.923em; }
214
+
215
+ h2 {
216
+ margin-top:1.25em;
217
+ margin-bottom:0.75em;
218
+ }
219
+ h3 {
220
+ margin-top:1.5em;
221
+ margin-bottom:0.5em;
222
+ }
223
+ h4 {
224
+ margin-top:1em;
225
+ display:inline;
226
+ }
227
+ h5 {
228
+ display:inline;
229
+ }
230
+
231
+ #subtitle {
232
+ margin-bottom:1em;
233
+ text-align:center;
234
+ }
235
+
236
+ .count {
237
+ margin-bottom:0;
238
+ font-weight:normal;
239
+ font-size:1em;
240
+ }
241
+ .count:after {
242
+ content:':';
243
+ }
244
+
245
+ section article {
246
+ margin:0 0 2em 0;
247
+ }
248
+ section blockquote article {
249
+ margin-bottom:0;
250
+ }
251
+ section article article {
252
+ padding-left:2.25em;
253
+ margin-bottom:0;
254
+ border-left:2px solid #ccc;
255
+ }
256
+ section article h1,
257
+ section article h2,
258
+ section article h3 {
259
+ margin-bottom:0;
260
+ font-size:1em;
261
+ font-weight:normal;
262
+ }
263
+ section article h1,
264
+ section article h2,
265
+ section article h3 {
266
+ margin-top:0;
267
+ }
268
+ section article img {
269
+ margin-right:0.25em;
270
+ }
271
+ section article p:last-child {
272
+ margin-bottom:0;
273
+ }
274
+
275
+
276
+ aside.note {
277
+ position:relative;
278
+ margin:1em 0;
279
+ border-top:1px solid #000;
280
+ padding-top:0.25em;
281
+ font-size:0.923em;
282
+ }
283
+
284
+ aside.note:after {
285
+ content:"";
286
+ width:50%;
287
+ background-color:#fff;
288
+ position:absolute;
289
+ top:-1px;
290
+ right:0;
291
+ height:1px;
292
+ }
293
+
294
+ aside.note article {
295
+ position:relative;
296
+ left:1.5em;
297
+ width:calc(100% - 1.5em);
298
+ }
299
+ aside.note blockquote article {
300
+ left:0;
301
+ width:100%;
302
+ }
303
+ aside.note blockquote blockquote {
304
+ padding-left:0.5em;
305
+ }
306
+ aside.note > blockquote {
307
+ border-left:0;
308
+ }
309
+ aside.note blockquote > div {
310
+ margin-bottom:0.25em;
311
+ }
312
+ aside.note blockquote dt {
313
+ margin-bottom:0;
314
+ }
315
+ aside.note article > sup {
316
+ position:absolute;
317
+ left:-1.75em;
318
+ }
319
+
320
+ main {
321
+ counter-reset: section;
322
+
323
+ // Sections
324
+ h2 {
325
+ counter-reset: subsection;
326
+
327
+ &::before {
328
+ counter-increment: section;
329
+ content: counter(section) ". ";
330
+ }
331
+ }
332
+
333
+ // Subsections
334
+ h3 {
335
+ &::before {
336
+ counter-increment: subsection;
337
+ content: counter(section) "." counter(subsection) ". ";
338
+ }
339
+ }
340
+
341
+ // Paragraphs
342
+ h4 {
343
+ margin: 0 1em 0 0;
344
+ float: left;
345
+ clear: left;
346
+ }
347
+
348
+ // Links
349
+ a {
350
+ // Display link text
351
+ &[data-link-text] {
352
+ &:after {
353
+ content: ' (' attr(data-link-text) ')';
354
+ font-style: italic;
355
+ }
356
+ }
357
+ &.iri-link {
358
+ font-style: italic;
359
+ }
360
+ }
361
+ }
362
+
363
+ header {
364
+ text-align: center;
365
+ }
366
+
367
+ #authors {
368
+ list-style: none;
369
+ margin: 1em 0;
370
+ padding: 0;
371
+
372
+ li {
373
+ display: inline;
374
+
375
+ &:not(:last-child) {
376
+ &::after {
377
+ content: ", ";
378
+ }
379
+ }
380
+ }
381
+ }
382
+
383
+ #affiliations {
384
+ list-style: none;
385
+ margin: 1em 0;
386
+ padding: 0;
387
+ letter-spacing: -.1px;
388
+
389
+ sup {
390
+ margin-right: .1em;
391
+ }
392
+ }
393
+
394
+ #abstract {
395
+ h2 {
396
+ float: left;
397
+ margin: 0;
398
+
399
+ &::after {
400
+ content: ".";
401
+ margin-right: .5em;
402
+ }
403
+ }
404
+ }
405
+
406
+ dl.references {
407
+ counter-reset: reference;
408
+
409
+ dt {
410
+ display: none;
411
+ }
412
+
413
+ dd {
414
+ $number-width: 1.6em;
415
+ margin: 0 0 0 $number-width;
416
+ text-indent: -$number-width;
417
+ counter-increment: reference;
418
+
419
+ &:before {
420
+ content: counter(reference) ". ";
421
+ display: inline-block;
422
+ width: $number-width;
423
+ text-align: right;
424
+ }
425
+ }
426
+ }
427
+
428
+ #footnotes {
429
+ counter-reset: footnote;
430
+
431
+ ol {
432
+ list-style: none;
433
+ li {
434
+ &:before {
435
+ counter-increment: footnote;
436
+ content: counter(footnote);
437
+ font-size: smaller;
438
+ margin: -.3em .1em 0 0;
439
+ float: left;
440
+ }
441
+ }
442
+ }
443
+
444
+ .reversefootnote {
445
+ display: none;
446
+ }
447
+ }
448
+
449
+ h1 + p,
450
+ h2 + p,
451
+ h3 + p,
452
+ h4 + p,
453
+ h5 + p,
454
+ div > p:first-child,
455
+ dl + p ,
456
+ ul + p,
457
+ figure + p,
458
+ audio + p,
459
+ video + p,
460
+ iframe + p,
461
+ blockquote p {
462
+ text-indent:0;
463
+ }
464
+ h1 + p {
465
+ margin-bottom:1em;
466
+ }
467
+
468
+
469
+
470
+ h4 + p,
471
+ h5 + p,
472
+ h4 + div,
473
+ h5 + div,
474
+ h4 + div p,
475
+ h5 + div p {
476
+ display:inline;
477
+ text-align:justify;
478
+
479
+ /*This is a bit hacky.. it appears to work in Webkit and maybe it shouldn't -- breaking words inappropriately*/
480
+ /*word-break:break-all;*/
481
+
482
+ /*
483
+ Testing?
484
+ text-justify:distribute;
485
+ word-break:break-all;
486
+ hyphens:auto;
487
+ text-wrap:normal;
488
+ line-break:normal;
489
+ */
490
+ }
491
+ h4 + p + p,
492
+ h5 + p + p,
493
+ h4 + div p + p,
494
+ h5 + div p + p {
495
+ display:block;
496
+ }
497
+
498
+
499
+
500
+ h3 + div section:before,
501
+ h4 + p:after,
502
+ h5 + p:after,
503
+ h4 + div p:after,
504
+ h5 + div p:after,
505
+ section + p:before,
506
+ section + dl:before {
507
+ content:"\A";
508
+ white-space:pre;
509
+ }
510
+
511
+ section + p:before {
512
+ text-indent:0;
513
+ }
514
+
515
+
516
+ fieldset {
517
+ padding:1em;
518
+ }
519
+ fieldset ul {
520
+ list-style-type:none;
521
+ }
522
+
523
+ pre {
524
+ margin:1em 0;
525
+ font-size:0.875em;
526
+ overflow:auto;
527
+ }
528
+
529
+ figure.listing pre {
530
+ padding:0.5em 0;
531
+ margin-top:0;
532
+ }
533
+
534
+ #document-status h2, #document-status p,
535
+ #document-identifier dt, #document-identifier dd,
536
+ #document-published dt, #document-published dd,
537
+ #document-modified dt, #document-modified dd,
538
+ #document-appeared dt, #document-appeared dd,
539
+ #document-in-reply-to dt, #document-in-reply-to dd,
540
+ #document-annotation-service dt, #document-annotation-service dd,
541
+ #document-license dt, #document-license dd,
542
+ #document-language dt, #document-language dd,
543
+ #document-purpose dt, #document-purpose dd,
544
+ #document-format dt, #document-format dd,
545
+ #document-event dt, #document-event dd,
546
+ #document-inbox dt, #document-inbox dd,
547
+ #document-see-also dt, #document-see-also dd,
548
+ #general-terms h2, #general-terms li,
549
+ #keywords h2, #keywords li,
550
+ #categories-and-subject-descriptors h2, #categories-and-subject-descriptors li {
551
+ font-size:0.923em;
552
+ }
553
+
554
+ #document-event dd:after,
555
+ #document-identifier dd:after {
556
+ content:"\A";
557
+ white-space:pre;
558
+ }
559
+
560
+ #document-status h2:before,
561
+ #categories-and-subject-descriptors h2:before,
562
+ #keywords h2:before,
563
+ #general-terms h2:before,
564
+ #acknowledgements h2:before,
565
+ #references h2:before,
566
+ #appendix h2:before,
567
+ #appendix h3:before,
568
+ #appendix h4:before,
569
+ #contact-us h2:before,
570
+ #contact-us h3:before,
571
+ #contact-us h4:before {
572
+ content:"";
573
+ }
574
+
575
+ #document-identifier dt:after,
576
+ #document-purpose dt:after,
577
+ #document-published dt:after,
578
+ .published dt:after,
579
+ #document-modified dt:after,
580
+ #document-appeared dt:after,
581
+ #document-in-reply-to dt:after,
582
+ #document-annotation-service dt:after,
583
+ #document-license dt:after,
584
+ .license dt:after,
585
+ #document-language dt:after,
586
+ #document-format dt:after,
587
+ #document-event dt:after,
588
+ #document-inbox dt:after,
589
+ #document-see-also dt:after,
590
+ #general-terms h2:after,
591
+ #categories-and-subject-descriptors h2:after,
592
+ #keywords h2:after,
593
+ .target dt:after,
594
+ .inbox dt:after {
595
+ content:":";
596
+ }
597
+
598
+
599
+ #document-status h2:after {
600
+ content:".";
601
+ }
602
+
603
+ #document-status h2,
604
+ #document-status div, #document-status div *:first-child,
605
+ #categories-and-subject-descriptors h2,
606
+ #categories-and-subject-descriptors div, #categories-and-subject-descriptors div *:first-child,
607
+ #general-terms h2,
608
+ #general-terms div, #general-terms div *:first-child,
609
+ #keywords h2,
610
+ #keywords div, #keywords div *:first-child,
611
+ #document-identifier dt,
612
+ #document-identifier dt + dd,
613
+ #document-purpose dt,
614
+ #document-purpose dt + dd,
615
+ #document-published dt,
616
+ #document-published dt + dd,
617
+ .published dt,
618
+ .published dt + dd,
619
+ #document-modified dt,
620
+ #document-modified dt + dd,
621
+ #document-appeared dt,
622
+ #document-appeared dt + dd,
623
+ #document-in-reply-to dt,
624
+ #document-in-reply-to dt + dd,
625
+ #document-annotation-service dt,
626
+ #document-annotation-service dt + dd,
627
+ #document-license dt,
628
+ #document-license dt + dd,
629
+ .license dt,
630
+ .license dt + dd,
631
+ #document-language dt,
632
+ #document-language dt + dd,
633
+ #document-format dt,
634
+ #document-format dd,
635
+ #document-event dt,
636
+ #document-event dt + dd,
637
+ #document-inbox dt,
638
+ #document-inbox dt + dd,
639
+ #document-see-also dt,
640
+ #document-see-also dt + dd,
641
+ .inbox dt,
642
+ .inbox dt + dd {
643
+ display:inline;
644
+ }
645
+
646
+ blockquote {
647
+ padding-left:1em;
648
+ border-left:0.25em solid #ccc;
649
+ }
650
+
651
+ .toc, .toc ol {
652
+ list-style:none;
653
+ -moz-hyphens:none;
654
+ -webkit-hyphens:none;
655
+ -ms-hyphens:none;
656
+ hyphens:none;
657
+ }
658
+ .toc ol,
659
+ .toc li {
660
+ margin:0;
661
+ text-align:left !important;
662
+ }
663
+
664
+ .toc li {
665
+ list-style-position:outside;
666
+ list-style-type:none;
667
+ margin-left:1.25em;
668
+ margin-bottom:0.25em;
669
+ }
670
+ .toc li:before {
671
+ margin-left:-1.25em;
672
+ }
673
+
674
+ .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]) {
675
+ counter-increment:s;
676
+ counter-reset:sub-s;
677
+ }
678
+
679
+ .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]) {
680
+ counter-increment:sub-s;
681
+ counter-reset:sub-sub-s;
682
+ }
683
+ .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]) {
684
+ counter-increment:sub-sub-s;
685
+ counter-reset:sub-sub-sub-s;
686
+ }
687
+ .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]) {
688
+ counter-increment:sub-sub-sub-s;
689
+ counter-reset:sub-sub-sub-sub-s;
690
+ }
691
+ .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 {
692
+ content:"\00a0" counter(s) "\00a0";
693
+ }
694
+ .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 {
695
+ content:"\00a0" counter(s) "." counter(sub-s) "\00a0";
696
+ }
697
+ .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 {
698
+ content:"\00a0" counter(s) "." counter(sub-s) "." counter(sub-sub-s) "\00a0";
699
+ }
700
+ .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 {
701
+ content:"\00a0" counter(s) "." counter(sub-s) "." counter(sub-sub-s) "." counter(sub-sub-sub-s) "\00a0";
702
+ }
703
+
704
+ .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 {
705
+ content:"\00a0\00a0\00a0\00a0";
706
+ }
707
+
708
+
709
+
710
+
711
+ .pages, .pages dt, .pages dd {
712
+ display:inline;
713
+ }
714
+ .pages:before {
715
+ content:",\0020";
716
+ }
717
+ .pages dt {
718
+ margin-right:0.5em;
719
+ text-transform:lowercase;
720
+ }
721
+
722
+
723
+ th:last-child,
724
+ td:last-child {
725
+ padding-right:0;
726
+ }
727
+
728
+
729
+ ol, ul, table {
730
+ margin-bottom:1em;
731
+ }
732
+ dd {
733
+ margin-bottom:.5em;
734
+ }
735
+
736
+ figure,
737
+ audio,
738
+ video,
739
+ iframe,
740
+ canvas {
741
+ margin-top:1em;
742
+ margin-bottom:1em;
743
+ position:relative;
744
+ text-align:center;
745
+ }
746
+ figure pre,
747
+ figcaption {
748
+ text-align:left;
749
+ }
750
+ figure object,
751
+ figure img,
752
+ figure pre {
753
+ margin-bottom:1em;
754
+ }
755
+
756
+ html {
757
+ counter-reset:0;
758
+ }
759
+ body {
760
+ counter-reset:0;
761
+ }
762
+ article {
763
+ counter-reset:table 0;
764
+ }
765
+ figure.equation {
766
+ counter-increment:equation;
767
+ }
768
+ table {
769
+ counter-increment:table;
770
+ }
771
+ figure.equation:after {
772
+ content:"(" counter(equation) ")";
773
+ line-height:0;
774
+ position:absolute;
775
+ top:45%;
776
+ right:0;
777
+ }
778
+ caption:before {
779
+ content:"Table " counter(table) ". ";
780
+ }
781
+
782
+
783
+ .figure-column-2 {
784
+ /*-webkit-column-count:2;*/
785
+ /*-webkit-column-width:47.5%;*/
786
+ /*-webkit-column-gap:5%;*/
787
+ /*-moz-column-count:2;*/
788
+ /*-moz-column-width:47.5%;*/
789
+ /*-moz-column-gap:5%;*/
790
+ /*column-count:2;*/
791
+ /*column-column-width:47.5%;*/
792
+ /*column-gap:5%;*/
793
+ float:left;
794
+ width:100%;
795
+ }
796
+ .figure-column-2 + * {
797
+ clear:both;
798
+ }
799
+ .figure-column-2 figure {
800
+ margin-top:0;
801
+ width:47.5%;
802
+ margin-left:5%;
803
+ float:left;
804
+ }
805
+ .figure-column-2 figure:nth-child(odd) {
806
+ clear:both;
807
+ margin-left:0;
808
+ }
809
+ .figure-column-2 img,
810
+ .figure-column-2 object,
811
+ .figure-column-2 video,
812
+ .figure-column-2 audio {
813
+ max-width:100%;
814
+ }
815
+
816
+ p + math, ul + math, ol + math, dl + math, dd > math, div + math, section + math {
817
+ text-align:center;
818
+ margin-top:1em;
819
+ margin-bottom:1em;
820
+ }
821
+ p + math, ul + math, ol + math, dl + math, dd > math, div + math, section + math,
822
+ figure math {
823
+ display:block;
824
+ font-size:0.95em;
825
+ }
826
+ figure.equation {
827
+ counter-increment:equation;
828
+ }
829
+ figure.equation:after {
830
+ content:"(" counter(equation) ")";
831
+ line-height:0;
832
+ position:absolute;
833
+ top:45%;
834
+ right:0;
835
+ }
836
+
837
+
838
+
839
+ ol, ul, p, dd {
840
+ text-align:justify;
841
+ }
842
+ aside.note ol,
843
+ aside.note ul,
844
+ aside.note p,
845
+ aside.note dd {
846
+ text-align:left;
847
+ }
848
+
849
+
850
+ dl[rel="skos:hasTopConcept"] dd:after { content: "\A"; white-space:pre; }
851
+ dl[rel="skos:hasTopConcept"] dt,
852
+ dl[rel="skos:hasTopConcept"] dd { display:inline; }
853
+ dl[rel="skos:hasTopConcept"] dt:after { content: ": "; }
854
+ p + dl[rel="skos:hasTopConcept"] { margin-top:0; }
855
+ p + dl {
856
+ margin-top:1.25em;
857
+ }
858
+
859
+ main {
860
+ ul, ol {
861
+ margin-left:2em;
862
+ }
863
+ }
864
+
865
+ tfoot dl.abbr dt,
866
+ tfoot dl.abbr dd {
867
+ display:inline;
868
+ text-transform:none;
869
+ }
870
+ tfoot dl.abbr dd {
871
+ margin-left:0;
872
+ }
873
+ tfoot dl.abbr dd:after {
874
+ content:"\A";
875
+ white-space:pre;
876
+ }
877
+ tfoot dl.abbr dt:after {
878
+ content:": ";
879
+ }
880
+ tfoot dl.abbr {
881
+ -webkit-column-count:2;
882
+ -moz-column-count:2;
883
+ column-count:2;
884
+ }
885
+
886
+ table {
887
+ width:100%;
888
+ margin-top:1em;
889
+ text-align:left;
890
+ }
891
+ table + table {
892
+ margin-top:2em;
893
+ }
894
+ caption {
895
+ text-align:left;
896
+ font-size:0.923em;
897
+ border-bottom:2pt solid #000;
898
+ padding:0 0.25em 0.25em;
899
+ }
900
+ thead {
901
+ border-bottom:1pt solid #000;
902
+ }
903
+ tbody {
904
+ border-bottom:2pt solid #000;
905
+ }
906
+ th, td {
907
+ padding:0.25em;
908
+ vertical-align:baseline;
909
+ font-size:0.923em;
910
+ }
911
+ table ul,
912
+ table ol,
913
+ table li,
914
+ table p,
915
+ table dd {
916
+ margin:0;
917
+ text-align:left;
918
+ }
919
+ th {
920
+ font-weight:normal;
921
+ }
922
+ .comparison-columns tbody td {
923
+ text-align:center;
924
+ }
925
+
926
+ form {
927
+ margin:1em 0;
928
+ }
929
+ form li {
930
+ margin-bottom:0.5em;
931
+ }
932
+ form p {
933
+ text-indent:0;
934
+ }
935
+ fieldset {
936
+ padding:1em;
937
+ }
938
+ legend { font-weight:bold; }
939
+ label {
940
+ display:inline-block;
941
+ font-weight:bold;
942
+ }
943
+ form label {
944
+ width:17%;
945
+ vertical-align:top;
946
+ }
947
+ label[for=nobot] {
948
+ width:auto;
949
+ }
950
+ input,
951
+ textarea,
952
+ label {
953
+ padding:0.25em;
954
+ }
955
+ input,
956
+ textarea,
957
+ select,
958
+ button {
959
+ font-family:inherit;
960
+ font-size:inherit;
961
+ }
962
+ input[type=submit] {
963
+ font-weight:bold;
964
+ }
965
+
966
+ #abstract,
967
+ #document-status,
968
+ #document-identifier,
969
+ #document-purpose,
970
+ #document-published,
971
+ #document-modified,
972
+ #document-appeared,
973
+ #document-in-reply-to,
974
+ #document-annotation-service,
975
+ #document-license,
976
+ #document-language,
977
+ #document-format,
978
+ #document-event,
979
+ #document-inbox,
980
+ #document-see-also,
981
+ #general-terms,
982
+ #categories-and-subject-descriptors,
983
+ #keywords {
984
+ padding:0 2.5em;
985
+ margin:0 0 1em 0;
986
+ }
987
+
988
+ #general-terms,
989
+ #categories-and-subject-descriptors li,
990
+ #keywords li {
991
+ list-style-type:none;
992
+ }
993
+ #general-terms li,
994
+ #categories-and-subject-descriptors li,
995
+ #keywords li {
996
+ display:inline;
997
+ }
998
+ #categories-and-subject-descriptors li:after {
999
+ content:";\0020";
1000
+ }
1001
+ #general-terms li:before,
1002
+ #keywords li:before {
1003
+ content:"\2022\0020";
1004
+ }
1005
+ #document-format dd:after {
1006
+ content:",\0020";
1007
+ }
1008
+ #general-terms li:first-child:before,
1009
+ #categories-and-subject-descriptors li:last-child:after,
1010
+ #keywords li:first-child:before,
1011
+ #document-format dd:last-child:after {
1012
+ content:"";
1013
+ }
1014
+
1015
+ #general-terms h2,
1016
+ #categories-and-subject-descriptors h2,
1017
+ #keywords h2,
1018
+ #document-identifier dt,
1019
+ #document-published dt,
1020
+ #document-modified dt,
1021
+ #document-appeared dt,
1022
+ #document-in-reply-to dt,
1023
+ #document-annotation-service dt,
1024
+ #document-license dt,
1025
+ #document-language dt,
1026
+ #document-status dt,
1027
+ #document-format dt,
1028
+ #document-event dt {
1029
+ text-transform:capitalize;
1030
+ }
1031
+
1032
+ #keywords {
1033
+ margin-bottom:2.75em;
1034
+ }
1035
+ #keywords + #categories-and-subject-descriptors {
1036
+ margin-top:-1.75em;
1037
+ }
1038
+
1039
+
1040
+ #content ul {
1041
+ list-style-position:inside;
1042
+ margin-bottom:1em;
1043
+ }
1044
+ #content table ul {
1045
+ margin-bottom:0;
1046
+ }
1047
+
1048
+ .entry-author,
1049
+ .datetimestamp,
1050
+ .entry-replies,
1051
+ #interaction-write,
1052
+ .article_labels * {
1053
+ display:none;
1054
+ }
1055
+
1056
+ body > header {
1057
+ text-align:center;
1058
+ margin-bottom:2em;
1059
+ }
1060
+
1061
+ header nav ul {
1062
+ text-align:center;
1063
+ }
1064
+ header nav li {
1065
+ list-style-type:none;
1066
+ display:inline;
1067
+ }
1068
+ header nav li:before {
1069
+ content:"\2022\0020";
1070
+ }
1071
+ header nav li:first-child:before {
1072
+ content:"";
1073
+ }
1074
+
1075
+ ul#program-committee {
1076
+ column-count: 2;
1077
+ -moz-column-count: 2;
1078
+ -webkit-column-count: 2;
1079
+ }
1080
+
1081
+ .on {
1082
+ display:block !important;
1083
+ }
1084
+ .off {
1085
+ display:none !important;
1086
+ }