<commit_before>.item-header {
  color: $base-font-color;
  @include grid-column(4);

  @include grid-media($large-medium-viewport-grid) {
    @include grid-column(3);
    @include grid-push(1);
  }

  .item-header__image {
    max-width: 200px;
    float: left;
    margin: 0 1em 1em 0;
    width: 100%;

    @include grid-media($large-medium-viewport-grid) {
      margin: 0;
      float: none;
    }

    &.img--placeholder {
      background: $light-grey;
      height: 250px;
      display: inherit;
    }
  }

  &.is-affixed .item-header__image {
    width: auto;
  }
}

.item-title {
  @include secondary-font-style("italic");
  font-size: ems(19px, 14);
  margin: 1em 0 0.25em;
}

.item-author {
  font-size: ems(18px, 14);
  @include secondary-font-style();
  margin-bottom: 6px;

  & + .item-term__value{
    font-size: ems(12px, 14);
  }
}

.item-pages {
  margin-bottom: 3rem;
}

.item-navigation {
  display: block;
  padding-top: 3.5rem;
  float: left;

  & + .item-license {
    float: left;
  }
}

.inner-wrapper-sticky {
  @include grid-media($large-medium-viewport-grid) {
    float: left;
  }
}

.item-section {
  min-height: 100vh;
  @include grid-column(4);

  @include grid-media($large-medium-viewport-grid) {
    @include grid-column(8);
  }
}

.item-navigation-link {
  @include page-navigation-links();
  clear: both;
  float: left;
  margin-bottom: 1rem;
}

.item-nav {
  display: flex;
  align-items: center;
  padding-bottom: 2em;
}

.item-nav__link {
  flex-grow: 3;
  text-decoration: none;
  padding: 0.5em 2em;
  text-align: center;
  border-bottom: 1px solid $primary-color;
  background: darken($light-grey, 10%);
  height: 2.6em;
  white-space: nowrap;
  color: darken($medium-grey, 20%);

  &:active {
    outline: none;
  }

  &.item-nav__link--active {
    background: none;
    border: 1px solid $primary-color;
    border-bottom-color: transparent;
    color: $primary-color;
  }
}

.item-nav__spacer {
  flex-grow: 2;
  background: transparent;
  border-bottom: 1px solid $primary-color;
  height: 2.6em;
  display: inline-block;
  position: relative;
}

.item-nav__spacer--end {
  flex-grow: 4;
  padding-left: 4em;
}

.item-term {
  color: $base-font-color;
  width: 100%;
  padding-bottom: 1.2em;
  display: block;

  .item-term__label {
    @include primary-font-style("bold");
    font-size: 1.1em;
    font-weight: 400;
    margin-top: 1em;
    margin-right: 0.5em;

    @include grid-column(4);

    @include grid-media($large-medium-viewport-grid) {
      @include grid-column(12);
      margin-left: 0;
    }
  }

  .item-term__value {
    font-weight: 300;
    @include primary-font-style();
    @include grid-column(4);

    &.item-term__value--title {
      @include primary-font-style("italic");
    }

    .item-term__link {
      @include faded-link();
    }

    .item__link {
      border-color: transparent;

      &:hover,
      &:active,
      &.is-hovered {
        border-color: $primary-color;
      }

    }

    &.item-term__value--aside {
      font-style: normal;
    }

    @include grid-media($large-medium-viewport-grid) {
      @include grid-column(9);
      margin-left: 0;

      &.collection {
        @include grid-column(12);
        margin-left: - $gutter-size;
      }

      &.item-term__value--aside {
        margin-left: inherit;
        @include grid-column(3);
      }
    }
  }

  &.item-term--callout {
    border-top: 1px solid rgba($black, 0.2);
    border-bottom: 1px solid rgba($black, 0.2);
    padding-bottom: 0.6em;
    padding-top: 0.6em;
    margin-bottom: 0.6em;
  }

  &.item-term--inline {
    display: flex;
    align-items: baseline;

    .item-term__label {
      margin-bottom: 0;
      margin-top: 0;
      @include grid-column(4);

      @include grid-media($large-medium-viewport-grid) {
        @include grid-column(4);
        margin-left: inherit;
      }
    }

    .item-term__value {
      margin-bottom: 0;
      font-style: normal;
      @include grid-column(4);

      @include grid-media($large-medium-viewport-grid) {
        @include grid-column(6);
        margin-left: inherit;
      }
    }
  }
}

