/* NPM
// ============ */

.npmdocs {
  a:hover, a:focus {
    text-decoration: none !important;
  }

  code {
    color: #1B234C;
  }

  .input-group {
    top: -5px;
  }

  .border-underline {
    padding-bottom: 0.4em;
  }

  .pull--right {
    width: 100%;

    .search-container {
      width: 100%;
    }
  }

  .navbar {
    background: $primarycolour;
  }

  .navbar-header {
    padding-top: 7px;
    padding-bottom: 5px;
    position: relative;
  }

  .navbar-left code {
    color: rgba(255, 255, 255, 0.44) !important;
    display: block;
    margin-left: 0px;
    font-weight: 300;
    line-height: 0.8;
    font-size: 0.8em;
    padding: 6px 6px 6px 0;
    background: none;
  }

  .navbar-left code br {
    display: none;
  }

  .navbar-header span {
    color: #fff;
    font-size: 21px;
    display: inline-block;
    margin-top: 4px;
  }

  .navbar-header .icon-npm {
    color: #009fee;
    margin-left: 10px;
    position: relative;
    top: 1px;
    font-size: 25px;
  }

  .input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn {
    border-radius: 3px;
  }

  .body .main-header .packages-header {
    border-width: 1px;
  }

  code, kbd, pre, samp {
    font-family: "Source Code Pro", sans-serif;
  }

  #codesnippet {
    position: absolute;
    top: -311px;
    left: 0;
  }

  .title {
    font-size: 1em;

    @extend .icomoon;

    @extend .icon-chevron-right;

    &:before {
      margin-right: 5px;
      position: relative;
      top: 3px;
    }

    a {
      font-family: $primaryfont !important;
    }

    small {
      margin-left: 10px;
      color: $darkgrey;
    }
  }

  .author {
    color: $grey;
  }

  .wombat {
    background: #4E4854;
    text-align: center;
    width: 100%;
    padding: 30px 0;
  }

  .wombat img {
    width: 241px;
  }

  .body .content .entry .readme {
    padding: 20px;
    font-family: "Futura W01 Light", Helvetica, Sans-serif;
  }

  .body .content .entry .readme h1 {
    font-family: "Futura W01 Bold", Helvetica, Sans-serif;
    text-transform: uppercase;
    padding-top: 20px;
  }
}

.entry {
  .row {
    padding: 10px 0;
  }
}

.readme {
  padding-top: 20px;
  font-size: 0.85em;
  padding: 20px;
  margin-bottom: 20px;
  margin-top: 6px;
  background: $lightgrey;
  box-shadow: 0px 2px 4px #ccc inset;

  h1 {
    font-size: 2rem;
  }

  h1 + img {
    margin-top: -18px;
    display: block;
    margin-bottom: 20px;
  }

  h3 {
    margin-bottom: 4px;
  }

  p {
    margin-bottom: 3px;
  }

  p + h2 {
    margin-top: 14px;
  }

  p + h4, p + h3 {
    margin-top: 24px;
  }

  .upcase {
    font-size: 1.1em;
  }

  code {
    padding: 0.3em 0;
  }
}
