<commit_before>/* Unsplash Integration
/* ---------------------------------------------------------- */


/* The parent container + layout
/* ---------------------------------------------------------- */

.gh-unsplash-window {
    padding: 25px;
    background: #fff;
}

.gh-unsplash-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 200px);
    max-width: 1200px;
    margin: 100px auto;
}

.gh-unsplash-logo {
    position: absolute;
    top: 23px;
    left: 25px;
    display: block;
}

.gh-unsplash-logo svg {
    width: 32px;
}

.gh-unsplash-header {
    text-align: center;
}

.gh-unsplash-header .gh-input-icon svg {
    left: 15px;
    fill: #777;
}

.gh-unsplash-header .gh-input-icon {
    display: block;
    max-width: 1000px;
    margin: 50px auto;
}

.gh-unsplash-search {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 30px 1px 50px;
    outline: none;
    border: 1px solid color-mod(var(--lightgrey) l(-2%));
    color: var(--darkgrey);
    font-size: 14px;
    background-color: #fff;
    border-radius: 20px;
    appearance: none;
}

.gh-unsplash-search:focus {
    border-color: color-mod(var(--lightgrey) l(-10%) s(+6%));
}


/* Loading styles
/* ---------------------------------------------------------- */

.gh-unsplash-loading {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
}


/* Error styles
/* ---------------------------------------------------------- */

.gh-unsplash-error {
    text-align: center;
}

.gh-unsplash-error-404 {
    display: block;
    min-height: 225px;
    max-width: 300px;
    margin: 0 auto;
}


/* Photo grid and global styles
/* ---------------------------------------------------------- */

.gh-unsplash .gh-loading-spinner {
    display: block;
    margin: 0 auto;
}

.gh-unsplash-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: stretch;
    box-sizing: border-box;
    width: 100%;
}

.gh-unsplash-grid-column {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: stretch;
    margin-right: 24px;
}

.gh-unsplash-grid-column:last-of-type {
    margin-right: 0;
}

.gh-unsplash-photo {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 24px;
    color: #fff;
    cursor: zoom-in;
}

.gh-unsplash-photo-container > img {
    position: absolute;
    display: block;
    height: auto;
}

/* Hover overlay */
.gh-unsplash-photo-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
    background-image: linear-gradient(180deg,rgba(0,0,0,0.2) 0,transparent 40%,transparent 60%,rgba(0,0,0,0.3));
    opacity: 0;
    transition: all 0.15s ease-in-out;
}

.gh-unsplash-photo:hover .gh-unsplash-photo-overlay {
    opacity: 1;
}
<commit_msg>Fixed Unsplash image preview width<commit_after>/* Unsplash Integration
/* ---------------------------------------------------------- */


/* The parent container + layout
/* ---------------------------------------------------------- */

.gh-unsplash-window {
    padding: 25px;
    background: #fff;
}

.gh-unsplash-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 200px);
    max-width: 1200px;
    margin: 100px auto;
}

.gh-unsplash-logo {
    position: absolute;
    top: 23px;
    left: 25px;
    display: block;
}

.gh-unsplash-logo svg {
    width: 32px;
}

.gh-unsplash-header {
    text-align: center;
}

.gh-unsplash-header .gh-input-icon svg {
    left: 15px;
    fill: #777;
}

.gh-unsplash-header .gh-input-icon {
    display: block;
    max-width: 1000px;
    margin: 50px auto;
}

.gh-unsplash-search {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 30px 1px 50px;
    outline: none;
    border: 1px solid color-mod(var(--lightgrey) l(-2%));
    color: var(--darkgrey);
    font-size: 14px;
    background-color: #fff;
    border-radius: 20px;
    appearance: none;
}

.gh-unsplash-search:focus {
    border-color: color-mod(var(--lightgrey) l(-10%) s(+6%));
}


/* Loading styles
/* ---------------------------------------------------------- */

.gh-unsplash-loading {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
}


/* Error styles
/* ---------------------------------------------------------- */

.gh-unsplash-error {
    text-align: center;
}

.gh-unsplash-error-404 {
    display: block;
    min-height: 225px;
    max-width: 300px;
    margin: 0 auto;
}


/* Photo grid and global styles
/* ---------------------------------------------------------- */

.gh-unsplash .gh-loading-spinner {
    display: block;
    margin: 0 auto;
}

.gh-unsplash-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: stretch;
    box-sizing: border-box;
    width: 100%;
}

.gh-unsplash-grid-column {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: stretch;
    margin-right: 24px;
}

.gh-unsplash-grid-column:last-of-type {
    margin-right: 0;
}

.gh-unsplash-photo {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 24px;
    color: #fff;
    cursor: zoom-in;
}

.gh-unsplash-photo-container > img {
    position: absolute;
    display: block;
    height: auto;
    width: 100%;
}

/* Hover overlay */
.gh-unsplash-photo-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
    background-image: linear-gradient(180deg,rgba(0,0,0,0.2) 0,transparent 40%,transparent 60%,rgba(0,0,0,0.3));
    opacity: 0;
    transition: all 0.15s ease-in-out;
}

.gh-unsplash-photo:hover .gh-unsplash-photo-overlay {
    opacity: 1;
}

{'fraction_non_alphanumeric': 0.23253916449086162, 'fraction_numerical': 0.037695822454308095, 'mean_word_length': 1.8388142658638258, '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': '1537445', 'n_tokens_mistral': 2348, 'n_tokens_neox': 2136, 'n_words': 456}