<commit_before>/* ==========================================================================
   SINGLE PAGE/POST
   ========================================================================== */

#main {
  animation: fade-in 2s;
}

/*
   Hero
   ========================================================================== */

.page__hero {
  position: relative;
  margin-bottom: 1em;
  @include breakpoint($x-large) {
    margin-left: -3em;
    margin-right: -3em;
  }
}

.page__hero-image {
  width: 100%;
  border-radius: $border-radius;
}

.page__hero-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  padding: 2px 5px;
  color: rgba(#fff, 0.75);
  font-family: $sans-serif;
  font-size: 0.64rem;
  background: rgba(#000, 0.5);
  text-align: right;
  z-index: 5;
  @include breakpoint($medium) {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  a {
    color: #fff;
    text-decoration: none;
  }
}

/*
   Content
   ========================================================================== */

.post__content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  @include breakpoint($small) {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
  }
}

.post__inner-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  @include breakpoint($medium-wide) {
    width: calc(100% - 200px);
  }
  @include breakpoint($large) {
    width: calc(100% - 240px);
  }
  @media (min-width: 1025px) {
    width: calc(100% - 380px);
  }
}

.post__body {
  width: 100%;

  /* introductory paragraph */
  > p:first-child {
    font-size: 1.25rem;
  }

  h1, h2, h3, h4, h5, h6 {
    margin: 2rem 0 1.25rem;
    font-weight: normal;
    a {
      color: $headline-color;
    }
  }

  h2 {
    margin-top: 3rem;
    font-size: 1.563rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1rem;
    font-weight: bold;
  }

  h5 {
    font-size: 0.8rem;
    font-weight: bold;
  }

  h6 {
    font-size: 0.8rem;
    font-weight: bold;
  }

  /* cleaner underlines for links */
  p > a {
    border-bottom: 1px solid $link-underline-color;
    &:hover {
      color: #000;
      border-bottom-color: #000;
    }
  }
  li > a,
  td > a,
  small a {
    color: inherit;
    border-bottom: 1px solid $link-underline-color;
    &:hover {
      color: #000;
      border-bottom-color: $text-color;
    }
  }

  ul, ol {
    li + li {
      margin-top: 0.5em;
    }
  }

  /* hide toc to avoid flash of content as it moves to sidebar */
  .js-toc {
    display: none;
  }
}

.post__comments,
.post__footer,
.post__social,
.post__taxonomy {
  margin-top: 1em;
}

/* header */

.post__header {
  display: flex;
  flex-direction: column;
}

.post__title {
  font-family: $serif;
  font-size: 1.953rem;
  font-weight: normal;
}

.post__excerpt {
  font-size: 1.25rem;
  font-weight: normal;
  margin-top: 0;<commit_msg>Apply correct line-height to post excerpts<commit_after>/* ==========================================================================
   SINGLE PAGE/POST
   ========================================================================== */

#main {
  animation: fade-in 2s;
}

/*
   Hero
   ========================================================================== */

.page__hero {
  position: relative;
  margin-bottom: 1em;
  @include breakpoint($x-large) {
    margin-left: -3em;
    margin-right: -3em;
  }
}

.page__hero-image {
  width: 100%;
  border-radius: $border-radius;
}

.page__hero-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  padding: 2px 5px;
  color: rgba(#fff, 0.75);
  font-family: $sans-serif;
  font-size: 0.64rem;
  background: rgba(#000, 0.5);
  text-align: right;
  z-index: 5;
  @include breakpoint($medium) {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  a {
    color: #fff;
    text-decoration: none;
  }
}

/*
   Content
   ========================================================================== */

.post__content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  @include breakpoint($small) {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
  }
}

.post__inner-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  @include breakpoint($medium-wide) {
    width: calc(100% - 200px);
  }
  @include breakpoint($large) {
    width: calc(100% - 240px);
  }
  @media (min-width: 1025px) {
    width: calc(100% - 380px);
  }
}

.post__body {
  width: 100%;

  /* introductory paragraph */
  > p:first-child {
    font-size: 1.25rem;
  }

  h1, h2, h3, h4, h5, h6 {
    margin: 2rem 0 1.25rem;
    font-weight: normal;
    a {
      color: $headline-color;
    }
  }

  h2 {
    margin-top: 3rem;
    font-size: 1.563rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1rem;
    font-weight: bold;
  }

  h5 {
    font-size: 0.8rem;
    font-weight: bold;
  }

  h6 {
    font-size: 0.8rem;
    font-weight: bold;
  }

  /* cleaner underlines for links */
  p > a {
    border-bottom: 1px solid $link-underline-color;
    &:hover {
      color: #000;
      border-bottom-color: #000;
    }
  }
  li > a,
  td > a,
  small a {
    color: inherit;
    border-bottom: 1px solid $link-underline-color;
    &:hover {
      color: #000;
      border-bottom-color: $text-color;
    }
  }

  ul, ol {
    li + li {
      margin-top: 0.5em;
    }
  }

  /* hide toc to avoid flash of content as it moves to sidebar */
  .js-toc {
    display: none;
  }
}

.post__comments,
.post__footer,
.post__social,
.post__taxonomy {
  margin-top: 1em;
}

/* header */

.post__header {
  display: flex;
  flex-direction: column;
}

.post__title {
  font-family: $serif;
  font-size: 1.953rem;
  font-weight: normal;
}

.post__excerpt {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.5;
{'fraction_non_alphanumeric': 0.23881364649408537, 'fraction_numerical': 0.03771644093948225, 'mean_word_length': 2.6530995616781463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7294921', 'n_tokens_mistral': 2383, 'n_tokens_neox': 2137, 'n_words': 460}