<commit_before>/*doc
---
title: Container
name: container
category: structure
---

The `.container` class, when included, will constrain the width of its
children and collapse based on defined media breakpoints.

*/


/* Container
   ========================================================================== */
/**
* 1. Include a $container-max if you want to constrain the maximum allowable
*    width for the container, regardless of breakpoint constraints.
*
* 2. Center the container by default.
*
* 3. @if statement handles
*/

/* Container constraint variables */

$container-pad:   10px !default;
$container-sm:    ($media-width-sm - ($container-pad*2)) !default;
$container-md:    ($media-width-md - ($container-pad*2)) !default;
$container-lg:    ($media-width-lg - ($container-pad*2)) !default;
$container-xl:    ($media-width-xl - ($container-pad*2)) !default;

$container-max:   null !default; /* 1 */

// $container-align - possible values: left / right / center
$container-align: center !default; /* 2 */

.container {
  @extend %clearfix;
  padding: 0 $container-pad;
  max-width: $container-max;

  & > .container {
    padding: 0 !important;
  }

  @if $container-align == left { /* 3 */
    margin-left: 0;
    margin-right: auto;
  } @else if $container-align == right {
    margin-left: auto;
    margin-right: 0;
  } @else {
    margin-left: auto;
    margin-right: auto;<commit_msg>container-xs breakpoint<commit_after>/*doc
---
title: Container
name: container
category: structure
---

The `.container` class, when included, will constrain the width of its
children and collapse based on defined media breakpoints.

*/


/* Container
   ========================================================================== */
/**
* 1. Include a $container-max if you want to constrain the maximum allowable
*    width for the container, regardless of breakpoint constraints.
*
* 2. Center the container by default.
*
* 3. @if statement handles
*/

/* Container constraint variables */

$container-pad:   10px !default;
$container-xs:    ($media-width-xs - ($container-pad*2)) !default;
$container-sm:    ($media-width-sm - ($container-pad*2)) !default;
$container-md:    ($media-width-md - ($container-pad*2)) !default;
$container-lg:    ($media-width-lg - ($container-pad*2)) !default;
$container-xl:    ($media-width-xl - ($container-pad*2)) !default;

$container-max:   null !default; /* 1 */

// $container-align - possible values: left / right / center
$container-align: center !default; /* 2 */

.container {
  @extend %clearfix;
  padding: 0 $container-pad;
  max-width: $container-max;

  & > .container {
    padding: 0 !important;
  }

  @if $container-align == left { /* 3 */
    margin-left: 0;
    margin-right: auto;
  } @else if $container-align == right {
    margin-left: auto;
    margin-right: 0;
  } @else {
    margin-left: auto;
    margin-right: auto;
{'fraction_non_alphanumeric': 0.19916868721856598, 'fraction_numerical': 0.0114305507447177, 'mean_word_length': 3.484472049689441, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5212432', 'n_tokens_mistral': 911, 'n_tokens_neox': 865, 'n_words': 256}