<commit_before>extends _docs.tpl.jade

block append vars
  - var page = ConfDocs.DOCS.find('visual.html')

block append main
  +newSection(2, ConfDocs.DOCS.find('visual.html#fonts'))
    h3 Font Sizes
    p.
      Please use only the font sizes listed below.
      Sticking with a pre-determined set of font sizes will ensure a consistent look-and-feel,
      while at the same time providing a sense of even vertical rhythm.
    figure.docs-figure
      table(style="margin-top:var(--vru)")
        colgroup
          col.-w-z
        colgroup
          each n in new Array(8)
            col.-w-1o8
        tbody.-va-b
          -
            var sizes = [
              { classname: '-fz-peta', rem: 6    }
            , { classname: '-fz-tera', rem: 4    }
            , { classname: '-fz-giga', rem: 3    }
            , { classname: '-fz-mega', rem: 2    }
            , { classname: '-fz-kilo', rem: 1.5  }
            , { classname: '-fz-norm', rem: 1    }
            , { classname: '-fz-mill', rem: 0.75 }
            , { classname: '-fz-micr', rem: 0.5  }
            ]
          tr
            th.-d-n sample
            each $item in sizes
              td: span(class=$item.classname) Abq
          tr
            th.-d-n rems
            each $item in sizes
              td #{$item.rem}rem
          tr
            th.-d-n pixels
            each $item in sizes
              td #{$item.rem*16}px
          tr
            th.-d-n points
            each $item in sizes
              td #{$item.rem*12}pt
      ul.o-List
        li.o-List__Item.-fz-el-peta peta 6.00
        li.o-List__Item.-fz-el-tera tera 4.00
        li.o-List__Item.-fz-el-giga giga 3.00
        li.o-List__Item.-fz-el-mega mega 2.00
        li.o-List__Item.-fz-el-kilo kilo 1.50
        li.o-List__Item.-fz-el-norm norm 1.00
        li.o-List__Item.-fz-el-mill mill 0.75
        li.o-List__Item.-fz-el-micr micr 0.50
    h3 Font Families
    mixin letterforms()
      p.-fz-el-tera Rage Ghost Kip
    h4 Body Copy<commit_msg>update font size table<commit_after>extends _docs.tpl.jade

block append vars
  - var page = ConfDocs.DOCS.find('visual.html')

block append main
  +newSection(2, ConfDocs.DOCS.find('visual.html#fonts'))
    h3 Font Sizes
    p.
      Please use only the font sizes listed below.
      Sticking with a pre-determined set of font sizes will ensure a consistent look-and-feel,
      while at the same time providing a sense of even vertical rhythm.
    figure.docs-figure
      table(style="margin-top:calc(2 * var(--vru));").-fz-i
        colgroup
          each n in new Array(8)
            col.-w-1o8
        tbody.-va-b
          -
            var sizes = [
              { word: 'peta', rem: 6    }
            , { word: 'tera', rem: 4    }
            , { word: 'giga', rem: 3    }
            , { word: 'mega', rem: 2    }
            , { word: 'kilo', rem: 1.5  }
            , { word: 'norm', rem: 1    }
            , { word: 'mill', rem: 0.75 }
            , { word: 'micr', rem: 0.5  }
            ]
          tr(title="sample")
            each $item in sizes
              td: span(class='-fz-'+$item.word) Abq
          tr(title="keyword")
            each $item in sizes
              td= $item.word
          tr(title="rems")
            each $item in sizes
              td #{$item.rem}rem
          tr(title="pixels")
            each $item in sizes
              td #{$item.rem*16}px
          tr(title="points")
            each $item in sizes
              td #{$item.rem*12}pt
    h3 Font Families
    mixin letterforms()
      p.-fz-el-tera Rage Ghost Kip
    h4 Body Copy
{'fraction_non_alphanumeric': 0.12309398392015525, 'fraction_numerical': 0.019683947879123927, 'mean_word_length': 1.4069379586390927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1825175', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1191, 'n_words': 315}