forked from jamescummings/LEAP-XSLT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-LLJ-complete.css
677 lines (629 loc) · 16.3 KB
/
style-LLJ-complete.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
/*
Table of Contents
-----------------
1. Textual divisions
1.5 Title section
2. Letters
3. pb, lb, linenumber
4. Milestone and lines
5. p, ab, note, fw
6. Additions and Deletions
7. Unclear, app, gap, space
8. Editorial
9. @rend classes (except lines, page placement, colors)
10. Page placement
11. Colors
12. Lists and Tables
13. Misc
*/
/* Rules for containers either this is shown embedded in the viewer or not */
body.non-embedded-transcription,
div.transcription-viewer-content.style-LLJ-complete {
background:#ead7b3;
/*LLJ*/
}
/* 1. Textual divisions */
div.transcription.style-LLJ-complete {
margin-left:auto;
margin-right:auto;
padding-left:2.5em;
padding-right:2.5em;
text-align:center;
max-width:26em;/*LLJ*/
min-width:26em;/*LLJ*/
font-family:"source sans pro", calibri, arial, helvetica, sans-serif;
font-size:16px; /*Make .9em; also for table*/
/*white-space:nowrap;*/
color:#46381e;/*LLJ*/
}
div.transcription.style-LLJ-complete .TEI {
display:block;/*LLJ*/
padding-top:.5em;
text-align:justify;
/*LLJ*/
background:#ead7b3;
/*LLJ*/
}
/*
@media all and (max-width:768px) {
.TEI {
/*padding-left:1.5em;*//*Removed because didn't work with triple viewer
*/
div.transcription.style-LLJ-complete .item-details {
max-width:26em;/*LLJ*/
min-width:26em;/*LLJ*/
text-align:left;/*LLJ*/
padding-top:1em;
}
div.transcription.style-LLJ-complete div.body {
display:block;
padding-bottom:2.4em;
padding-top:1.5em;
}
div.transcription.style-LLJ-complete .front,
div.transcription.style-LLJ-complete .back {
display:block;
}
/* 1.5. Title section */
div.transcription.style-LLJ-complete .title {
display:inline-block;/*LLJ*/
text-align:center;
margin-bottom:1em;/*LLJ*/
font-size:1.4em;
font-variant:small-caps;
}
div.transcription.style-LLJ-complete .author {
display:block;
text-align:center;
margin-bottom:-0.5em;
/*LLJ*/
font-size:1.2em;
font-style:italic;
}
div.transcription.style-LLJ-complete .authority {
font-size:.9em;
line-height:2em;
}
div.transcription.style-LLJ-complete .pub-date {
font-size:.9em;
}
div.transcription.style-LLJ-complete a:link {
color:#428bca;
}
div.transcription.style-LLJ-complete .idno {
font-size:.9em;
line-height:2em;
}
div.transcription.style-LLJ-complete hr.title-section {
width:100%;
height:0;
border:0;
border-top:1px solid #58484b;
margin-top:-0.4em;
margin-bottom:-0.4em;
}
div.transcription.style-LLJ-complete .project-id {
color:gray;
font-size:.9em;
}
/* 2. Letters */
div.transcription.style-LLJ-complete .opener,
div.transcription.style-LLJ-complete .closer {
margin-bottom:0px;
}
div.transcription.style-LLJ-complete .opener {
display:inline;
margin-top:1em;
}
div.transcription.style-LLJ-complete .closer {
display:block;
}
div.transcription.style-LLJ-complete .dateline {
display:inline;
text-indent:0;
}
div.transcription.style-LLJ-complete .dateline.center {
display:inline-block;
}
div.transcription.style-LLJ-complete .dateline.right {
display:block;
}
div.transcription.style-LLJ-complete .closer-salute {
margin-left:0 !important;
}
div.transcription.style-LLJ-complete .signed {
display:inline-block;
}
div.transcription.style-LLJ-complete .address {
display:block;
}
/* 3. pb, lb, linenumber */
div.transcription.style-LLJ-complete .pb-title {
display:block;
color:#428bca;/*Changed for full LJ. Was color:#f6dbb0; & text decoration hidden*/
/*text-decoration:underline;*/
font-size:90%;
margin-top:2em;/*Changed for full LJ.*/
margin-bottom:0;/*Changed for full LJ.*/
padding-bottom:10px;/*Added for full LJ.*/
}
div.transcription.style-LLJ-complete .pb-title:hover {
color:#AAA;
/*Changed for full LJ. Was color:#f6dbb0;*/
cursor:pointer;
}
div.transcription.style-LLJ-complete .pb-title:first-of-type {
/*margin-top:0;*/
/*This is to prevent scrolling up when the first image opens. AW*/
}
div.transcription.style-LLJ-complete p span.pb-title {
text-indent:0;/*LLJ*/
margin-left:0;/*Changed for full LJ. Was margin-top:3em;*/
}
div.transcription.style-LLJ-complete .lb {
display:block;
}
div.transcription.style-LLJ-complete .linenumber {
text-align:right;
float:left;
color:#8c8b85;
margin-left:-3em !important;
/*text-indent:9%;*/
font-size:80%;
width:1em;
display:none;
}
div.transcription.style-LLJ-complete p .linenumber {
text-indent:-1%;
}
div.transcription.style-LLJ-complete .p.noindent.linenumber {
text-indent:1em;
}
div.transcription.style-LLJ-complete p.center .linenumber {
margin-left:-12.5em !important;
/*Needs to be checked.*/
}
div.transcription.style-LLJ-complete p.right .linenumber {
margin-left:-18em !important;
}
div.transcription.style-LLJ-complete .list .linenumber {
text-indent:0;
}
/* 4. Milestone and lines */
div.transcription.style-LLJ-complete .milestone {
display:block;
width:60%;
background:#FFF;
height:0;
border:0;
border-top:1px solid #58484b;
margin-left:0;
margin-right:9%;
padding:0px;
margin-bottom:-0.5em;
margin-top:1em;
}
div.transcription.style-LLJ-complete .line {
border-bottom:1px solid #d0d0d0;
display:block;
width:14em !important;/*LLJ*/
margin-left:6em;
text-align:left;
height:0;
border:0;
border-top:1px solid #58484b;
}
/*.doubleline {
border-top:4px double #8c8b8b;
display:block;
width:35% !important;
margin-left:9%;
text-align:left;
color:black;
}*/
/*.tripleline {
border-top:4px double #8c8b8b;
line-height:1.9em;
display:block;
width:35% !important;
margin-left:9%;
text-align:left;
color:black;
}*/
/* Both of the above are not used in the 1870 FD transformation. See .second-line below.*/
div.transcription.style-LLJ-complete .halfline {
border-bottom:1px solid #d0d0d0;
display:block;
width:17.5em !important;
margin-left:0;
text-align:left;
height:0;
border:0;
border-top:1px solid #58484b;
}
div.transcription.style-LLJ-complete .quarterline {
border-bottom:1px solid #d0d0d0;
display:block;
width:11em !important;
margin-left:0;
text-align:left;
height:0;
border:0;
border-top:1px solid #58484b;
}
div.transcription.style-LLJ-complete .second-line {
border-bottom:1px solid #d0d0d0;
display:block;
width:22em !important;
margin-left:0;
text-align:left;
margin-top:-1em;
margin-bottom:0em;
height:0;
border:0;
border-top:1px solid #58484b;
}
div.transcription.style-LLJ-complete .third-line {
border-bottom:1px solid #d0d0d0;
display:block;
width:22em !important;
margin-left:0;
text-align:left;
margin-top:1.5em;
height:0;
border:0;
border-top:1px solid #58484b;
}
/* 5. p, ab, note, fw */
div.transcription.style-LLJ-complete p {
/*margin-right:2em;*/ /*Needed so that the text doesn't run up against the right edge in the viewer.*/
}
div.transcription.style-LLJ-complete .p,
div.transcription.style-LLJ-complete .note {
display:inline-block;
text-indent:25px;
margin-top:0;
margin-bottom:0;
}/*LLJ*/
div.transcription.style-LLJ-complete .note {
margin-top:1.5em;
text-indent:0px !important;
font-size:.9em;
}/*LLJ*/
div.transcription.style-LLJ-complete .p.noindent {
text-indent:0 !important;
}
div.transcription.style-LLJ-complete .p.center {
text-indent:0 !important;
}
div.transcription.style-LLJ-complete .p.right {
text-indent:0 !important;
}
div.transcription.style-LLJ-complete .ab {
padding-left:0em;
text-indent:-1.5em;/*This and previous together create a hanging indent for LLJ*/
margin-left:2em;/*LLJ*/
margin-top:0;
margin-bottom:0;
font-size:0.9em;/*LLJ*/
}
div.transcription.style-LLJ-complete .head {
font-weight:300;
text-align:center;/*LLJ*/
margin-bottom:0em;/*LLJ*/
}
div.transcription.style-LLJ-complete .fw {
font-size:.9em !important;
/*color:#706f6a;*/ /*Removed for full LJ*/
}/*LLJ*/
div.transcription.style-LLJ-complete .fw.catch {
margin-top:-1em;
display:block;
/*color:purple;*/ /*Added for full LJ*/
padding-left:2em; /*Added for full LJ*/
padding-right:3em; /*Added for full LJ*/
}/*LLJ*/
div.transcription.style-LLJ-complete .fw.catch.left {
text-indent:0;
}/*LLJ*/
div.transcription.style-LLJ-complete .fw.catch.right {
text-indent:0;
}/*LLJ*/
div.transcription.style-LLJ-complete .fw.inspace .right {
/*color:purple;*/ /*Added for full LJ*/
}
div.transcription.style-LLJ-complete .fw.inspace .right {
padding-right:3em; /*Added for full LJ*/
}
div.transcription.style-LLJ-complete .fw.pageno {
text-indent:0 !important;
display:block;
text-align:center;
margin-bottom:1em;
}/*LLJ*/
div.transcription.style-LLJ-complete .p .fw.pageno {
margin-bottom:1em;
display:block;
text-align:center;
}/*LLJ*/
/* 6. Additions and Deletions */
div.transcription.style-LLJ-complete .addmargin {
text-indent:0px;
}
div.transcription.style-LLJ-complete .del,
div.transcription.style-LLJ-complete .cancelled,
div.transcription.style-LLJ-complete .strikethrough,
div.transcription.style-LLJ-complete .overwritten {
text-decoration:line-through;
}
div.transcription.style-LLJ-complete .del-by-over-text {
color:#706f6a;
text-decoration:line-through;
}
/* 7. Unclear, app, gap, space */
div.transcription.style-LLJ-complete .unclear {
color:#706f6a;
border-bottom:1px dotted #706f6a;
}
div.transcription.style-LLJ-complete .app {
border-bottom: 1px dotted #706f6a;
}
div.transcription.style-LLJ-complete .gap {
/*border-bottom:1px dotted black;*/
}
div.transcription.style-LLJ-complete .space-other {
border-bottom:1px dotted black;
display:block;
}
div.transcription.style-LLJ-complete .verticalSpace {
display:inline-block;
border-bottom:1px dotted black;
text-indent:0;
}
/* 8. Editorial */
div.transcription.style-LLJ-complete .sic,
div.transcription.style-LLJ-complete .corr {
border-bottom:2px #B33B24 dotted;
}
div.transcription.style-LLJ-complete .orig,
div.transcription.style-LLJ-complete .reg {
/*border-bottom:1px green dotted*/
}
div.transcription.style-LLJ-complete .abbr,
div.transcription.style-LLJ-complete .expan {
border-bottom:1px green dotted;
}
div.transcription.style-LLJ-complete .expan {
display:none;
}
div.transcription.style-LLJ-complete .hidden {
display:none;
}
div.transcription.style-LLJ-complete .rdg {
display:block;
}
/* 9. @rend classes (except colors, lines, and up-down placement) */
div.transcription.style-LLJ-complete .caps {
font-variant:small-caps;
}
div.transcription.style-LLJ-complete .center {
text-align:center;
/*color:green;*//*Added for full LJ.*/
}/*LLJ*/
div.transcription.style-LLJ-complete .doubleunderline {
border-bottom:3px double;
}
div.transcription.style-LLJ-complete .inline {
color:#706f6a;
}
div.transcription.style-LLJ-complete .italic {
font-style:italic;
}
div.transcription.style-LLJ-complete .large {
font-size:120%;
}
div.transcription.style-LLJ-complete .left {
float:left;
}/*LLF*/
div.transcription.style-LLJ-complete .overline {
text-decoration:overline;
}
div.transcription.style-LLJ-complete .overline.underline {
text-decoration:overline underline;
}
div.transcription.style-LLJ-complete .overtext {
/*color:#706f6a;*/
}
div.transcription.style-LLJ-complete .right {
text-indent:0;
float:right;
}/*LLJ*/
div.transcription.style-LLJ-complete .small {
font-size:85%;
}
div.transcription.style-LLJ-complete .smallcaps {
font-variant:small-caps;
}
div.transcription.style-LLJ-complete .underline {
text-decoration:underline;
}
div.transcription.style-LLJ-complete .upsidedown {
/*-ms-transform:rotate(180deg);*/ /* IE 9 */
/*-moz-transform:rotate(180deg);*/ /* Firefox */
/*-webkit-transform:rotate(180deg);*/ /* Safari and Chrome */
/*-o-transform:rotate(180deg);*/ /* Opera */
}
div.transcription.style-LLJ-complete .vertical {
/*-ms-transform:rotate(90deg);*/ /* IE 9 */
/*-moz-transform:rotate(90deg);*/ /* Firefox */
/*-webkit-transform:rotate(90deg);*/ /* Safari and Chrome */
/*-o-transform:rotate(90deg);*/ /* Opera */
}
/* 10. Page placement */
div.transcription.style-LLJ-complete .above,
div.transcription.style-LLJ-complete .below,
div.transcription.style-LLJ-complete .bottom,
div.transcription.style-LLJ-complete .sub,
div.transcription.style-LLJ-complete .sup,
div.transcription.style-LLJ-complete .top {
/* Specified in % so that the sup/sup is the
right size relative to the surrounding text */
font-size:75%;
/* Zero out the line-height so that it doesn't
interfere with the positioning that follows */
line-height:0;
/* Where the magic happens:makes all browsers position
the sup/sup properly, relative to the surrounding text */
position:relative;
/* Note that if you're using Eric Meyer's reset.css, this
is already set and you can remove this rule */
vertical-align:baseline;
}
div.transcription.style-LLJ-complete .above,
div.transcription.style-LLJ-complete .sup,
div.transcription.style-LLJ-complete .top {
/* Move the superscripted text up */
top:-0.5em;
}
div.transcription.style-LLJ-complete .below,
div.transcription.style-LLJ-complete .bottom,
div.transcription.style-LLJ-complete .sub {
/* Move the subscripted text down, but only
half as far down as the superscript moved up */
bottom:-0.25em;
}
div.transcription.style-LLJ-complete .margintop {
margin-left:0;
color:#706f6a;
line-height:0;
position:relative;
vertical-align:baseline;
top:-1em;
}
div.transcription.style-LLJ-complete .true {
display:inline-block;
}/*Goes with standalone <note>s*/
/* 11. Colors */
div.transcription.style-LLJ-complete .black {
color:black;
}
div.transcription.style-LLJ-complete .blue {
color:blue;
}
div.transcription.style-LLJ-complete .brown {
color:brown;
}
div.transcription.style-LLJ-complete .gray {
color:#706f6a;
}
div.transcription.style-LLJ-complete .green {
color:green;
}
div.transcription.style-LLJ-complete .orange {
color:orange;
}
div.transcription.style-LLJ-complete .purple {
color:purple;
}
div.transcription.style-LLJ-complete .red {
color:#B33B24;
}
div.transcription.style-LLJ-complete .yellow {
color:yellow;
}
/* 12. Lists and Tables */
div.transcription.style-LLJ-complete .list {
display:block;
margin-top:12px;
}
div.transcription.style-LLJ-complete table {
font-size:1em; /*85%;*//*Changed for 1870 Field Diary*/
border-style:none;
margin-right:2em; /*Needed so that the text doesn't run up against the right edge in the viewer.*/
color:#58484b; /*Added color for 1870 Field Diary*/
}
div.transcription.style-LLJ-complete tr,
div.transcription.style-LLJ-complete td {
border-style:none;
}
/* 13. Misc */
div.transcription.style-LLJ-complete .date-red {
display:none;
color:red;
font-style:normal;
}/*Added for full LLJ*/
div.transcription.style-LLJ-complete .reduce {
margin-bottom:-2em;
}/*Fixes issues introd by milestone in LLJ*/
div.transcription.style-LLJ-complete .figure {
margin-left:0;
color:#706f6a;
font-size:.8em;
border-bottom:1px #706f6a dotted;
}
div.transcription.style-LLJ-complete .graphic.inline-left {
width:12em;
float:left;
margin:0.5em 2.5em -1em -1.5em;
}
div.transcription.style-LLJ-complete .graphic.inline-left-medium {
width:10em;
float:left;
margin:0.5em 2.5em -0.5em -1.5em;
/*-.5 deviation needed for LJ 1:72*/
}
div.transcription.style-LLJ-complete .graphic.inline-left-small {
width:8em;
float:left;
margin:0.5em 2.5em -1em -1.5em;
}
div.transcription.style-LLJ-complete .graphic.inline-right {
width:12em;
float:right;
margin:0.5em -0.2em -1em 0.5em;
}
div.transcription.style-LLJ-complete .graphic.inline-right-medium {
width:10em;
float:right;
margin:0.5em -0.2em -1em 0.5em;
}
div.transcription.style-LLJ-complete .graphic.inline-right-small {
width:8em;
float:right;
margin:0.5em -0.2em -1em 0.5em;
}
div.transcription.style-LLJ-complete .p .graphic.inline-right,
div.transcription.style-LLJ-complete .p .graphic.inline-right-medium,
div.transcription.style-LLJ-complete .p .graphic.inline-right-small {
text-indent:0;
}
div.transcription.style-LLJ-complete .p .figure,
div.transcription.style-LLJ-complete .p.noindent .figure,
div.transcription.style-LLJ-complete .ab .figure {
margin-left:0px !important;
text-indent:0px;
}
div.transcription.style-LLJ-complete .p .figure.graphic {
text-indent:0px !important;
/*LLLJ*/
}
div.transcription.style-LLJ-complete .metamark {
color:#706f6a;
border-bottom:1px #706f6a dotted;
}
div.transcription.style-LLJ-complete p .metamark {
margin-left:0px !important;
text-indent:0px !important;
}
div.transcription.style-LLJ-complete .foreign,
div.transcription.style-LLJ-complete .geogName,
div.transcription.style-LLJ-complete .persName,
div.transcription.style-LLJ-complete .orgName,
div.transcription.style-LLJ-complete .quote,
div.transcription.style-LLJ-complete .region,
div.transcription.style-LLJ-complete .settlement,
div.transcription.style-LLJ-complete .term-ailment,
div.transcription.style-LLJ-complete .term-tribe {
border-bottom:2px #428bca dotted;
/* change to 1px */
}