<commit_before>// ==========================================================================
// Base > Core > Typeset
// App fonts and type settings.
// ==========================================================================


html {
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: $font_size_base;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
  font-family: $font_face_base;
  word-wrap: break-word;
  color: color(copy, body);
}


// ----------------------------------------------------------------------- //


h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
  font-weight: bold;
  &:first-child {
    margin-top: 0;
  }
}
h1, .h1 {
  @include scale(font-size, $font_h1);
  @include scale(line-height, $font_h1_lh);
}
h2, .h2 {
  @include scale(font-size, $font_h2);
  @include scale(line-height, $font_h2_lh);
}
h3, .h3 {
  @include scale(font-size, $font_h3);
  @include scale(line-height, $font_h3_lh);
}
h4, .h4 {
  @include scale(font-size, $font_h4);
  @include scale(line-height, $font_h4_lh);
}
h5, .h5 {
  @include scale(font-size, $font_h5);
  @include scale(line-height, $font_h5_lh);
}
h6, .h6 {
  @include scale(font-size, $font_h6);
  @include scale(line-height, $font_h6_lh);
}


// ----------------------------------------------------------------------- //


p, li, dd {
  font-feature-settings: 'kern' 1, 'onum' 1, 'liga' 1;
}


// ----------------------------------------------------------------------- //


a, button {
  color: color(copy, link);
  text-decoration: none;
  transition: color $animation ease, background $animation ease;
  &:hover {
    color: color(copy, hover);
  }
  &:active {
    color: color(copy, active);
  }
}


// ----------------------------------------------------------------------- //


p {
  code {
    color: color(green);
  }
}
code {
  font-weight: regular;
  font-family: $monospaced;
  white-space: pre-wrap;
  word-wrap: break-word;
  tab-size: 4;
}
pre {
  @include nudge(padding, 0.5 0.75);
  border: 1px solid color(grey);
  position: relative;
  border-radius: 2px;
  background: color(grey, light);
}
kbd {
  @include nudge(padding, 0.25 0.5);
  margin: 0 0.25em;
  display: inline-block;
  border: 1px solid color(grey);
  border-radius: 2px;
  color: color(grey, medium);
  background: color(grey, light);
}


// ----------------------------------------------------------------------- //


.page__content {
  blockquote, dl, ol, p, pre, ul, img, figure, table, .obj-embed-container {
    @include nudge(margin-top, $contentmargin);
    img { // No margin on inner images.
      margin: 0;
    }
    &:first-child {
      margin-top: 0;
    }
  }
  p {
    &:first-child {
      font-size: 125%;
    }
  }
  ul, ol {
    margin-left: 1.2em;
    li {
      @include nudge(margin-bottom, ($contentmargin / 100 * 2));
    }
    ul, ol {
      margin-left: 1.2em;
      list-style-type: circle;
    }
  }
  ul {
    list-style-type: disc;
  }
  dl {
    dd {
      @include nudge(margin-bottom, ($contentmargin / 100 * 2));<commit_msg>Update _typeset.scss<commit_after>// ==========================================================================
// Base > Core > Typeset
// App fonts and type settings.
// ==========================================================================


html {
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: $font_size_base;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
  font-family: $font_face_base;
  word-wrap: break-word;
  color: color(copy, body);
}


// ----------------------------------------------------------------------- //


h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
  font-weight: bold;
  &:first-child {
    margin-top: 0;
  }
}
h1, .h1 {
  @include scale(font-size, $font_h1);
  @include scale(line-height, $font_h1_lh);
}
h2, .h2 {
  @include scale(font-size, $font_h2);
  @include scale(line-height, $font_h2_lh);
}
h3, .h3 {
  @include scale(font-size, $font_h3);
  @include scale(line-height, $font_h3_lh);
}
h4, .h4 {
  @include scale(font-size, $font_h4);
  @include scale(line-height, $font_h4_lh);
}
h5, .h5 {
  @include scale(font-size, $font_h5);
  @include scale(line-height, $font_h5_lh);
}
h6, .h6 {
  @include scale(font-size, $font_h6);
  @include scale(line-height, $font_h6_lh);
}


// ----------------------------------------------------------------------- //


p, li, dd {
  font-feature-settings: 'kern' 1, 'onum' 1, 'liga' 1;
}


// ----------------------------------------------------------------------- //


a, button {
  color: color(copy, link);
  text-decoration: none;
  transition: color $animation ease, background $animation ease;
  &:hover {
    color: color(copy, hover);
  }
  &:active {
    color: color(copy, active);
  }
}


// ----------------------------------------------------------------------- //


p {
  code {
    color: color(green);
  }
}
code {
  font-weight: regular;
  font-family: $monospaced;
  white-space: pre-wrap;
  word-wrap: break-word;
  tab-size: 4;
}
pre {
  @include nudge(padding, 0.5 0.75);
  border: 1px solid color(grey);
  position: relative;
  border-radius: 2px;
  background: color(grey, light);
}
kbd {
  @include nudge(padding, 0.25 0.5);
  margin: 0 0.25em;
  display: inline-block;
  border: 1px solid color(grey);
  border-radius: 2px;
  color: color(grey, medium);
  background: color(grey, light);
}


// ----------------------------------------------------------------------- //


.page__content {
  blockquote, dl, ol, p, pre, ul, img, figure, table, .obj-embed-container {
    @include nudge(margin-top, $contentmargin);
    img, &:first-child {
      margin-top: 0;
    }
  }
  p {
    &:first-child {
      font-size: 125%;
    }
  }
  ul, ol {
    margin-left: 1.2em;
    li {
      @include nudge(margin-bottom, ($contentmargin / 100 * 2));
    }
    ul, ol {
      margin-left: 1.2em;
      list-style-type: circle;
    }
  }
  ul {
    list-style-type: disc;
  }
  dl {
    dd {
      @include nudge(margin-bottom, ($contentmargin / 100 * 2));
{'fraction_non_alphanumeric': 0.30705459095886123, 'fraction_numerical': 0.028625058657907085, 'mean_word_length': 1.9990619136960601, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7052219', 'n_tokens_mistral': 2432, 'n_tokens_neox': 2266, 'n_words': 491}