<commit_before>.site-header {
  //padding-bottom: 1%;
  padding: 2% 2% 1% 2%;
  background: $brand-color;
  display: inline-block;
  float: left;
  width: 100%;

  .separator {
    user-select: none;
    opacity: $navbar-separator-opacity;

    &:first-child {
      display: none;
    }
  }

  a {
    color: $header-link-color;
  }

  .avatar {
    height: 3em;
    width: 3em;
    float: left;
    margin-top: -13px;
    border-radius: 0.2em;
    margin-right: 0.5em;
    padding: 10px 10px;

  }

  .site-title {
    float: left;
    font-weight: bold;
    font-family: $font-family-logo;
    font-size: 1.3em;
  }

  nav {
    list-style: none;
    margin: 0;
    padding: 0;

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
      line-height: 1.5;
      float: right;
      text-align: right;
      display: block;
    }

    li {
      display: inline;
      float: left;
      margin-right: 0.4em;
    }

    a {
      &:hover {
        color: $link-color;
      }

      &#pull {
        i {
          margin-top: 13px;
          float: right;
        }

      }

    }
  }
}


// To clear things when we float the element inisde nav and ul 
.clear {
  *zoom: 1;

  &:after {
    clear: both;
  }

  &:before,
  &:after {
    content: " ";
    display: table;
  }
}

/* ---- Responsive ---- */

@media (min-width: $break) {
  a#pull {
    display: none;
  }
}

@media screen and (max-width: $break) {
  .site-header {
    img.avatar {
      margin-top: -7px
    }

    .site-title {
      margin-top: 7px;
    }
  }

  nav {
    height: auto;

    .separator {
      display: none !important;
    }

    ul {
      width: 100%;
      overflow: hidden;

      transition: font-size .25s,
      margin .25s,
      padding .25s,
      opacity .5s .25s;
    }

    ul.hide {
      font-size: 0;
      margin: 0;
      opacity: 0;
      padding: 0;

      /* fade out, then shrink */
      transition: opacity .25s,
      font-size .5s .25s,
      margin .5s .25s,
      padding .5s .25s;
    }

    li {
      width: 100%;
      float: left;
      position: relative;
    }

    a {
      text-align: left;
      width: 100%;

      &#pull {
        display: block;
        width: 100%;
        position: relative;

        &:after {
          content: "";
          display: inline-block;
          position: absolute;
          right: 15px;
          top: 10px;
        }
      }
    }
  }<commit_msg>#184 Make Hamburger menu more user friendly<commit_after>.site-header {
  //padding-bottom: 1%;
  padding: 2% 2% 1% 2%;
  background: $brand-color;
  display: inline-block;
  float: left;
  width: 100%;

  .separator {
    user-select: none;
    opacity: $navbar-separator-opacity;

    &:first-child {
      display: none;
    }
  }

  a {
    color: $header-link-color;
  }

  .avatar {
    height: 3em;
    width: 3em;
    float: left;
    margin-top: -13px;
    border-radius: 0.2em;
    margin-right: 0.5em;
    padding: 10px 10px;

  }

  .site-title {
    float: left;
    font-weight: bold;
    font-family: $font-family-logo;
    font-size: 1.3em;
  }

  nav {
    list-style: none;
    margin: 0;
    padding: 0;

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
      line-height: 1.5;
      float: right;
      text-align: right;
      display: block;
    }

    li {
      display: inline;
      float: left;
      margin-right: 0.4em;
    }

    a {
      &:hover {
        color: $link-color;
      }

      &#pull {
        i {
          margin-top: 13px;
          float: right;
        }

      }

    }
  }
}


// To clear things when we float the element inside nav and ul
.clear {
  *zoom: 1;

  &:after {
    clear: both;
  }

  &:before,
  &:after {
    content: " ";
    display: table;
  }
}

/* ---- Responsive ---- */

@media (min-width: $break) {
  a#pull {
    display: none;
  }
}

@media screen and (max-width: $break) {
  .site-header {
    img.avatar {
      margin-top: -7px
    }

    .site-title {
      margin-top: 7px;
    }
  }

  nav {
    height: auto;

    .separator {
      display: none !important;
    }

    ul {
      width: 100%;
      overflow: hidden;

      transition: font-size .25s,
      margin .25s,
      padding .25s,
      opacity .5s .25s;

      li {
        background-color: darken($background-color, 4%);
        &:nth-of-type(4n) {
          background-color: $background-color;
        }
      }
    }

    ul.hide {
      font-size: 0;
      margin: 0;
      opacity: 0;
      padding: 0;

      /* fade out, then shrink */
      transition: opacity .25s,
      font-size .5s .25s,
      margin .5s .25s,
      padding .5s .25s;
    }

    li {
      width: 100%;
      text-align: center;
      font-size: 1em;
      position: relative;
    }

    a {
      text-align: left;
      width: 100%;

      &#pull {
        display: block;
        width: 100%;
        position: relative;

        &:after {
          content: "";
          display: inline-block;
          position: absolute;
          right: 15px;
          top: 10px;
        }
      }
    }
  }
{'fraction_non_alphanumeric': 0.13849487785658, 'fraction_numerical': 0.030732860520094562, 'mean_word_length': 1.447926711668274, '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': '5740128', 'n_tokens_mistral': 1995, 'n_tokens_neox': 1804, 'n_words': 433}