<commit_before>=icon-links
  a:first-of-type, .current
    &:before
      display: inline-block
  .current
    font-weight: bold

=arrow-links
  +icon-links
  a:first-of-type, .current
    &:before
      +icon-right
      +icon-small
      width: $text-indent / 2

=truncated-line
  display: block
  width: 100%
  overflow: hidden
  text-overflow: ellipsis
  white-space: nowrap

=blurb($lines: 3, $image-width: 0, $context: $total-columns)
  +font-color
  h2
    +font-color($headline-font-color)
    display: inline
    font:
      family: $headline-font-stack
      size: 1.1em
      weight: bold
  a
    display: block
    height: $line-height * $lines
    overflow: hidden
    padding-right: space($image-width, $context)
    &:after
      background-color: $background-color
      border-left:
        width: 1px
        style: solid
      bottom: -3px
      content: ''
      font:
        family: fontello
        size: 14px
      margin-right: space($image-width, $context)
      padding-left: 5px
      position: absolute
      right: 0
    img, iframe
      height: auto
      margin: 0
      padding-right: 0
      position: absolute
      right: 0
      width: columns($image-width, $context)

=compact-text
  line-height: $line-height * 2/3
  margin-top: $line-height * 1/3

=debug-bg
  background: url('/resources/static/debug-bg.png') 0 0 repeat

=embed-font($font-name, $font-variant, $weight: normal, $style: normal)
  @font-face
    font-family: $font-name
    src: font-url('#{$font-name}/#{$font-variant}.eot')
    src: font-url('#{$font-name}/#{$font-variant}.eot?#iefix') format('embedded-opentype'), font-url('#{$font-name}/#{$font-variant}.woff') format('woff'), font-url('#{$font-name}/#{$font-variant}.ttf') format('truetype')
    font-weight: $weight
    font-style: $style

=embed-font-suite($font-name)
  +embed-font($font-name, 'regular')
  +embed-font($font-name, 'bold', $weight: bold, $style: normal)
  +embed-font($font-name, 'italic', $weight: normal, $style: italic)
  // +embed-font($font-name, 'bolditalic', $weight: bold, $style: italic)

=fade($opacity: 0, $transition: 1s)
  opacity: $opacity
  +transition($transition)

=font-color($color: $font-color, $link-hover-color: $link-hover-color)
  border-color: $color
  color: $color
  a
    border-color: $color
    color: $color
    &:before
      border-color: $color
      color: $color
    &:after
      border-color: $color
      color: $color
    &:hover
      border-color: $link-hover-color
      color: $link-hover-color
      &:before
        border-color: $link-hover-color
        color: $link-hover-color
      &:after
        border-color: $link-hover-color
        color: $link-hover-color
    &[href^=http]
      border-color: $color
      color: $color
      &:hover
        border-color: $external-link-hover-color
        color: $external-link-hover-color
        &:before
          border-color: $external-link-hover-color
          color: $external-link-hover-color
        &:after
          border-color: $external-link-hover-color
          color: $external-link-hover-color

=pagination-nav($line-color: $furniture-color, $button-width: $text-indent)
  +font-color($line-color)
  clear: both
  margin-bottom: $line-height
  ol
    margin-top: ($line-height / 2) * -1
    position: relative
    li
      display: inline-block
      height: $line-height
      .current
        color: $off-color
        &:before<commit_msg>Revert $link-hover-color<commit_after>=icon-links
  a:first-of-type, .current
    &:before
      display: inline-block
  .current
    font-weight: bold

=arrow-links
  +icon-links
  a:first-of-type, .current
    &:before
      +icon-right
      +icon-small
      width: $text-indent / 2

=truncated-line
  display: block
  width: 100%
  overflow: hidden
  text-overflow: ellipsis
  white-space: nowrap

=blurb($lines: 3, $image-width: 0, $context: $total-columns)
  +font-color
  h2
    +font-color($headline-font-color)
    display: inline
    font:
      family: $headline-font-stack
      size: 1.1em
      weight: bold
  a
    display: block
    height: $line-height * $lines
    overflow: hidden
    padding-right: space($image-width, $context)
    &:after
      background-color: $background-color
      border-left:
        width: 1px
        style: solid
      bottom: -3px
      content: ''
      font:
        family: fontello
        size: 14px
      margin-right: space($image-width, $context)
      padding-left: 5px
      position: absolute
      right: 0
    img, iframe
      height: auto
      margin: 0
      padding-right: 0
      position: absolute
      right: 0
      width: columns($image-width, $context)

=compact-text
  line-height: $line-height * 2/3
  margin-top: $line-height * 1/3

=debug-bg
  background: url('/resources/static/debug-bg.png') 0 0 repeat

=embed-font($font-name, $font-variant, $weight: normal, $style: normal)
  @font-face
    font-family: $font-name
    src: font-url('#{$font-name}/#{$font-variant}.eot')
    src: font-url('#{$font-name}/#{$font-variant}.eot?#iefix') format('embedded-opentype'), font-url('#{$font-name}/#{$font-variant}.woff') format('woff'), font-url('#{$font-name}/#{$font-variant}.ttf') format('truetype')
    font-weight: $weight
    font-style: $style

=embed-font-suite($font-name)
  +embed-font($font-name, 'regular')
  +embed-font($font-name, 'bold', $weight: bold, $style: normal)
  +embed-font($font-name, 'italic', $weight: normal, $style: italic)
  // +embed-font($font-name, 'bolditalic', $weight: bold, $style: italic)

=fade($opacity: 0, $transition: 1s)
  opacity: $opacity
  +transition($transition)

=font-color($color: $font-color, $hover-color: $link-hover-color)
  border-color: $color
  color: $color
  a
    border-color: $color
    color: $color
    &:before
      border-color: $color
      color: $color
    &:after
      border-color: $color
      color: $color
    &:hover
      border-color: $hover-color
      color: $hover-color
      &:before
        border-color: $hover-color
        color: $hover-color
      &:after
        border-color: $hover-color
        color: $hover-color
    &[href^=http]
      border-color: $color
      color: $color
      &:hover
        border-color: $external-link-hover-color
        color: $external-link-hover-color
        &:before
          border-color: $external-link-hover-color
          color: $external-link-hover-color
        &:after
          border-color: $external-link-hover-color
          color: $external-link-hover-color

=pagination-nav($line-color: $furniture-color, $button-width: $text-indent)
  +font-color($line-color)
  clear: both
  margin-bottom: $line-height
  ol
    margin-top: ($line-height / 2) * -1
    position: relative
    li
      display: inline-block
      height: $line-height
      .current
        color: $off-color
        &:before
{'fraction_non_alphanumeric': 0.15245327102803738, 'fraction_numerical': 0.008177570093457943, 'mean_word_length': 2.6066350710900474, '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': '2882403', 'n_tokens_mistral': 2375, 'n_tokens_neox': 2310, 'n_words': 492}