<commit_before>////
/// Herow, a time-saving Sass grid system
///
/// @group api
/// @author <NAME>
///



// Attributes
// ----------------------------------

/// Defines the default number of column.
///
/// @type Integer
/// @group configuration
///
$Herow-default-column-count: 12 !default;

/// Defines the default column flow.
///
/// @type 'inline' | 'left' | 'right'
/// @group configuration
///
$Herow-default-column-flow: 'inline' !default;

/// Defines the default gutter.
///
/// @type Length
/// @group configuration
///
$Herow-default-gutter-width: 20px !default;

///
/// Defines the default generated class names.
///
/// @type Map
/// @group configuration
///
$Herow-generator-class-map: (
  row: 'row',
  col: 'col',
  col-span: 'col-',
  col-flow-left: 'col-left',
  col-flow-right: 'col-right',
  col-flow-inline: 'col-inline',
  col-offset-left: 'col-offset-'
) !default;



// Helpers
// ----------------------------------

/// Include a micro clearfix
///
/// @access private
///
@mixin Herow-clearfix() {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

/// Get a column width in percent
///
/// @param {Integer} $column-span - The span length of the column
/// @param {Integer} $column-count - The number of available columns
///
/// @access private
///
@function Herow-get-cell-width($column-span, $column-count) {
  @return $column-span * 100% / $column-count;
}



// Row Mixins
// ----------------------------------

/// Change the gutter size of the row
///
/// @param {Length} $gutter-width (20px) - The size of the grid gutter
/// @param {Boolean} $external-pad (false) - Set if an external padding is displayed on the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-row-gutter(
  $gutter-width: $Herow-default-gutter-width,
  $external-pad: false
) {
  @if $external-pad {
    padding: (0.5 * $gutter-width);
  } @else {
    margin: (-0.5 * $gutter-width);
  }
}

/// Include the styles of a row
///
/// @param {Length} $gutter-width (20px) - The size of the grid gutter
/// @param {Boolean} $external-pad (false) - Set if an external padding is displayed on the grid
///
/// @access public
/// @group api
///
@mixin Herow-row(
  $gutter-width: $Herow-default-gutter-width,
  $external-pad: false
) {
  display: block;
  @include Herow-row-gutter($gutter-width, $external-pad);
  @include Herow-clearfix();
}



// Column Mixins
// ----------------------------------

/// Change the size of the column
///
/// @param {Integer} $column-span (1) - The span length of the column
/// @param {Integer} $column-count (12) - The number of columns of the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-width(
  $column-span: 1,
  $column-count: $Herow-default-column-count
) {
  width: Herow-get-cell-width($column-span, $column-count);
}

/// Change the gutter of the column
///
/// @param {Length} $gutter-width (20px) - The gutter size of the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-gutter(
  $gutter-width: $Herow-default-gutter-width
) {
  padding: (0.5 * $gutter-width);
}

/// Change the flow of the column
///
/// @param {'inline' | 'left' | 'right'} $column-flow ('inline') - The flow of the column
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-flow(
  $column-flow: $Herow-default-column-flow
) {
  @if $column-flow == 'left' {
    float: left;
    margin-right: 0;
  } @else if $column-flow == 'right' {
    float: right;
    margin-right: 0;
  } @else {
    display: inline-block;
    vertical-align: top;
    margin-right: -0.25em;
  }
}

/// Change the left offset of the column
///
/// @param {Integer} $column-offset (1) - The span length for the left offset of the column
/// @param {Integer} $column-count (12) - The number of columns of the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-offset(
  $column-offset: 1,
  $column-count: $Herow-default-column-count
) {
  margin-left: Herow-get-cell-width($column-offset, $column-count);
}<commit_msg>Use the Pure.io value to revert inline-block spaces<commit_after>////
/// Herow, a time-saving Sass grid system
///
/// @group api
/// @author <NAME>
///



// Attributes
// ----------------------------------

