<commit_before>@import "main";

// ==========================================================================
// Elements page styles
// ==========================================================================

// These are example styles, used only for the elements pages

.elements-index {
  // Reduce top and bottom margins
  .heading-medium {
    margin: 1em 0 0 0;
  }
  // Add spacing above
  .divider {
    margin-top: 4em;
  }
}

// Increase spacing above headings
.heading-xlarge {
  @include media(tablet) {
    margin-top: em(60, 48);
    margin-bottom: em(30, 48);
  }
}

// Page contents
.heading-contents {
  margin-top: 3em;
}

.list-contents li {
  @include core-16;
}

// Use for paragraphs before lists
.lead-in {
  margin-bottom: 0;
}

// Lists
.list-bullet {
  margin-bottom: ($gutter*1.5);
}


// Example boxes
// ==========================================================================

.example {
  @extend %contain-floats;
  position: relative;
  overflow: hidden;
  border: 1px solid $grey-2;
  margin-top: $gutter-half;
  margin-bottom: $gutter*1.5;

  padding-top: $gutter;
  padding-right: $gutter-half;
  padding-bottom: $gutter-half;
  padding-left: $gutter-half;

  @include media(tablet) {
    padding-top: $gutter*1.5;
    padding-right: $gutter;
    padding-bottom: $gutter;
    padding-left: $gutter;
  }

  &:before {
    content: "EXAMPLE";

    position: absolute;
    top: 0;
    left: 0;

    padding: em(4) em(15) em(4) em(15);

    @include core-14;
    background: $grey-2;
    color: white;
  }

  // Blue text for heading sizes
  .highlight {<commit_msg>Reduce spacing between examples and code snippets<commit_after>@import "main";

// ==========================================================================
// Elements page styles
// ==========================================================================

// These are example styles, used only for the elements pages

.elements-index {
  // Reduce top and bottom margins
  .heading-medium {
    margin: 1em 0 0 0;
  }
  // Add spacing above
  .divider {
    margin-top: 4em;
  }
}

// Increase spacing above headings
.heading-xlarge {
  @include media(tablet) {
    margin-top: em(60, 48);
    margin-bottom: em(30, 48);
  }
}

// Page contents
.heading-contents {
  margin-top: 3em;
}

.list-contents li {
  @include core-16;
}

// Use for paragraphs before lists
.lead-in {
  margin-bottom: 0;
}

// Lists
.list-bullet {
  margin-bottom: ($gutter*1.5);
}


// Example boxes
// ==========================================================================

.example {
  @extend %contain-floats;
  position: relative;
  overflow: hidden;
  border: 1px solid $grey-2;
  margin-top: $gutter-half;
  margin-bottom: $gutter-half;

  padding-top: $gutter;
  padding-right: $gutter-half;
  padding-bottom: $gutter-half;
  padding-left: $gutter-half;

  @include media(tablet) {
    padding-top: $gutter*1.5;
    padding-right: $gutter;
    padding-bottom: $gutter;
    padding-left: $gutter;
  }

  &:before {
    content: "EXAMPLE";

    position: absolute;
    top: 0;
    left: 0;

    padding: em(4) em(15) em(4) em(15);

    @include core-14;
    background: $grey-2;
    color: white;
  }

  // Blue text for heading sizes
  .highlight {
{'fraction_non_alphanumeric': 0.26364477335800185, 'fraction_numerical': 0.021584952204748688, 'mean_word_length': 3.2740447957839263, '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': '6320105', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1040, 'n_words': 262}