.collection.item-term__value {
  .item__heading {
    font-size: 15px;
  }

  .item__author {
    font-size: 14px;
  }
}

.item-gallery__heading {
  width: 100%;
  float: left;
  color: $base-font-color;
  padding: 0 $gutter-size 1em;

  p {
    font-weight: 300;
    margin: 0;
  }
}

.item-gallery__title {
  font-size: 1.2em;
  font-weight: 400;
  margin: 0 0 0.5em;
  font-family: $base-font-family;

  a {
    color: inherit;
    font-weight: inherit;
    text-decoration: inherit;
  }
}

.citation-list {
  .collection .collection__item {
    @include grid-column(4);
    margin-left: 0;

    @include grid-media($large-medium-viewport-grid) {
      @include grid-column(12);
      margin-left: 0;
    }
  }
}

.item-license {
  padding-top: 5em;
  padding-bottom: 2em;
}

.item-license__img {
  width: 160px;
  display: block;
}

.item-license__link {
  width: 100%;
  display: block;
  font-size: ems(12px, 14);
  padding-top: ems(11px, 12);
  text-decoration: none;
  color: $base-font-color;
  transition: color $base-duration $base-timing;

  &:hover,
  &:active {
    color: $primary-color;
  }
}

/* turn off italics for non title word in item link */
.item__link--non_title {
    @include primary-font-style();
}

<commit_msg>add underline to related item links (#137)<commit_after>.item-header {
  color: $base-font-color;
  @include grid-column(4);

  @include grid-media($large-medium-viewport-grid) {
    @include grid-column(3);
    @include grid-push(1);
  }

  .item-header__image {
    max-width: 200px;
    float: left;
    margin: 0 1em 1em 0;
    width: 100%;

    @include grid-media($large-medium-viewport-grid) {
      margin: 0;
      float: none;
    }

    &.img--placeholder {
      background: $light-grey;
      height: 250px;
      display: inherit;
    }
  }

  &.is-affixed .item-header__image {
    width: auto;
  }
}

.item-title {
  @include secondary-font-style("italic");
  font-size: ems(19px, 14);
  margin: 1em 0 0.25em;
}

.item-author {
  font-size: ems(18px, 14);
  @include secondary-font-style();
  margin-bottom: 6px;

  & + .item-term__value{
    font-size: ems(12px, 14);
  }
}

.item-pages {
  margin-bottom: 3rem;
}

.item-navigation {
  display: block;
  padding-top: 3.5rem;
  float: left;

  & + .item-license {
    float: left;
  }
}

.inner-wrapper-sticky {
  @include grid-media($large-medium-viewport-grid) {
    float: left;
  }
}

.item-section {
  min-height: 100vh;
  @include grid-column(4);

  @include grid-media($large-medium-viewport-grid) {
    @include grid-column(8);
  }
}

.item-navigation-link {
  @include page-navigation-links();
  clear: both;
  float: left;
  margin-bottom: 1rem;
}

.item-nav {
  display: flex;
  align-items: center;
  padding-bottom: 2em;
}

.item-nav__link {
  flex-grow: 3;
  text-decoration: none;
  padding: 0.5em 2em;
  text-align: center;
  border-bottom: 1px solid $primary-color;
  background: darken($light-grey, 10%);
  height: 2.6em;
  white-space: nowrap;
  color: darken($medium-grey, 20%);

  &:active {
    outline: none;
  }

  &.item-nav__link--active {
    background: none;
    border: 1px solid $primary-color;
    border-bottom-color: transparent;
    color: $primary-color;
  }
}

