font:
  catalog:
    Arial:
      normal: arial.ttf
      italic: ariali.ttf
      bold: arialbd.ttf
      bold_italic: arialbi.ttf

running-content:
  start-at: title

base:
  font-color: #002060
  font-family: Arial
  font_size: 10.5
  # line_height_length is really just a vertical spacing variable; it's not actually the height of a line
  line_height_length: 10
  # The Noto font family has a built-in line height of 1.36
  # With this line_height, a line of text will occupy a height of 15.78pt
  line_height: 2
  font_size_large: round($base_font_size * 1.5)
  font_size_small: round($base_font_size * 0.85)
  font_size_min: $base_font_size * 0.55
  font_style: normal
  border_radius: 4
  border_width: 0.5

base_default_margin: 2.4cm
base_default_margin_top: $base_font_size_small * 6 + $base_line_height_length
planet_pay_blue_color: #4f87c3
planet_pay_pink_color: #ff0090

page:
  numbering:
    start-at: title
  background_color: FFFFFF
  layout: portrait
  initial_zoom: FitH
  margin: [ $base_default_margin_top + 1.5cm, $base_default_margin, 1cm, $base_default_margin ]
  # margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
  margin_inner: 0.75in
  margin_outer: 0.59in
  size: A4


role:
  url-in-table:
    font_style: italic
    font_size: round($base_font_size * 0.80)
  horizontal-line:
    text-decoration: line-through
    text-decoration-color: $planet_pay_blue_color
    font_color: $page_background_color

vertical_rhythm: $base_line_height_length
horizontal_rhythm: $base_line_height_length
#
#link:
#  font_color: 428BCA
## codespan is currently used for monospaced phrases and table cells
#codespan:
#  font_color: B12146
#button:
#  content: "[\u2009%s\u2009]"
#  font_style: bold
#kbd:
#  background_color: F5F5F5
#  border_color: CCCCCC
#  border_offset: 2
#  border_radius: 2
#  border_width: 0.5
#  font_family: $codespan_font_family
#  separator_content: "\u202f+\u202f\u200b"
#mark:
#  background_color: FFFF00
#  border_offset: 1
#menu:
#  caret_content: "\u00a0<font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
#  font_style: bold
heading:
  #  text_align: left
#  font_color: #ff00ff
#  font_style: bold
  # h1 is used for part titles (book doctype) or the doctitle (article doctype)
  h1_font_size: floor($base_font_size * 2.6)
  # h2 is used for chapter titles (book doctype only)
  h2_font_size: $base_font_size_large
  h2_font_color: $planet_pay_pink_color
  h2_text_transform: uppercase
  h3_font_size: round($base_font_size * 1.25)
  h3_font_color: $planet_pay_blue_color
  h4_font_size: $base_font_size_large
  h5_font_size: $base_font_size
  h6_font_size: $base_font_size_small
  # rely on built-in line height in Noto
  line_height: 1
  margin_top: $vertical_rhythm * 0.4
  margin_bottom: $vertical_rhythm * 0.9
  min_height_after: $base_line_height_length * 1.5
title_page:
  font_style: bold
  font_size: $heading_h1_font_size
  font_color: $planet_pay_blue_color
  line_height: 1
  #text_align: right
  #  logo:
  #    top: 10%
  title:
    top: 175pt
#    font_color: $role_subtitle_font_color
#  subtitle:
#    font_size: $heading_h3_font_size
#    font_style: bold_italic
#    line_height: 1
#  authors:
#    margin_top: $base_font_size * 1.25
#    font_size: $base_font_size_large
#    font_color: 181818
#  revision:
#    margin_top: $base_font_size * 1.25
#block:
#  margin_bottom: $vertical_rhythm
caption:
#  align: left
  font_size: $base_font_size_small
  font_style: bold
#  # FIXME perhaps set line_height instead of / in addition to margins?
#  margin_inside: $vertical_rhythm / 3
#  margin_outside: 0

