<commit_before>@import "colors";

.navbar {
  display: flex;
  background-color: $deep-purple-500;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 6;
  height: 70px;

  ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  a {
    display: block;
    color: white;
    text-decoration: none;

    &:hover {
      background-color: $deep-purple-300;
    }
  }

  .navbar-backdrop {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background-color: rgba(0,0,0,0.5);
  }

  .mobile-social-icons {
    display: none;
  }

  .navbar-links, .navbar-toggle, .navbar-social-icons {
    display: flex;
    flex-flow: row wrap;
  }

  .navbar-brand a {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    padding: 5px 20px;
    margin: 0 20px;

    img {
      max-height: 60px;
    }
  }

  .navbar-links {
    .navbar-links-list {
      display: flex;
      flex-flow: row wrap;
    }

    a {
      padding: 23px;
    }
  }

  .navbar-social-icons {
    margin-left: auto;
    font-size: 30px;

    a {
      padding: 12px;
    }
  }

  .navbar-toggle {
    margin-left: auto;
    padding: 8px;

    .navbar-toggle-button {
      background-color: transparent;
      border: 2px solid white;
      border-radius: 3px;
      color: white;
      font-size: 25px;
      padding: 0 15px;

      &:hover {
        cursor: pointer;
        background-color: white;
        color: $deep-purple-500;
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .collapsed {
    left: 100vw !important;
    right: -100vw !important;

    transition: left 300ms ease-out, right 300ms ease-out;
    -moz-transition: left 300ms ease-out, right 300ms ease-out;
    -webkit-transition: left 300ms ease-out, right 300ms ease-out;
  }

  .navbar-links {
    top: 70px;
    left: 25vw;
    right: 0;
    bottom: -100vh;
    position: absolute;

    transition: left 300ms ease-out, right 300ms ease-out;
    -moz-transition: left 300ms ease-out, right 300ms ease-out;
    -webkit-transition: left 300ms ease-out, right 300ms ease-out;

    .navbar-links-list {
      display: flex;
      flex-flow: row wrap;
      flex-direction: column !important;
      background-color: $deep-purple-500;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;

      & > li {
        border-top: 1px solid white;

        &:last-child {
          border: none;
          margin-top: auto;
        }
      }

      .mobile-social-icons {
        margin-bottom: 70px;
        display: block;

        .mobile-social-icons-list {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          font-size: 30px;<commit_msg>navbar: change positioning of mobile navbar to fixed<commit_after>@import "colors";

.navbar {
  display: flex;
  background-color: $deep-purple-500;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 6;
  height: 70px;

  ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  a {
    display: block;
    color: white;
    text-decoration: none;

    &:hover {
      background-color: $deep-purple-300;
    }
  }

  .navbar-backdrop {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background-color: rgba(0,0,0,0.5);
  }

  .mobile-social-icons {
    display: none;
  }

  .navbar-links, .navbar-toggle, .navbar-social-icons {
    display: flex;
    flex-flow: row wrap;
  }

  .navbar-brand a {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    padding: 5px 20px;
    margin: 0 20px;

    img {
      max-height: 60px;
    }
  }

  .navbar-links {
    .navbar-links-list {
      display: flex;
      flex-flow: row wrap;
    }

    a {
      padding: 23px;
    }
  }

  .navbar-social-icons {
    margin-left: auto;
    font-size: 30px;

    a {
      padding: 12px;
    }
  }

  .navbar-toggle {
    margin-left: auto;
    padding: 8px;

    .navbar-toggle-button {
      background-color: transparent;
      border: 2px solid white;
      border-radius: 3px;
      color: white;
      font-size: 25px;
      padding: 0 15px;

      &:hover {
        cursor: pointer;
        background-color: white;
        color: $deep-purple-500;
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .collapsed {
    left: 100vw !important;
    right: -100vw !important;

    transition: left 300ms ease-out, right 300ms ease-out;
    -moz-transition: left 300ms ease-out, right 300ms ease-out;
    -webkit-transition: left 300ms ease-out, right 300ms ease-out;
  }

  .navbar-links {
    top: 70px;
    left: 25vw;
    right: 0;
    bottom: 0;
    position: fixed;

    transition: left 300ms ease-out, right 300ms ease-out;
    -moz-transition: left 300ms ease-out, right 300ms ease-out;
    -webkit-transition: left 300ms ease-out, right 300ms ease-out;

    .navbar-links-list {
      display: flex;
      flex-flow: row wrap;
      flex-direction: column !important;
      background-color: $deep-purple-500;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;

      & > li {
        border-top: 1px solid white;

        &:last-child {
          border: none;
          margin-top: auto;
        }
      }

      .mobile-social-icons {
        display: block;

        .mobile-social-icons-list {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          font-size: 30px;
{'fraction_non_alphanumeric': 0.12391461649782923, 'fraction_numerical': 0.04052098408104197, 'mean_word_length': 1.8856993736951984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5696749', 'n_tokens_mistral': 2201, 'n_tokens_neox': 1917, 'n_words': 478}