<commit_before>/* ===================================================*/
/* THUMBNAILS
/* ===================================================*/
@import "../config/_variables";
@import "../config/_mixins";

// VARIABLES
$card-padding:              1.0rem !default;
$card-border-color:         $grey_base !default;
$card-font-size:            $font-size !default;
$card-font-color:           $color-grey-50 !default;

// CARDS
.card {
    width: 100%;
    border: 1px solid $card-border-color;
    @include border-radius;
    overflow: hidden;

    // COMPONENTS
    &__header {
        padding: $card-padding;
        border: { bottom: 1px solid $card-border-color; }

        &__title { @extend .text--title; }
        &__subtitle { @extend .text--subtitle; }
    }
    & img,
    &__image { width: 100%; }
    &__caption {
        padding: $card-padding;
        font-size: $card-font-size;
        color: $card-font-color;
    }
    &__footer {
        @include displayFlex;
        @include flexSize;
        border: { top: 1px solid $card-border-color; }

        &__item {
            @include displayFlex;
            flex: 1 0 0;
            @include justifyContentCenter;
            @include alignItemsCenter;
            margin: 0;
            padding: $card-padding;

            // COMPONENTS
            a {
                text-decoration: none;
                color: map-get( $theme-maps, dark);

                &:hover { color: map-get($theme-maps, primary); }
            }

            // STATES
            &:not(:first-child) { border: { left: 1px solid $card-border-color; } }
        }
    }

    // STATES
    &.card--shadow-box { @include box-shadow(0, 0.25em, 0.5em, $color-pure-black, 0.1); }
}<commit_msg>Update: Card default name can now be changed through a variable, and minor fixes and updates.<commit_after>/* ===================================================*/
/* CARDS
/* ===================================================*/
@import "../config/_variables";
@import "../config/_mixins";

// VARIABLES
$card-name:                 'card' !default;
$card-padding:              1.0rem !default;
$card-border-color:         $grey_base !default;
$card-font-size:            $font-size !default;
$card-font-color:           $color-grey-50 !default;

// CARDS
.#{$card-name} {
    width: 100%;
    border: 1px solid $card-border-color;
    @include border-radius;
    overflow: hidden;

    // Components
    & > &__header {
        padding: $card-padding;
        border: { bottom: 1px solid $card-border-color; }

        // Components
        &__title { @extend .text--title; }
        &__subtitle { @extend .text--subtitle; }
    }

    & > img,
    & > &__image { width: 100%; }

    & > &__caption {
        padding: $card-padding;
        font: { size: $card-font-size; };
        color: $card-font-color;
    }

    & > &__footer {
        @include displayFlex;
        @include flexSize;
        border: { top: 1px solid $card-border-color; }

        // Components
        &__item {
            @include displayFlex;
            @include flexGrow;
            @include flexShrink(0);
            @include flexBasis(0);
            @include justifyContentCenter;
            @include alignItemsCenter;
            margin: 0;
            padding: $card-padding;

            // Components
            & > a {
                text-decoration: none;
                color: map-get( $theme-maps, dark);

                &:hover { color: map-get($theme-maps, primary); }
            }

            // Pseudo
            &:not(:first-child) { border: { left: 1px solid $card-border-color; } }
        }
    }

    // States
    &.card--shadow-box { @include box-shadow(0, 0.25em, 0.5em, $color-pure-black, 0.1); }
}
{'fraction_non_alphanumeric': 0.19295436349079265, 'fraction_numerical': 0.013610888710968775, 'mean_word_length': 1.822289156626506, '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': '5158585', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1106, 'n_words': 241}