Sha256: 78b896dd12b147358f697903e0ef0421afad35ac5b62d58045f5ede0ee858fd9

Contents?: true

Size: 1000 Bytes

Versions: 1

Compression:

Stored size: 1000 Bytes

Contents

// Table of Contents

.toc-wrapper {
  display: inline-block;
  position: sticky;
  top: calc(var(--spacer-3) * 2.5);
  width: auto;
}

.toc-title {
  text-align: center;
  font-weight: bold;
  border: 1px solid;
  border-radius: 0.3em 0.3em 0 0;
  padding: 0.5rem;
  margin: 0;
  color: var(--body-bg);
  background-color: var(--body-color);
  border-color: var(--border-color);
}

.toc-nav {
  max-height: 60vh;
  overflow-y: scroll;
  border: 1px solid;
  border-top: 0px;
  border-radius: 0 0 0.3em 0.3em;
  border-color: var(--border-color);

  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;

  ul {
    margin: 0;
    padding: 0;
  }

  a {
    padding: 0;
    margin: 0;
    display: block;
    text-decoration: none;
  }

  ul {
    list-style: none;

    li {
      font-weight: bold;
      padding: 0.5rem;

      a {
        border-bottom: 1px solid var(--border-color);
      }
    }
  }

  li ul li a {
    font-weight: normal;
    padding-left: 1.25rem;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
not-pure-poole-0.1.0 _sass/_toc.scss