This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pdf-style.json
117 lines (117 loc) · 2.07 KB
/
pdf-style.json
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
{
"settings": {
"fonts": {
"heading": "dist/fonts/oswald-641e7f512fab8283a2a459253c6e3a148216997e.ttf",
"serif": "dist/fonts/lora-101b41c4d985d4e5b5addbed77bbedfc1d55d89a.ttf",
"sanSerif": "dist/fonts/droidsans-ea469d63bf279daeb58f104d71e6e0f0d62f93af.ttf"
},
"colors": {
"black": [0, 0, 0],
"white": [255, 255, 255]
}
},
"rules": {
"defaultText": {
"font": "serif",
"fontSize": 12,
"color": "black",
"margin": 0.25
},
"defaultPage": {
"margin": 0,
"width": 11,
"height": 8.5
},
"coverPage": {
"inherit": "defaultPage",
"align": "center"
},
"coverImage": {
"scale": "fill"
},
"coverTitle": {
"inherit": "defaultText",
"font": "heading",
"fontSize": 40,
"top": 1
},
"coverByLine": {
"inherit": "defaultText",
"font": "sanSerif",
"fontSize": 15
},
"coverDate": {
"inherit": "defaultText",
"font": "sanSerif"
},
"coverSummary": {
"inherit": "defaultText",
"width": 4,
"marginTop": 1,
"align": "justify"
},
"coverOverlay": {
"top": 0,
"bottom": 0,
"width": 5,
"color": [255, 255, 255, 0.7]
},
"copyrightPage": {
"inherit": "defaultPage",
"margin": 1
},
"copyrightText": {
"inherit": "defaultText",
"marginBottom": 0.25
},
"editionText": {
"inherit": "defaultText",
"fontSize": 14
},
"photoWell": {
"backgroundColor": "black",
"scale": "fit",
"top": 0,
"left": 0
},
"photoWellTop": {
"inherit": "photoWell",
"right": 0
},
"photoWellLeft": {
"inherit": "photoWell",
"bottom": 0
},
"caption": {
"inherit": "defaultText",
"bottom": 0,
"right": 0
},
"captionRight": {
"inherit": "caption",
"minWidth": 2,
"top": 0
},
"captionBottom": {
"inherit": "caption",
"left": 0
},
"pageNumber": {
"inherit": "defaultText",
"font": "sanSerif",
"fontSize": 10,
"width": 0.5,
"align": "right",
"right": 0.25,
"bottom": 0.25
},
"pageHeading": {
"inherit": "defaultText",
"font": "sanSerif",
"fontSize": 20
},
"photoPage": {
"inherit": "defaultPage"
}
}
}