<commit_before><!-- File for polymer component styling -->
<link rel="import" href="/components/paper-styles/paper-styles.html">
<style is="custom-style">
paper-button[raised] {
    color: white;
    margin: 10px;
    background: var(--paper-blue-500);
    white-space: nowrap;
}

    app-header.main {
        color: #fff;
        background-color: var(--paper-blue-500);
    }

    app-toolbar {
        height: 120px;
    }

    [condensed-title] {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 250px;

        /* The difference in font size is used to calculate the scale of the title in the transition. */
        font-size: 16px;
    }

    [main-title] {
        position: absolute;
        top: -120px;
        bottom: 0;
        left: 0;
        right: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 425px;
        -webkit-transform-origin: center top !important;
        transform-origin: center top !important;

        /* The difference in font size is used to calculate the scale of the title in the transition. */
        font-size: 32px;
    }

    <%=
        "
    [condensed-title] {
        background-image: url('#{ asset_path "Header-s.svg" }');
    }
    [main-title] {
        background-image: url('#{ asset_path "Header-l.svg" }');
    }
        ".html_safe
    %>

    .content {
        display: block;
        position: relative;
        max-width: 1000px;
        margin: 5px auto;
    }

    .card-container {
        display: inline-block;
        width: 33.33%;
        color: black;
        text-decoration: none;
    }

    paper-card {
        display: block;
        margin: 5px;

        --paper-card-header-image: {
            height: 200px;
        }
    }

    paper-card h2 {
        margin: 4px;
        font-weight: normal;
    }

    paper-card p {
        margin: 4px;
        color: #999;
    }

    @media (max-width: 960px) {
        .content {
            max-width: 800px;
        }

        .card-container {
            width: 50%;
        }
    }

    @media (max-width: 719px) {
        app-toolbar {
            height: 60px;
        }

        [condensed-title] {
            background-size: 100px;
        }

        [main-title] {
            top: -60px;
            background-size: 225px;
        }

        .content {
            max-width: 400px;
        }

        .card-container {
            width: 100%;
        }
    }

    .avatar-container {
        position: relative;
        height: 90px;
        padding: 2px;
        width: 90px;
        margin: 20px auto;
    }

    <% if logged_in? && current_user.picture.present? %>
        <%=
            ".avatar-container .image {
            background-image: url('#{current_user.picture_scale 90}');
            background-size: contain;
            border-radius: 50%; height: 100%;
            width: 100%;}".html_safe
            %>
    <% end %>
<commit_msg>Style for photos<commit_after><!-- File for polymer component styling -->
<link rel="import" href="/components/paper-styles/paper-styles.html">
<style is="custom-style">
paper-button[raised] {
    color: white;
    margin: 10px;
    background: var(--paper-blue-500);
    white-space: nowrap;
}

    app-header.main {
        color: #fff;
        background-color: var(--paper-blue-500);
    }

    app-toolbar {
        height: 120px;
    }

    [condensed-title] {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 250px;

        /* The difference in font size is used to calculate the scale of the title in the transition. */
        font-size: 16px;
    }

    [main-title] {
        position: absolute;
        top: -120px;
        bottom: 0;
        left: 0;
        right: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 425px;
        -webkit-transform-origin: center top !important;
        transform-origin: center top !important;

        /* The difference in font size is used to calculate the scale of the title in the transition. */
        font-size: 32px;
    }

    <%=
        "
    [condensed-title] {
        background-image: url('#{ asset_path "Header-s.svg" }');
    }
    [main-title] {
        background-image: url('#{ asset_path "Header-l.svg" }');
    }
        ".html_safe
    %>

    .content {
        display: block;
        position: relative;
        max-width: 1000px;
        margin: 5px auto;
    }

    .card-container {
        display: inline-block;
        width: 33.33%;
        color: black;
        text-decoration: none;
    }

    paper-card {
        display: block;
        margin: 5px;

        --paper-card-header-image: {
            height: 200px;
        }
    }

    paper-card h2 {
        margin: 4px;
        font-weight: normal;
    }

    paper-card p {
        margin: 4px;
        color: #999;
    }

    @media (max-width: 960px) {
        .content {
            max-width: 800px;
        }

        .card-container {
            width: 50%;
        }
    }

    @media (max-width: 719px) {
        app-toolbar {
            height: 60px;
        }

        [condensed-title] {
            background-size: 100px;
        }

        [main-title] {
            top: -60px;
            background-size: 225px;
        }

        .content {
            max-width: 400px;
        }

        .card-container {
            width: 100%;
        }
    }

    .avatar-container {
        position: relative;
        height: 90px;
        padding: 2px;
        width: 90px;
        margin: 20px auto;
    }

    <% if logged_in? && current_user.picture.present? %>
        <%=".avatar-container .image {
            background-image: url('#{current_user.picture_scale(90)}');
            background-size: contain;
            border-radius: 50%; height: 100%;
            width: 100%;}".html_safe
            %>
    <% end %>

{'fraction_non_alphanumeric': 0.1241735203999355, 'fraction_numerical': 0.030317690695049186, 'mean_word_length': 1.4937675914756734, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '7128731', 'n_tokens_mistral': 2083, 'n_tokens_neox': 1846, 'n_words': 437}