Sha256: d1d73b2277c90bf57c34e09d7b9c5b6dd03a3b1d758056cefe253b488702e6e3

Contents?: true

Size: 991 Bytes

Versions: 1

Compression:

Stored size: 991 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%;
  }
}

@media screen and (min-width: $width-md) {
  .menu-md {
    left: 0;
    width: $theme-menu-width;
  }

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

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

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

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

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

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

@media screen and (min-width: $width-xl) {
  .content-wrap {
    max-width: $width-xl - $theme-menu-width;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.0.pre.beta _sass/_layout.scss