<commit_before>@import "styleguide/_colours.scss";
@import "_typography";
@import "_conditionals";

/* Global footer */

#footer {
  background-color: $grey-8;
  border-top: 1px solid $grey-6;

  .beta-notice {
    @include core-16;
    background: #F17921;
    color: #000;
    float: none;
    width: auto;
    text-align: center;

    p {
      display: inline-block;
      margin: 0.7em auto;
      
      max-width: 58em;
      padding: 0 1em;

      text-align:left;

      @include ie-lte(7) {
        width: 58em;
      }
    }
  }

  .footer-wrapper {
    max-width: 60em;
    margin: 0 auto;
    padding: 60px 1em 0 1em;
    padding: 6rem 1em 0 1em;

    @include ie-lte(7) {
      width: 928px; /* we want the width for IE to max out at 960px total (including padding) */
    }

    @include media(mobile) {
      padding-top: 20px;
      padding-top: 2rem;
    }
  }

  h2 {
    color: $grey-3;
    margin: 0;

    @include media(mobile) {
      margin-bottom: 32px;
    }
  }

  .footer-categories {
    font-size: 0;

    @include media(mobile) {
      border: 1px solid $grey-6;
      border-width: 0 0 1px 0;

      padding: 20px 0;
      padding: 2rem 0;
    }
  
    ul {
      @include core-16;
      list-style: none;
      
      padding: 20px 0 0 0;
      padding: 2rem 0 0 0;

      margin: 30px 3.5% 0 0;
      margin: 3rem 3.5% 0 0;

      border: 1px solid $grey-6;
      border-width: 1px 0 0 0;

      display: inline-block;
      width: 31%;

      min-height: 210px;
      min-height: 21rem;

      vertical-align: top;
    
      li {
        margin: 0 20% 1.5rem 0;
      }

      a {
        color: $grey-3;
      }

      a:hover {
        color: $grey-1;
      }

      @include media(mobile) {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
        border: none;
        min-height: 0;
      }
    }

    .copyright {
      @include core-16;

      display: inline-block;
      float: none;
      text-align: inherit;
      width: 31%;
      min-height: 210px;
      min-height: 21rem;

      margin: 32px 0 0 0;
      margin: 3.2rem 0 0 0;
      padding: 20px 0 0 0;
      padding: 2rem 0 0 0;
      border: 1px solid $grey-6;
      border-width: 1px 0 0 0;

      a {
        display: block;
        color: $grey-3;

        margin: 35px 0 0 0;
        margin: 3.5rem 0 0 0;
        padding: 115px 0 0 0;
        padding: 11.5rem 0 0 0;

        background: transparent image-url("govuk-crest.png") no-repeat 50% 0;
        text-align: center;
        text-decoration: none;

        @include ie(6) {
          background-image: image-url("govuk-crest-ie.png");
        }
      }

      a:hover {
        color: $grey-1;
      }

      @include media(mobile) {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
        border: none;
        min-height: 0;
      }
    }
  }

  .footer-meta {
    font-size: 0;
    color: $grey-3;
    padding: 30px 0 60px;
    padding: 3rem 0 6rem;

    ul {
      @include core-16;
      display: inline-block;
      list-style: none;
      margin: 0 3.1% 30px 0;
      margin: 0 3.1% 3rem 0;
      padding: 0;

      width: 31%;

       li {
        display: inline-block;
        margin: 0 1.5rem 0 0;
      }

      @include media(mobile) {
        width: auto;
        margin: 0 0 1.5em 0;
      }
    }

    .colophon {
      @include core-16;
      display: inline-block;
      margin: 0 0 3rem 0;

      @include media(mobile) {
        margin: 0 0 1.5em 0;
      }
    }

    p {
      @include core-16;
      display: block;
      clear: left;
    }

    a {
      color: $grey-3;
    }

    a:hover {
      color: $grey-1;
    }
  }
}
<commit_msg>Footer fixes for IE6/7<commit_after>@import "styleguide/_colours.scss";
@import "_typography";
@import "_conditionals";

/* Global footer */

