<commit_before>@import "global";

//
// Variables
//
$include-html-gallerys-classes: $include-html-classes !default;

$gallerys-class: 'gallery' !default;
$gallerys-spacing: $grid-gutter * 2 !default;
$gallerys-item-selector: 'li' !default;
$gallerys-item-background: $snowwhite !default;
$gallerys-item-border-width: 1px !default;
$gallerys-item-border-color: $gainsboro !default;
$gallerys-item-box-shadow: 0 0 5px rgba($black, .1) !default;
$gallerys-font-color: $body-font-color !default;
$gallerys-border-radius: $global-radius !default;

@include exports("gallery") {
    @if $include-html-gallerys-classes {
        .#{$gallerys-class} {
            > #{$gallerys-item-selector} {
                background-color: $gallerys-item-background;
                background-clip: padding-box;
                border: $gallerys-spacing / 2 solid transparent;
                box-shadow: inset 0 0 0 $gallerys-item-border-width $gallerys-item-border-color;
                position: relative;
                > a {
                    color: $gallerys-font-color;
                }
                &::after {
                    content: '';
                    position: absolute;
                    z-index: 99;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    box-shadow: $gallerys-item-box-shadow;
                }
            }
            &.radius {
                > #{$gallerys-item-selector} {
                    border-radius: $gallerys-border-radius + $gallerys-spacing / 2;
                }
                figure {
                    border-radius: $gallerys-border-radius $gallerys-border-radius 0 0;
                }
            }
            p {
                margin-bottom: 0;
            }
            .square {
                background-repeat: no-repeat;
                background-position: 50%;
                background-size: cover;
                &::before {
                    content: '';
                    display: block;
                    padding-top: 100%;
                }
                img {
                    display: none;
                }
            }
            .holdout {
                margin: (-$block-grid-default-spacing) (-$block-grid-default-spacing) 0;
            }
        }
    }
}<commit_msg>Modify gallerys style<commit_after>@import "global";

//
// Variables
//
$include-html-gallerys-classes: $include-html-classes !default;

$gallerys-class: 'gallery' !default;
$gallerys-spacing: $grid-gutter * 2 !default;
$gallerys-item-selector: 'li' !default;
$gallerys-item-background: $snowwhite !default;
$gallerys-item-border-width: 1px !default;
$gallerys-item-border-color: $gainsboro !default;
$gallerys-item-box-shadow: 0 0 5px rgba($black, .1) !default;
$gallerys-font-color: $body-font-color !default;
$gallerys-border-radius: $global-radius !default;

@include exports("gallery") {
    @if $include-html-gallerys-classes {
        .#{$gallerys-class} {
            > #{$gallerys-item-selector} {
                background-color: $gallerys-item-background;
                background-clip: padding-box;
                border: $gallerys-spacing / 2 solid transparent;
                @if $gallerys-item-border-width {
                    box-shadow: inset 0 0 0 $gallerys-item-border-width $gallerys-item-border-color;
                }
                position: relative;
                > a {
                    color: $gallerys-font-color;
                }
                &::after {
                    content: '';
                    position: absolute;
                    z-index: -1;
                    top: 0;
                    left: 0;
                    bottom: 0;
                    right: 0;
                    @if $gallerys-item-box-shadow {
                        box-shadow: $gallerys-item-box-shadow;
                    }
                }
            }
            &.radius {
                > #{$gallerys-item-selector} {
                    border-radius: $gallerys-border-radius + $gallerys-spacing / 2;
                }
                figure {
                    border-radius: $gallerys-border-radius $gallerys-border-radius 0 0;
                }
            }
            p {
                margin-bottom: 0;
            }
            .square {
                background-repeat: no-repeat;
                background-position: 50%;
                background-size: cover;
                &::before {
                    content: '';
                    display: block;
                    padding-top: 100%;
                }
                img {
                    display: none;
                }
            }
            @if $include-html-block-grid-classes {
                &.#{$block-grid-class}-1 {
                    padding-left: $gallerys-spacing / 2;
                    padding-right: $gallerys-spacing / 2;
                }
                .holdout {
                    margin: (-$block-grid-default-spacing) (-$block-grid-default-spacing) 0;
                }
                figcaption {
                    margin-top: $block-grid-default-spacing;
                }
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.11948002294016441, 'fraction_numerical': 0.011087746128847257, 'mean_word_length': 1.1891213389121338, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2546003', 'n_tokens_mistral': 1579, 'n_tokens_neox': 1408, 'n_words': 252}