<commit_before>---

---
@import "commons";

$mobile-width: 700px;

html, body {
}
body {
  font-family: "Open Sans", Helvetica, sans-serif;
}
.kakapo {
  height: 50px;
}
#banner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(black, 0.5);
  color: white;
  text-align: center;
  
  .github-link{
    color: #6db3f9;
    font-size: 40px;
  }
  h1 {
    font-size: 55px;
  }
  .motto-line {
    width: 0;
    height: 2px;
    background-color: white;
    margin: 0 auto;
    animation: motto-line-animation 1.5s 0.2s cubic-bezier(0.31, 0.91, 1, 1) forwards;
  }
  .motto {
    font-size: 25px;
    margin-top: 10px;
    max-width: 80%;
  }
  .learn-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    word-spacing: 3px;
    letter-spacing: 4px;
    animation: learn-more-animation 1s 2s forwards;
    opacity: 0;

    &:hover {
      .arrow {
        transform: translateY(5px);
      }
    }
    .arrow {
      width: 25px;
      height: 30px;
      margin-top: 15px;
      transition: transform .2s;
    }
  }
  &.js-banner:after {
    background-image: url('/assets/images/js-bg.jpg');
  }
  &.swift-banner:after {
    background-image: url('/assets/images/swift-bg.jpg');
  }
  &:after {
    content: " ";
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
    opacity: 0.5;
    width: 100%;
    height: 100%;
  }
}
#docs {
  background-color: #BDECB6;
  display: flex;
  border-top: 1px solid #BDECB6;
  
  @media screen and (max-width: $mobile-width) {
    display: block;
  }

  &.scrollable {
    .docs-content {
      margin-left: 300px;
    }

    nav{
      position: fixed;
      top: 0;
      left: 0;
    }
  }
  .docs-content a{
    text-decoration: underline;
    color: cornflowerblue;
  }
  .logo {
    height: 100px;
    margin: 8px;
  }
  .docs-title {
    color: $pink;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }
  nav {
    color: #BA6051;
    text-align: center;
    width: 300px;
    overflow: auto;
    
    @media screen and (max-width: $mobile-width) {
      width: auto;
      position: static !important;
    }

    #markdown-toc {
      border-top: 1px solid rgba(81, 146, 37, 0.47);
      text-align: left;
      color: rgba(108, 130, 7, 0.91);
    }
    li {
      cursor: pointer;

      ul a {
        padding-left: 20px;
      }
      a {
        padding: 10px;
        width: 100%;
        display: inline-block;
        border-bottom: 1px solid rgba(81, 146, 37, 0.47);
        transition: all .3s;

        &:hover {
          background-color: #DCECB6;
          color: rgba(75, 154, 63, 0.75);
        }
      }<commit_msg>Fix nav scroll on desktop<commit_after>---

---
@import "commons";

$mobile-width: 700px;

html, body {
}
body {
  font-family: "Open Sans", Helvetica, sans-serif;
}
.kakapo {
  height: 50px;
}
#banner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(black, 0.5);
  color: white;
  text-align: center;
  
  .github-link{
    color: #6db3f9;
    font-size: 40px;
  }
  h1 {
    font-size: 55px;
  }
  .motto-line {
    width: 0;
    height: 2px;
    background-color: white;
    margin: 0 auto;
    animation: motto-line-animation 1.5s 0.2s cubic-bezier(0.31, 0.91, 1, 1) forwards;
  }
  .motto {
    font-size: 25px;
    margin-top: 10px;
    max-width: 80%;
  }
  .learn-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    word-spacing: 3px;
    letter-spacing: 4px;
    animation: learn-more-animation 1s 2s forwards;
    opacity: 0;

    &:hover {
      .arrow {
        transform: translateY(5px);
      }
    }
    .arrow {
      width: 25px;
      height: 30px;
      margin-top: 15px;
      transition: transform .2s;
    }
  }
  &.js-banner:after {
    background-image: url('/assets/images/js-bg.jpg');
  }
  &.swift-banner:after {
    background-image: url('/assets/images/swift-bg.jpg');
  }
  &:after {
    content: " ";
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
    opacity: 0.5;
    width: 100%;
    height: 100%;
  }
}
#docs {
  background-color: #BDECB6;
  display: flex;
  border-top: 1px solid #BDECB6;
  
  @media screen and (max-width: $mobile-width) {
    display: block;
  }

  &.scrollable {
    .docs-content {
      margin-left: 300px;
    }

    nav{
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
    }
  }
  .docs-content a{
    text-decoration: underline;
    color: cornflowerblue;
  }
  .logo {
    height: 100px;
    margin: 8px;
  }
  .docs-title {
    color: $pink;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }
  nav {
    color: #BA6051;
    text-align: center;
    width: 300px;
    overflow: auto;

    @media screen and (max-width: $mobile-width) {
      width: auto;
      position: static !important;
      height: auto !important;
    }

    #markdown-toc {
      border-top: 1px solid rgba(81, 146, 37, 0.47);
      text-align: left;
      color: rgba(108, 130, 7, 0.91);
    }
    li {
      cursor: pointer;

      ul a {
        padding-left: 20px;
      }
      a {
        padding: 10px;
        width: 100%;
        display: inline-block;
        border-bottom: 1px solid rgba(81, 146, 37, 0.47);
        transition: all .3s;

        &:hover {
          background-color: #DCECB6;
          color: rgba(75, 154, 63, 0.75);
        }
      }
{'fraction_non_alphanumeric': 0.14398456681866012, 'fraction_numerical': 0.0492809540512101, 'mean_word_length': 2.007911392405063, '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': '6113930', 'n_tokens_mistral': 2425, 'n_tokens_neox': 2132, 'n_words': 493}