#abstract:
#  font_color: 5C6266
#  font_size: $role_lead_font_size
#  line_height: 1.4
#  font_style: italic
#  first_line_font_style: bold
#  title:
#    text_align: center
#    font_color: $heading_font_color
#    font_size: $heading_h4_font_size
#    font_style: $heading_font_style
#admonition:
#  column_rule_color: $base_border_color
#  column_rule_width: $base_border_width
#  padding: [ $vertical_rhythm / 3.0, $horizontal_rhythm, $vertical_rhythm / 3.0, $horizontal_rhythm ]
#  label:
#    text_transform: uppercase
#    font_style: bold
#quote:
#  font_size: $base_font_size_large
#  border_color: $base_border_color
#  border_width: 0
#  border_left_width: $horizontal_rhythm / 3
#  padding: [ $vertical_rhythm / 4, $horizontal_rhythm, $vertical_rhythm / 4, $horizontal_rhythm + $quote_border_left_width / 2 ]
#  cite:
#    font_size: $base_font_size_small
#    font_color: $role_subtitle_font_color
#verse:
#  font_size: $quote_font_size
#  border_color: $quote_border_color
#  border_width: $quote_border_width
#  border_left_width: $quote_border_left_width
#  padding: $quote_padding
#  cite:
#    font_size: $quote_cite_font_size
#    font_color: $quote_cite_font_color
## code is used for literal, listing, and source blocks and literal table cells
code:
#  font_style: bold
  font_color: $base_font_color
#  font_family: $codespan_font_family
  font_size: ceil($base_font_size)
  margin: $code_font_size
  line_height: 1.25
#   line_gap is an experimental property to control how a background color is applied to an inline block element
  line_gap: 3.8
#  background_color: F5F5F5
#  border_color: CCCCCC
#  border_radius: $base_border_radius
#  border_width: 0.75

#conum:
#  font_family: $codespan_font_family
#  font_color: $codespan_font_color
#  font_size: $base_font_size
#  line_height: 4 / 3
#  glyphs: circled
#example:
#  border_color: $base_border_color
#  border_radius: $base_border_radius
#  border_width: 0.75
#  background_color: $page_background_color
#  padding: [ $vertical_rhythm, $horizontal_rhythm, $vertical_rhythm, $horizontal_rhythm ]
image:
  align: center
  caption:
    end: bottom
    text-align: right

#prose:
#  margin_bottom: $block_margin_bottom
#sidebar:
#  background_color: EEEEEE
#  border_color: E1E1E1
#  border_radius: $base_border_radius
#  border_width: $base_border_width
#  padding: [ $vertical_rhythm, $vertical_rhythm * 1.25, $vertical_rhythm, $vertical_rhythm * 1.25 ]
#  title:
#    text_align: center
#    font_color: $heading_font_color
#    font_size: $heading_h4_font_size
#    font_style: $heading_font_style
#thematic_break:
#  border_color: $base_border_color
#  border_style: solid
#  border_width: $base_border_width
#  padding: [ $vertical_rhythm * 0.5, 0 ]
#list:
#  indent: $horizontal_rhythm * 1.5
#  #marker_font_color: 404040
#  # NOTE list_item_spacing only applies to list items that do not have complex content
#  item_spacing: $vertical_rhythm / 2
#description_list:
#  term_font_style: bold
#  term_spacing: $vertical_rhythm / 4
#  description_indent: $horizontal_rhythm * 1.25
#callout_list:
#  margin_top_after_code: -$block_margin_bottom / 2
table:
  background_color: $page_background_color
#  border_color: DDDDDD
  border_width: $base_border_width
  grid_width: $base_border_width
  cell_padding: 3
#  head:
#    font_style: bold
#    border_bottom_width: $base_border_width * 2.5
#  body:
#    stripe_background_color: F9F9F9
#  foot:
#    background_color: F0F0F0

toc:
  indent: $horizontal_rhythm
  title:
    font_size: $base_font_size_large
    font_color: #355f91
    font_style: normal
  dot_leader:
    content: "."
#footnotes:
#  font_size: round($base_font_size * 0.75)
#  item_spacing: $list_item_spacing / 2
#index:
#  column_gap: $vertical_rhythm
planet_pay_right_header_content: |
  *Planet Pay Sp. z o.o.* +
  ul. Jutrzenki 139, 02231 Warszawa +
  www.planetpay.pl +
  [.horizontal-line]`========================================================` +
  Sąd Rejonowy dla m.st. Warszawy, XIV Wydział Gospodarczy +
  KRS 0000427567, NIP 6793083313, REGON 122603652

header:
  font_size: $base_font_size_min
  font_color: #1d7bba
  height:  $base_default_margin_top
  line_height: 1
  margin: 1cm
  vertical_align: center
  text_align: left
#  border_color: $planet_pay_blue_color
#  border_width: 1
  recto:
    columns: "<50%,<50%"
    left:
      content: image:planet_pay_logo.png[]
    right:
      content: $planet_pay_right_header_content
  verso:
    columns: "<50%,<50%"
    right:
      content: $header_recto_right_content
    left:
      content: $header_recto_left_content
footer:
  height: $base_default_margin
  recto:
    right:
      content: '{page-number}'
  verso:
    right:
      content: $footer_recto_right_content
