2525 background_color : ffffff
2626 layout : portrait
2727 margin : [0.5in, 0.67in, 0.67in, 0.67in]
28+ # margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
2829 margin_inner : 0.75in
2930 margin_outer : 0.59in
3031 size : A4
@@ -39,16 +40,16 @@ base:
3940 # font_color: [0, 0, 0, 92%]
4041 font_family : Noto Serif
4142 # choose one of these font_size/line_height_length combinations
42- font_size : 14
43- line_height_length : 20
43+ # font_size: 14
44+ # line_height_length: 20
4445 # font_size: 11.25
4546 # line_height_length: 18
4647 # font_size: 11.2
4748 # line_height_length: 16
48- # font_size: 10.5
49+ font_size : 10.5
4950 # line_height_length: 15
5051 # correct line height for Noto Serif metrics
51- # line_height_length: 12
52+ line_height_length : 12
5253 # font_size: 11.25
5354 # line_height_length: 18
5455 line_height : $base_line_height_length / $base_font_size
@@ -74,11 +75,12 @@ literal:
7475 font_family : M+ 1mn
7576menu_caret_content : " <font size=\" 1.15em\" ><color rgb=\" b12146\" >\u203a </color></font> "
7677heading :
78+ align : left
7779 # font_color: 181818
7880 font_color : $base_font_color
79- font_family : M+ 1p Fallback
81+ font_family : $base_font_family
8082 font_style : bold
81- # h1 is used for part titles (book doctype only )
83+ # h1 is used for part titles (book doctype) or the doctitle (article doctype )
8284 h1_font_size : floor($base_font_size * 2.6)
8385 # h2 is used for chapter titles (book doctype only)
8486 h2_font_size : floor($base_font_size * 2.15)
@@ -115,6 +117,7 @@ block:
115117 margin_bottom : $vertical_rhythm
116118caption :
117119 align : left
120+ font_size : $base_font_size * 0.95
118121 font_style : italic
119122 # FIXME perhaps set line_height instead of / in addition to margins?
120123 margin_inside : $vertical_rhythm / 3
@@ -129,21 +132,31 @@ abstract:
129132 line_height : $lead_line_height
130133 font_style : italic
131134 first_line_font_style : bold
135+ title :
136+ align : center
137+ font_color : $heading_font_color
138+ font_family : $heading_font_family
139+ font_size : $heading_h4_font_size
140+ font_style : $heading_font_style
132141admonition :
133- border_color : $base_border_color
134- border_width : $base_border_width
142+ column_rule_color : $base_border_color
143+ column_rule_width : $base_border_width
135144 padding : [0, $horizontal_rhythm, 0, $horizontal_rhythm]
136- # icon:
137- # tip:
138- # name: fa-lightbulb-o
139- # stroke_color: 111111
140- # size: 24
145+ # icon:
146+ # tip:
147+ # name: fa-lightbulb-o
148+ # stroke_color: 111111
149+ # size: 24
150+ label :
151+ text_transform : uppercase
152+ font_style : bold
141153blockquote :
142154 font_color : $base_font_color
143155 font_size : $base_font_size_large
144156 border_color : $base_border_color
145157 border_width : 5
146- padding : [$vertical_rhythm / 2, $horizontal_rhythm, $vertical_rhythm / -2, $horizontal_rhythm + $blockquote_border_width / 2]
158+ # FIXME disable negative padding bottom once margin collapsing is implemented
159+ padding : [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_width / 2]
147160 cite_font_size : $base_font_size_small
148161 cite_font_color : 999999
149162# code is used for source blocks (perhaps change to source or listing?)
@@ -153,6 +166,8 @@ code:
153166 font_size : ceil($base_font_size)
154167 padding : $code_font_size
155168 line_height : 1.25
169+ # line_gap is an experimental property to control how a background color is applied to an inline block element
170+ line_gap : 3.8
156171 background_color : f5f5f5
157172 border_color : cccccc
158173 border_radius : $base_border_radius
@@ -166,20 +181,20 @@ example:
166181 border_color : $base_border_color
167182 border_radius : $base_border_radius
168183 border_width : 0.75
169- background_color : transparent
170- # FIXME reenable margin bottom once margin collapsing is implemented
184+ background_color : ffffff
185+ # FIXME reenable padding bottom once margin collapsing is implemented
171186 padding : [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
172187image :
173188 align : left
174189prose :
175- margin_top : 0
176- margin_bottom : $vertical_rhythm
190+ margin_top : $block_margin_top
191+ margin_bottom : $block_margin_bottom
177192sidebar :
178- border_color : $page_background_color
193+ background_color : eeeeee
194+ border_color : e1e1e1
179195 border_radius : $base_border_radius
180196 border_width : $base_border_width
181- background_color : eeeeee
182- # FIXME reenable margin bottom once margin collapsing is implemented
197+ # FIXME reenable padding bottom once margin collapsing is implemented
183198 padding : [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
184199 title :
185200 align : center
@@ -194,35 +209,35 @@ thematic_break:
194209 margin_top : $vertical_rhythm * 0.5
195210 margin_bottom : $vertical_rhythm * 1.5
196211description_list :
197- term_font_style : italic
212+ term_font_style : bold
198213 term_spacing : $vertical_rhythm / 4
199214 description_indent : $horizontal_rhythm * 1.25
200215outline_list :
201216 indent : $horizontal_rhythm * 1.5
202- # NOTE item_spacing applies to list items that do not have complex content
203- item_spacing : $vertical_rhythm / 2
204217 # marker_font_color: 404040
218+ # NOTE outline_list_item_spacing applies to list items that do not have complex content
219+ item_spacing : $vertical_rhythm / 2
205220table :
206221 background_color : $page_background_color
207222 # head_background_color: <hex value>
208223 # head_font_color: $base_font_color
209224 head_font_style : bold
210- even_row_background_color : f9f9f9
211- # odd_row_background_color: <hex value>
225+ # body_background_color: <hex value>
226+ body_stripe_background_color : f9f9f9
212227 foot_background_color : f0f0f0
213228 border_color : dddddd
214229 border_width : $base_border_width
215- # HACK accounting for line-height
216- cell_padding : [3, 3, 6, 3]
230+ cell_padding : 3
217231toc :
218- dot_leader_color : dddddd
219- # dot_leader_content: '. '
220232 indent : $horizontal_rhythm
221233 line_height : 1.4
222- # NOTE In addition to footer, header is also supported
234+ dot_leader :
235+ # content: ". "
236+ font_color : a9a9a9
237+ # levels: 2 3
238+ # NOTE in addition to footer, header is also supported
223239footer :
224240 font_size : $base_font_size_small
225- font_color : $base_font_color
226241 # NOTE if background_color is set, background and border will span width of page
227242 border_color : dddddd
228243 border_width : 0.25
@@ -239,12 +254,18 @@ footer:
239254 # * {chapter-title}
240255 # * {section-title}
241256 # * {section-or-chapter-title}
242- recto_content :
243- # right: '{section-or-chapter-title} | {page-number}'
244- # right: '{document-title} | {page-number}'
245- right : ' {page-number}'
246- # center: '{page-number}'
247- verso_content :
248- # left: '{page-number} | {chapter-title}'
249- left : ' {page-number}'
250- # center: '{page-number}'
257+ recto :
258+ # columns: "<50% =0% >50%"
259+ right :
260+ content : ' {page-number}'
261+ # content: '{section-or-chapter-title} | {page-number}'
262+ # content: '{document-title} | {page-number}'
263+ # center:
264+ # content: '{page-number}'
265+ verso :
266+ # columns: $footer_recto_columns
267+ left :
268+ content : $footer_recto_right_content
269+ # content: '{page-number} | {chapter-title}'
270+ # center:
271+ # content: '{page-number}'
0 commit comments