<commit_before>header {
  @include clearfix;
  height: 40px;
  margin: 0 -1em 2em;
  padding: 0 1em 2em;

  h1.logo {
    color: $light-font-color;
    letter-spacing: 4px;
    float: left;
    font-weight: 900;
    font-size: 2.2em;
    margin: 0;
    text-transform: uppercase;
  }

  ul.nav {
    display: table;
    float: right;
    height: 100%;
    margin-top: .75em;

    li {
      color: $light-font-color;
      display: table-cell;
      font-size: 0.9em;
      font-weight: bold;
      letter-spacing: 2px;
      padding: 0.1em 0;
      text-transform: uppercase;
      vertical-align: middle;

      & + li {
        padding-left: 2em;

        @include media($small-screen) {
          border-left: none;
          padding-left: 0;
        }
      }
    }
  }

  a, label.toggle {
    color: $light-font-color;
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 0.2em;
    text-transform: uppercase;
  }

  .dropdown {
    display: block;
    position: relative;

    label {
      cursor: pointer;

      &:after {
        font-family: $icon-font;
        line-height: 1em;
        margin-left: .5em;
      }
    }

    input#account-menu-toggle {
      display: none;

      & ~ label {
        &:after {
          content: $icon-dropdown;
        }
      }

      &:checked {
        & ~ label {
          &:after {
            content: $icon-dropup;
          }
        }

        & ~ .menu {
          opacity: 1;
          visibility: visible;
        }
      }
    }

    .menu {
      @include position(absolute, 100% -2px 0 0);
      background: #fff;
      border-radius: 6px;
      border: 1px solid $base-border-color;
      opacity: 0;
      padding: 1em;
      visibility: hidden;
      width: 210px;
      z-index: 10;

      a {
        border: none;
        display: block;
        margin-bottom: 0.8em;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  @include media($small-screen) {
    @include fill-parent;
    @include position(fixed, 0px 0 0 0);
    background: #fff;
    border-bottom: 1px solid $base-border-color;
    height: 65px;
    padding: 1em;
    z-index: 3;

    h1.logo {
      font-size: 1.5em;
      letter-spacing: .1em;
      text-align: center;
    }

    ul.nav {
      display: block;
      margin-top: .25em;

      li {
        display: inline-block;
      }
    }

    label.toggle:hover {
      border: none;
      color: $light-font-color;
    }
  }
}
<commit_msg>weird firefox bug on older versions<commit_after>header {
  @include clearfix;
  height: 40px;
  margin: 0 -1em 2em;
  padding: 0 1em 2em;
  position: relative;

  h1.logo {
    color: $light-font-color;
    letter-spacing: 4px;
    float: left;
    font-weight: 900;
    font-size: 2.2em;
    margin: 0;
    text-transform: uppercase;
  }

  ul.nav {
    display: table;
    float: right;
    height: 100%;
    margin-top: .75em;

    li {
      color: $light-font-color;
      display: table-cell;
      font-size: 0.9em;
      font-weight: bold;
      letter-spacing: 2px;
      padding: 0.1em 0;
      text-transform: uppercase;
      vertical-align: middle;

      & + li {
        padding-left: 2em;

        @include media($small-screen) {
          border-left: none;
          padding-left: 0;
        }
      }
    }
  }

  a, label.toggle {
    color: $light-font-color;
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 0.2em;
    text-transform: uppercase;
  }

  .dropdown {
    display: block;
    position: relative;

    label {
      cursor: pointer;

      &:after {
        font-family: $icon-font;
        line-height: 1em;
        margin-left: .5em;
      }
    }

    input#account-menu-toggle {
      display: none;

      & ~ label {
        &:after {
          content: $icon-dropdown;
        }
      }

      &:checked {
        & ~ label {
          &:after {
            content: $icon-dropup;
          }
        }

        & ~ .menu {
          opacity: 1;
          visibility: visible;
        }
      }
    }

    .menu {
      @include position(absolute, 100% -2px 0 0);
      background: #fff;
      border-radius: 6px;
      border: 1px solid $base-border-color;
      opacity: 0;
      padding: 1em;
      visibility: hidden;
      width: 210px;
      z-index: 10;

      a {
        border: none;
        display: block;
        margin-bottom: 0.8em;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  @include media($small-screen) {
    @include fill-parent;
    @include position(fixed, 0px 0 0 0);
    background: #fff;
    border-bottom: 1px solid $base-border-color;
    height: 65px;
    padding: 1em;
    z-index: 3;

    h1.logo {
      font-size: 1.5em;
      letter-spacing: .1em;
      text-align: center;
    }

    ul.nav {
      display: block;
      margin-top: .25em;

      li {
        display: inline-block;
      }
    }

    label.toggle:hover {
      border: none;
      color: $light-font-color;
    }
  }
}

{'fraction_non_alphanumeric': 0.12672176308539945, 'fraction_numerical': 0.027548209366391185, 'mean_word_length': 1.5288557213930347, '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': '2958310', 'n_tokens_mistral': 1898, 'n_tokens_neox': 1736, 'n_words': 385}