#footer {
  background-color: $grey-8;
  border-top: 1px solid $grey-6;

  .beta-notice {
    @include core-16;
    background: #F17921;
    color: #000;
    float: none;
    width: auto;
    text-align: center;

    p {
      display: inline-block;
      margin: 0.7em auto;
      
      max-width: 58em;
      padding: 0 1em;

      text-align:left;

      @include ie-lte(7) {
        width: 58em;
      }
    }
  }

  .footer-wrapper {
    max-width: 60em;
    margin: 0 auto;
    padding: 60px 1em 0 1em;
    padding: 6rem 1em 0 1em;

    @include ie-lte(7) {
      width: 928px; /* we want the width for IE to max out at 960px total (including padding) */
    }

    @include media(mobile) {
      padding-top: 20px;
      padding-top: 2rem;
    }
  }

  h2 {
    color: $grey-3;
    margin: 0;

    @include media(mobile) {
      margin-bottom: 32px;
    }
  }

  .footer-categories {
    font-size: 0;

    @include media(mobile) {
      border: 1px solid $grey-6;
      border-width: 0 0 1px 0;

      padding: 20px 0;
      padding: 2rem 0;
    }
  
    ul {
      @include core-16;
      list-style: none;
      
      padding: 20px 0 0 0;
      padding: 2rem 0 0 0;

      margin: 30px 3.5% 0 0;
      margin: 3rem 3.5% 0 0;

      border: 1px solid $grey-6;
      border-width: 1px 0 0 0;

      display: inline-block;
      width: 31%;

      min-height: 210px;
      min-height: 21rem;

      vertical-align: top;

      @include ie-lte(7) {
        float: left;
      }
    
      li {
        margin: 0 20% 1.5rem 0;
      }

      a {
        color: $grey-3;
      }

      a:hover {
        color: $grey-1;
      }

      @include media(mobile) {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
        border: none;
        min-height: 0;
      }
    }

    .copyright {
      @include core-16;

      display: inline-block;
      float: none;
      text-align: inherit;
      width: 31%;
      min-height: 210px;
      min-height: 21rem;

      margin: 32px 0 0 0;
      margin: 3.2rem 0 0 0;
      padding: 20px 0 0 0;
      padding: 2rem 0 0 0;
      border: 1px solid $grey-6;
      border-width: 1px 0 0 0;

      @include ie-lte(7) {
        float: left;
        width: 30%;
      }

      a {
        display: block;
        color: $grey-3;

        margin: 35px 0 0 0;
        margin: 3.5rem 0 0 0;
        padding: 115px 0 0 0;
        padding: 11.5rem 0 0 0;

        background: transparent image-url("govuk-crest.png") no-repeat 50% 0;
        text-align: center;
        text-decoration: none;

        @include ie(6) {
          background-image: image-url("govuk-crest-ie.png");
        }
      }

      a:hover {
        color: $grey-1;
      }

      @include media(mobile) {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
        border: none;
        min-height: 0;
      }
    }
  }

  .footer-meta {
    clear: both;
    font-size: 0;
    color: $grey-3;
    padding: 30px 0 60px;
    padding: 3rem 0 6rem;

    ul {
      @include core-16;
      display: inline-block;
      list-style: none;
      margin: 0 3.1% 30px 0;
      margin: 0 3.1% 3rem 0;
      padding: 0;

      width: 31%;

      @include ie-lte(7) {
        display: inline;
        float: left;
      }

       li {
        display: inline-block;
        margin: 0 1.5rem 0 0;

        @include ie-lte(7) {
          display: inline;
          margin-right: 0;
          padding-right: 15px;
        }
      }

      @include media(mobile) {
        width: auto;
        margin: 0 0 1.5em 0;
      }
    }

    .colophon {
      @include core-16;
      display: inline-block;
      margin: 0 0 3rem 0;

      @include ie-lte(7) {
        display: inline;
        float: left;
        margin-bottom: 30px;
      }

      @include media(mobile) {
        margin: 0 0 1.5em 0;
      }
    }

    p {
      @include core-16;
      display: block;
      clear: left;
    }

    a {
      color: $grey-3;
    }

    a:hover {
      color: $grey-1;
    }
  }
}

{'fraction_non_alphanumeric': 0.12147753236862148, 'fraction_numerical': 0.05991368367605991, 'mean_word_length': 1.4438585607940446, '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': '1865581', 'n_tokens_mistral': 3271, 'n_tokens_neox': 2784, 'n_words': 765}