<commit_before>// Type sizes
$header-font-size: 17;
$header-line-height: 24;
$excerpt-font-size: 14;
$excerpt-line-height: 20;

.ds-card {
  display: flex;
  flex-direction: column;
  position: relative;

  &.placeholder {
    background: transparent;
    box-shadow: inset $inner-box-shadow;
    border-radius: 4px;

    .ds-card-link {
      cursor: default;
    }

    .img-wrapper {
      opacity: 0;
    }
  }


  .img-wrapper {
    width: 100%;
  }

  .img {
    height: 0;
    padding-top: 50%; // 2:1 aspect ratio

    img {
      border-radius: 4px;
      box-shadow: inset 0 0 0 0.5px $black-15;
    }
  }

  .ds-card-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

    &:focus {
      @include ds-fade-in;

      @include dark-theme-only {
        @include ds-fade-in($blue-40-40);
      }
    }

    &:hover {
      @include ds-fade-in($grey-30);

      @include dark-theme-only {
        @include ds-fade-in($grey-60);
      }
    }

    &:focus,
    &:hover {
      header {
        @include dark-theme-only {
          color: $blue-40;
        }

        color: $blue-60;
      }
    }

    &:active {
      header {
        @include dark-theme-only {
          color: $blue-50;
        }

        color: $blue-70;
      }
    }
  }

  .meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 12px;

    .info-wrap {
      flex-grow: 1;
      margin: 0 0 12px;
    }

    .title {
      // show only 3 lines of copy
      @include limit-visibile-lines(3, $header-line-height, $header-font-size);
      font-weight: 600;
    }

    .excerpt {
      // show only 3 lines of copy
      @include limit-visibile-lines(3, $excerpt-line-height, $excerpt-font-size);
    }

    .source {
      margin-bottom: 2px;<commit_msg>Bug 1550160 - Clean up unused card CSS (#5043)<commit_after>// Type sizes
$header-font-size: 17;
$header-line-height: 24;
$excerpt-font-size: 14;
$excerpt-line-height: 20;

.ds-card {
  display: flex;
  flex-direction: column;
  position: relative;

  &.placeholder {
    background: transparent;
    box-shadow: inset $inner-box-shadow;
    border-radius: 4px;

    .ds-card-link {
      cursor: default;
    }

    .img-wrapper {
      opacity: 0;
    }
  }


  .img-wrapper {
    width: 100%;
  }

  .img {
    height: 0;
    padding-top: 50%; // 2:1 aspect ratio

    img {
      border-radius: 4px;
      box-shadow: inset 0 0 0 0.5px $black-15;
    }
  }

  .ds-card-link {
    height: 100%;

    &:focus {
      @include ds-fade-in;

      @include dark-theme-only {
        @include ds-fade-in($blue-40-40);
      }
    }

    &:hover {
      @include ds-fade-in($grey-30);

      @include dark-theme-only {
        @include ds-fade-in($grey-60);
      }
    }

    &:focus,
    &:hover {
      header {
        @include dark-theme-only {
          color: $blue-40;
        }

        color: $blue-60;
      }
    }

    &:active {
      header {
        @include dark-theme-only {
          color: $blue-50;
        }

        color: $blue-70;
      }
    }
  }

  .meta {
    display: flex;
    flex-direction: column;
    padding: 12px;

    .info-wrap {
      flex-grow: 1;
      margin: 0 0 12px;
    }

    .title {
      // show only 3 lines of copy
      @include limit-visibile-lines(3, $header-line-height, $header-font-size);
      font-weight: 600;
    }

    .excerpt {
      // show only 3 lines of copy
      @include limit-visibile-lines(3, $excerpt-line-height, $excerpt-font-size);
    }

    .source {
      margin-bottom: 2px;
{'fraction_non_alphanumeric': 0.14597315436241612, 'fraction_numerical': 0.03691275167785235, 'mean_word_length': 1.6773952095808384, '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': '982386', 'n_tokens_mistral': 1444, 'n_tokens_neox': 1270, 'n_words': 270}