Sha256: 76980f6166445a307b4f525fe51e068f8f44136129f4ecc846f68433313c8613

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

.to-top {
  position: fixed;
  display: block;
  text-align: center;
  right: 15px;
  bottom: 0;
  cursor: pointer;
  height: 35px;
  width: 35px;
  background-color: rgba(103, 103, 103, 0.65);
  z-index: 2;
  transform: translate3d(0, 60px, 0);
  transition: all 0.3s ease;

  @include breakpoint($md) {
    right: 1.8em;
  }

  &.js-show {
    transform: translate3d(0, -15px, 0);

    @include breakpoint($md) {
      transform: translate3d(0, -28px, 0);
    }
  }

  &:hover {
    background-color: rgba(103, 103, 103, 0.80);
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-sleek-0.1.2 _sass/components/_top.scss
jekyll-sleek-0.1.1 _sass/components/_top.scss
jekyll-sleek-0.1.0 _sass/components/_top.scss