<commit_before>/**
 * Mixins
 * ======================================================================== */

g-respond(sizes, callback)
    if Grid.responsive
        if is-hash(sizes)
            for bp, size in sizes
                if size != null
                    +above(bp)
                        callback(bp, size)

        if is-list(sizes)
            i = length(sizes)

            for bp in Grid.respond
                i -= 1

                if sizes[i] != null && sizes[i] != '_' && i >= 0
                    +above(bp)
                        callback(bp, sizes[i])

    if is-unit(sizes)
        callback(bp, sizes)


/**
 * Return the percentage width specified by the column count.
 */
grid_columns(count)
    if count >= 1
        count = count / Grid.columns

    return floor(count * 100%, Grid.error)


/**
 * Grid centering.
 *
 * responsive [mixed] -
 *              1) Width - width of the current block,
 *              2) Array of breakpoints that exists in grid breakpoints
 *              3) Hash of breakpoints with widhts
 *              4) Boolean that determine whether block will be responsive
 */
g-center(respond=null)
    respond = Grid.respond if respond == null

    display block
    mh: auto
    ph: (Grid.gutter / 2)

    if is-unit(respond) && respond
        width: respond
    else if is-string(respond) && respond
        width: Grid.container[respond]
    else if is-hash(respond)
        for bp, size in respond
            if size == null
                +above(bp)
                    width auto
            else
                +above(bp)
                    width: size
    else if is-list(respond)
        for bp in respond
            if Grid.container[bp] == null
                +above(bp)
                    width auto
            else
                +above(bp)
                    width: Grid.container[bp]
    else
        width: Grid.width


/**
 * Grid container.
 */
g-container()
    @extends $clearfix

    display block
    ph: 0
    mh: -.5 * Grid.gutter

    list-style none


/**
 * Grid columns.
 */
g-columns(sizes, dir=grid_direction())
    $gutter = Grid.gutter / 2

    display block
    min-height 1px

    ph: $gutter

    g-respond(sizes, @(bp, size) {
        if (size == Grid.columns) {
            float none
            width auto
        } else if (size == 0) {
            display none
        } else {
            float dir
            width grid_columns(size)
        }
    })

<commit_msg>Full width column  respond fix.<commit_after>/**
 * Mixins
 * ======================================================================== */

g-respond(sizes, callback)
    if Grid.responsive
        if is-hash(sizes)
            for bp, size in sizes
                if size != null
                    +above(bp)
                        callback(bp, size)

        if is-list(sizes)
            i = length(sizes)

            for bp in Grid.respond
                i -= 1

                if sizes[i] != null && sizes[i] != '_' && i >= 0
                    +above(bp)
                        callback(bp, sizes[i])

    if is-unit(sizes)
        callback(bp, sizes)


/**
 * Return the percentage width specified by the column count.
 */
grid_columns(count)
    if count >= 1
        count = count / Grid.columns

    return floor(count * 100%, Grid.error)


/**
 * Grid centering.
 *
 * responsive [mixed] -
 *              1) Width - width of the current block,
 *              2) Array of breakpoints that exists in grid breakpoints
 *              3) Hash of breakpoints with widhts
 *              4) Boolean that determine whether block will be responsive
 */
g-center(respond=null)
    respond = Grid.respond if respond == null

    display block
    mh: auto
    ph: (Grid.gutter / 2)

    if is-unit(respond) && respond
        width: respond
    else if is-string(respond) && respond
        width: Grid.container[respond]
    else if is-hash(respond)
        for bp, size in respond
            if size == null
                +above(bp)
                    width auto
            else
                +above(bp)
                    width: size
    else if is-list(respond)
        for bp in respond
            if Grid.container[bp] == null
                +above(bp)
                    width auto
            else
                +above(bp)
                    width: Grid.container[bp]
    else
        width: Grid.width


/**
 * Grid container.
 */
g-container()
    clear fix

    display block
    ph: 0
    mh: -.5 * Grid.gutter

    list-style none


/**
 * Grid columns.
 */
g-columns(sizes, dir=grid_direction())
    $gutter = Grid.gutter / 2

    display block
    min-height 1px

    ph: $gutter

    g-respond(sizes, @(bp, size) {
        if (size == Grid.columns) {
            display block
            float none
            width 100%
        } else if (size == 0) {
            display none
        } else {
            display block
            float dir
            width grid_columns(size)
        }
    })


{'fraction_non_alphanumeric': 0.1230830511850229, 'fraction_numerical': 0.006970722963553077, 'mean_word_length': 1.4040210627094303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6369439', 'n_tokens_mistral': 1472, 'n_tokens_neox': 1337, 'n_words': 422}