Sha256: 488df71639f9cdcf4452b6f226648d057e0ad142ccdfb097029ed9f7496e3d21

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 KB

Contents

//
// Main nav, breadcrumb, etc...
//

.site-title {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  background-color: $grey-lt-000;

  @include mq(md) {
    position: absolute;
    top: $gutter-spacing;
    right: 0;
    z-index: 101;
  }
}

.navigation-list {
  padding: 0;
  margin-top: $sp-4;
  margin-bottom: 0;
  list-style: none;

  @include mq(md) {
    margin-top: $sp-10;
  }
}

.navigation-list-child-list {
  padding-left: $sp-3;
  list-style: none;

  .navigation-list-link {
    color: $grey-dk-100;
  }

  .navigation-list-item {
    &::before {
      position: absolute;
      margin-top: 0.3em;
      margin-left: -0.8em;
      color: $grey-dk-000;
      content: "- ";
    }

    &.active {
      &::before {
        color: $grey-dk-100;
      }
    }
  }
}

.navigation-list-item {
  @include fs-4;
  margin: 0;

  @include mq(md) {
    @include fs-3;
  }
}

.navigation-list-link {
  display: block;
  padding-top: $sp-1;
  padding-bottom: $sp-1;

  &.active {
    font-weight: 600;
    color: $grey-dk-200;
    text-decoration: none;
  }
}

// Small screen nav

.main-nav,
.aux-nav {
  display: none;

  &.nav-open {
    display: block;
  }
  @include mq(md) {
    display: block;
  }
}

.side-bar {
  display: flex;
  flex-wrap: wrap;

  @include mq(md) {
    display: block;
    overflow-y: auto;
  }
}

.navigation-list-toggle {
  position: absolute;
  right: $sp-4;

  @include mq(md) {
    display: none !important;
  }
}

// Breadcrumb nav

.breadcrumb-nav-list {
  padding-left: 0;
  margin-bottom: $sp-3;
  list-style: none;
}

.breadcrumb-nav-list-item {
  display: table-cell;
  @include fs-2;

  &::before {
    display: none;
  }

  &::after {
    display: inline-block;
    margin-right: $sp-2;
    margin-left: $sp-2;
    color: $grey-dk-000;
    content: "/";
  }

  &:last-child {
    &::after {
      content: "";
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
just-the-docs-0.1.2 _sass/navigation.scss
just-the-docs-0.1.1 _sass/navigation.scss