/// Defines the default number of column.
///
/// @type Integer
/// @group configuration
///
$Herow-default-column-count: 12 !default;

/// Defines the default column flow.
///
/// @type 'inline' | 'left' | 'right'
/// @group configuration
///
$Herow-default-column-flow: 'inline' !default;

/// Defines the default gutter.
///
/// @type Length
/// @group configuration
///
$Herow-default-gutter-width: 20px !default;

///
/// Defines the default generated class names.
///
/// @type Map
/// @group configuration
///
$Herow-generator-class-map: (
  row: 'row',
  col: 'col',
  col-span: 'col-',
  col-flow-left: 'col-left',
  col-flow-right: 'col-right',
  col-flow-inline: 'col-inline',
  col-offset-left: 'col-offset-'
) !default;



// Helpers
// ----------------------------------

/// Include a micro clearfix
///
/// @access private
///
@mixin Herow-clearfix() {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

/// Get a column width in percent
///
/// @param {Integer} $column-span - The span length of the column
/// @param {Integer} $column-count - The number of available columns
///
/// @access private
///
@function Herow-get-cell-width($column-span, $column-count) {
  @return $column-span * 100% / $column-count;
}



// Row Mixins
// ----------------------------------

/// Change the gutter size of the row
///
/// @param {Length} $gutter-width (20px) - The size of the grid gutter
/// @param {Boolean} $external-pad (false) - Set if an external padding is displayed on the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-row-gutter(
  $gutter-width: $Herow-default-gutter-width,
  $external-pad: false
) {
  @if $external-pad {
    padding: (0.5 * $gutter-width);
  } @else {
    margin: (-0.5 * $gutter-width);
  }
}

/// Include the styles of a row
///
/// @param {Length} $gutter-width (20px) - The size of the grid gutter
/// @param {Boolean} $external-pad (false) - Set if an external padding is displayed on the grid
///
/// @access public
/// @group api
///
@mixin Herow-row(
  $gutter-width: $Herow-default-gutter-width,
  $external-pad: false
) {
  display: block;
  @include Herow-row-gutter($gutter-width, $external-pad);
  @include Herow-clearfix();
}



// Column Mixins
// ----------------------------------

/// Change the size of the column
///
/// @param {Integer} $column-span (1) - The span length of the column
/// @param {Integer} $column-count (12) - The number of columns of the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-width(
  $column-span: 1,
  $column-count: $Herow-default-column-count
) {
  width: Herow-get-cell-width($column-span, $column-count);
}

/// Change the gutter of the column
///
/// @param {Length} $gutter-width (20px) - The gutter size of the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-gutter(
  $gutter-width: $Herow-default-gutter-width
) {
  padding: (0.5 * $gutter-width);
}

/// Change the flow of the column
///
/// @param {'inline' | 'left' | 'right'} $column-flow ('inline') - The flow of the column
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-flow(
  $column-flow: $Herow-default-column-flow
) {
  @if $column-flow == 'left' {
    float: left;
    margin-right: 0;
  } @else if $column-flow == 'right' {
    float: right;
    margin-right: 0;
  } @else {
    display: inline-block;
    vertical-align: top;
    margin-right: -0.31em;
  }
}

/// Change the left offset of the column
///
/// @param {Integer} $column-offset (1) - The span length for the left offset of the column
/// @param {Integer} $column-count (12) - The number of columns of the grid
///
/// @access public
/// @group atomic-api
///
@mixin Herow-column-offset(
  $column-offset: 1,
  $column-count: $Herow-default-column-count
) {
  margin-left: Herow-get-cell-width($column-offset, $column-count);
}
{'fraction_non_alphanumeric': 0.21825787401574803, 'fraction_numerical': 0.007874015748031496, 'mean_word_length': 2.3125509372453137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6757002', 'n_tokens_mistral': 2780, 'n_tokens_neox': 2718, 'n_words': 773}