<commit_before>//
// Typography
// --------------------------------------------------
//
// All about texts, lists, headers, etc.
// Below are some helper classes for text formating.
//

html {
  // Init reset to set child's relative font-size relative to this one
  font-size: 100%;
}

// Gutters

#{$headers},
ul,
ol,
p,
pre {
  // Remove top margins
  margin-top: 0;

  // Add some space after it
  margin-bottom: $spacer-y;
}

// Lists

ul,
ol {
  ul,
  ol {
    margin-bottom: 0;
  }
}

dd,
blockquote {
  // Remove browser default left margin
  margin-left: 0;

  margin-bottom: $spacer-y;
}

hr {
  // box-sizing for `hr` is set to `content-box` in normalize.css
  box-sizing: inherit;

  border-width: 0;
  border-top-width: 1px;
  margin-bottom: $spacer-y;
}

// Some print styles
@media print {
  // Add phrase after abbreviation
  abbr[title]:after {
    content: " ("attr(title)")";
  }

  // Mark links
  a,
  a:visited {
    text-decoration: underline;
  }
}

// Typography helpers
// --------------------------------------------------

// Transformations

.text-uppercase {
  @include text-uppercase();
}

.text-lowercase {
  @include text-lowercase();
}

.text-capitalize {
  @include text-capitalize();
}

.text-small-caps {
  @include text-small-caps();
}

// Text sizing

small,
.text-smaller {
  @include text-smaller();
}

.text-larger {
  @include text-larger();
}

// Effects

.text-bold {
  @include text-bold();
}

.text-underline {
  @include text-underline();
}

.text-italic {
  @include text-italic();
}

// Wrap

.text-pre {
  @include text-pre();
}

.text-nowrap {
  @include text-nowrap();
}

.text-pre-wrap {
  @include text-pre-wrap();
}

.text-pre-line {
  @include text-pre-line();
}

.text-truncate {
  @include text-truncate();
}

// Alignments

.text-right {
  @include text-right();
}

.text-left {
  @include text-left();
}

.text-center {
  @include text-center();
}

.text-justify {
  @include text-justify();
}<commit_msg>Resets moved to _resets.scss; Separated helper classes<commit_after>//
// Typography
//

// Spacing
#{$headers},
blockquote,
dd,
ul,
ol,
p,
pre {
  margin-bottom: $spacer-y;
}

// Remove bottom-spacing on sublists
ul,
ol {
  ul,
  ol {
    margin-bottom: 0;
  }
}

hr {
  border-width: 0;
  border-top-width: 1px;
  margin-bottom: $spacer-y;
}

dt {
  font-weight: bolder;
}

// Some print styles
@media print {
  // Add phrase after abbreviation
  @include rtl-only() {
    abbr[title]::before {
      content: " ("attr(title)")";
    }
  }
  @include ltr-only() {
    abbr[title]::after {
      content: " ("attr(title)")";
    }
  }

  // Mark links
  a,
  a:visited {
    text-decoration: underline;
  }
}
{'fraction_non_alphanumeric': 0.20224299065420562, 'fraction_numerical': 0.00411214953271028, 'mean_word_length': 2.324223602484472, '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': '3939672', 'n_tokens_mistral': 1043, 'n_tokens_neox': 1006, 'n_words': 228}