<commit_before>#ribbon {
    background-image: url(/img/banner.jpg);
    background-size: cover;
    width: 100%;
    height: 10px;
}

#wrap {
    margin: 0 auto;
    width: 885px;

    // Sticky footer trick, see http://css-tricks.com/snippets/css/sticky-footer/
    min-height: 100%;
    margin-bottom: (-1 * $footer-height);

    &:after {
      content: "";
      display: block;
      height: $footer-height;
    }
}

@media only screen and (max-width : 900px) {
    #wrap { width: 90%; }
}

header {
    transition-property: margin;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    margin: 40px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid $border-colour;

    a,
    a:hover {
        color: $text-colour;
    }
}

@media only screen and (max-width : 480px) {
    header {
        margin: 20px 0;
    }
}

h1 {
    font-family: $title-font;
    font-size: $regular-text-size;
    font-weight: bold;
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-family: $subtitle-font;
    font-size: $regular-text-size;
    margin: 0;
    color: $subtitle-colour;
    font-weight: normal;<commit_msg>Fix sticky footer display bug Margin on header + ribbon height were offseting it<commit_after>#ribbon {
    background-image: url(/img/banner.jpg);
    background-size: cover;
    width: 100%;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#wrap {
    margin: 0 auto;
    width: 885px;

    // Sticky footer trick, see http://css-tricks.com/snippets/css/sticky-footer/
    min-height: 100%;
    margin-bottom: (-1 * $footer-height);

    &:after {
      content: "";
      display: block;
      height: $footer-height;
    }
}

@media only screen and (max-width : 900px) {
    #wrap { width: 90%; }
}

header {
    transition-property: margin;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    margin: 0 0 40px;
    padding-top: 50px; // 40px margin [has to be padding for sticky footer] + 10px for ribbon [positioned absolutely]
    padding-bottom: 10px;
    border-bottom: 1px solid $border-colour;

    a,
    a:hover {
        color: $text-colour;
    }
}

@media only screen and (max-width : 480px) {
    header {
        margin: 20px 0;
    }
}

h1 {
    font-family: $title-font;
    font-size: $regular-text-size;
    font-weight: bold;
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-family: $subtitle-font;
    font-size: $regular-text-size;
    margin: 0;
    color: $subtitle-colour;
    font-weight: normal;
{'fraction_non_alphanumeric': 0.13799694189602446, 'fraction_numerical': 0.03363914373088685, 'mean_word_length': 2.4343832020997374, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7013144', 'n_tokens_mistral': 1025, 'n_tokens_neox': 921, 'n_words': 228}