-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpdf-theme.yml
137 lines (137 loc) · 3.82 KB
/
pdf-theme.yml
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
#font:
# catalog:
# NotoSerif:
# normal: notoserif-regular-latin.ttf
# bold: notoserif-bold-latin.ttf
# italic: notoserif-italic-latin.ttf
# bold_italic: notoserif-bolditalic-latin.ttf
# LiberationMono:
# normal: liberationmono-regular-latin.ttf
# bold: liberationmono-bold-latin.ttf
# italic: liberationmono-italic-latin.ttf
# bold_italic: liberationmono-bolditalic-latin.ttf
# #Mplus1pMultilingual:
# # normal: mplus1p-regular-multilingual.ttf
# #FontAwesome:
# # normal: fontawesome-regular.ttf
# # FIXME using fallbacks breaks use of custom font styles
# #fallbacks:
# # - Mplus1pMultilingual
brand:
primary_color: 2A5D84
page:
#background: path/to/background/image.png
background_color: FFFFFF
layout: portrait
# multiply inches by 72 to get pt values
# 0.5", 0.67", 0.67", 0.67"
margin: [36, 48.24, 48.24]
size: Letter
base:
font_color: 333333
font_family: Helvetica
# choose one of these font_size/line_height_length combinations
#font_size: 14
#line_height_length: 20
#font_size: 11.25
#line_height_length: 18
#font_size: 11.2
#line_height_length: 16
font_size: 10.5
line_height_length: 15
#font_size: 11.25
#line_height_length: 18
line_height: $base_line_height_length / $base_font_size
font_size_large: round($base_font_size * 1.25)
font_size_small: round($base_font_size * 0.85)
font_style: normal
align: justify
border_radius: 4
border_width: 0.5
border_color: EEEEEE
vertical_rhythm: $base_line_height_length * 2 / 3
horizontal_rhythm: $base_line_height_length
link_font_color: $brand_primary_color
heading:
font_color: $base_font_color
font_family: $base_font_family
font_size_h1: floor($base_font_size * 2.6)
font_size_h2: floor($base_font_size * 2.15)
font_size_h3: round($base_font_size * 1.7)
font_size_h4: $base_font_size_large
font_size_h5: $base_font_size
font_size_h6: $base_font_size_small
font_style: bold
line_height: 1.4
margin_top: $vertical_rhythm / 2
margin_bottom: $vertical_rhythm
code:
font_color: $base_font_color
font_family: Helvetica
font_size: floor($base_font_size * 0.9)
padding: [9.5, 9.5, 9.5, 9.5]
background_color: F5F5F5
border_color: CCCCCC
border_radius: $base_border_radius
border_width: 0.75
literal:
font_family: $code_font_family
#font_color: C7254E
font_color: B12146
blockquote:
font_color: $base_font_color
font_size: $base_font_size_large
border_width: 5
border_color: $base_border_color
cite_font_size: $base_font_size_small
cite_font_color: 999999
sidebar:
border_color: FFFFFF
border_radius: $base_border_radius
border_width: $base_border_width
background_color: EEEEEE
title_font_color: $heading_font_color
title_font_family: $heading_font_family
title_font_size: $heading_font_size_h4
title_font_style: $heading_font_style
title_align: center
example:
border_color: $base_border_color
border_radius: $base_border_radius
border_width: 0.75
background_color: transparent
admonition:
border_color: $base_border_color
border_width: $base_border_width
caption:
font_style: italic
align: left
margin_inside: $vertical_rhythm / 2
margin_outside: 0
image:
align_default: left
scaled_width_default: 0.5
lead:
font_size: floor($base_line_height_length * 0.8)
line_height: 1.4
abstract:
font_size: $lead_font_size
font_color: 999999
font_style: italic
indent: 0
horizontal_rule_color: $base_border_color
definition_list:
term_font_style: italic
definition_indent: $horizontal_rhythm * 1.25
outline_list:
indent: $horizontal_rhythm * 1.25
table:
background_color: transparent
background_color_alt: F9F9F9
border_color: DDDDDD
border_width: $base_border_width
cell_padding: floor($base_line_height_length * 0.35)
footer:
font_size: $base_font_size_small
font_color: $base_font_color
border_color: DDDDDD