.item-nav__spacer {
  flex-grow: 2;
  background: transparent;
  border-bottom: 1px solid $primary-color;
  height: 2.6em;
  display: inline-block;
  position: relative;
}

.item-nav__spacer--end {
  flex-grow: 4;
  padding-left: 4em;
}

.item-term {
  color: $base-font-color;
  width: 100%;
  padding-bottom: 1.2em;
  display: block;

  .item-term__label {
    @include primary-font-style("bold");
    font-size: 1.1em;
    font-weight: 400;
    margin-top: 1em;
    margin-right: 0.5em;

    @include grid-column(4);

    @include grid-media($large-medium-viewport-grid) {
      @include grid-column(12);
      margin-left: 0;
    }
  }

  .item-term__value {
    font-weight: 300;
    @include primary-font-style();
    @include grid-column(4);

    &.item-term__value--title {
      @include primary-font-style("italic");
    }

    .item-term__link {
      @include faded-link();
    }

    .item__link {

      &:hover,
      &:active,
      &.is-hovered {
        border-color: $primary-color;
      }

    }

    &.item-term__value--aside {
      font-style: normal;
    }

    @include grid-media($large-medium-viewport-grid) {
      @include grid-column(9);
      margin-left: 0;

      &.collection {
        @include grid-column(12);
        margin-left: - $gutter-size;
      }

      &.item-term__value--aside {
        margin-left: inherit;
        @include grid-column(3);
      }
    }
  }

  &.item-term--callout {
    border-top: 1px solid rgba($black, 0.2);
    border-bottom: 1px solid rgba($black, 0.2);
    padding-bottom: 0.6em;
    padding-top: 0.6em;
    margin-bottom: 0.6em;
  }

  &.item-term--inline {
    display: flex;
    align-items: baseline;

    .item-term__label {
      margin-bottom: 0;
      margin-top: 0;
      @include grid-column(4);

      @include grid-media($large-medium-viewport-grid) {
        @include grid-column(4);
        margin-left: inherit;
      }
    }

    .item-term__value {
      margin-bottom: 0;
      font-style: normal;
      @include grid-column(4);

      @include grid-media($large-medium-viewport-grid) {
        @include grid-column(6);
        margin-left: inherit;
      }
    }
  }
}

.collection.item-term__value {
  .item__heading {
    font-size: 15px;
  }

  .item__author {
    font-size: 14px;
  }
}

.item-gallery__heading {
  width: 100%;
  float: left;
  color: $base-font-color;
  padding: 0 $gutter-size 1em;

  p {
    font-weight: 300;
    margin: 0;
  }
}

.item-gallery__title {
  font-size: 1.2em;
  font-weight: 400;
  margin: 0 0 0.5em;
  font-family: $base-font-family;

  a {
    color: inherit;
    font-weight: inherit;
    text-decoration: inherit;
  }
}

.citation-list {
  .collection .collection__item {
    @include grid-column(4);
    margin-left: 0;

    @include grid-media($large-medium-viewport-grid) {
      @include grid-column(12);
      margin-left: 0;
    }
  }
}

.item-license {
  padding-top: 5em;
  padding-bottom: 2em;
}

.item-license__img {
  width: 160px;
  display: block;
}

.item-license__link {
  width: 100%;
  display: block;
  font-size: ems(12px, 14);
  padding-top: ems(11px, 12);
  text-decoration: none;
  color: $base-font-color;
  transition: color $base-duration $base-timing;

  &:hover,
  &:active {
    color: $primary-color;
  }
}

/* turn off italics for non title word in item link */
.item__link--non_title {
    @include primary-font-style();
}


{'fraction_non_alphanumeric': 0.15531080828822103, 'fraction_numerical': 0.028467425798021282, 'mean_word_length': 2.4431233933161955, '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': '3813291', 'n_tokens_mistral': 4331, 'n_tokens_neox': 3995, 'n_words': 762}