Sha256: 8e37728f4c5e5a89c3c6293872f235e36c52c667a95e9f6390a1b67ceb76360c

Contents?: true

Size: 938 Bytes

Versions: 8

Compression:

Stored size: 938 Bytes

Contents

.menu-sm {
  position: fixed;
  bottom: 0;
  left: -85%;
  width: 85%;
  max-height: 100%;

  &.shift {
    left: 0;
  }
}

.sidebar-wrap {
  top: 0;

  @extend .menu-sm;

  .sidebar > :last-child {
    margin-bottom: 5em;
  }
}

.addons-wrap {
  @extend .menu-sm;
}

.content-wrap {
  &.shift {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 85%;
    min-width: 100%;
  }
}

@include breakpoint(md) {
  .menu-md {
    left: 0;
    width: $theme-menu-width;
  }

  .sidebar-wrap {
    @extend .menu-md;

    .sidebar {
      width: $theme-menu-width + 20px;

      .header,
      .toctree {
        width: $theme-menu-width;
      }
    }
  }

  .addons-wrap {
    @extend .menu-md;
  }

  .content-wrap {
    margin-left: $theme-menu-width;

    &.shift {
      position: relative;
      left: 0;
      min-width: 0;
    }
  }
}

@include breakpoint(xl) {
  .content-wrap {
    max-width: $width-xl - $theme-menu-width;
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.6 _sass/_layout.scss
jekyll-rtd-theme-2.0.5 _sass/_layout.scss
jekyll-rtd-theme-2.0.4 _sass/_layout.scss
jekyll-rtd-theme-2.0.3 _sass/_layout.scss
jekyll-rtd-theme-2.0.2 _sass/_layout.scss
jekyll-rtd-theme-2.0.1 _sass/_layout.scss
jekyll-rtd-theme-2.0.0 _sass/_layout.scss
jekyll-rtd-theme-2.0.0.pre.beta1 _sass/_layout.scss