Sha256: c08bb5f3e8daf34a5ae33bbe5589582fdb97941dc5d5323a73788442db2e5f03

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

Stored size: 1.76 KB

Contents

ul.refills-menu {
  font-weight: normal;
  margin: -3em auto 0.7em auto;
  padding: 0;
  text-align: center;

  @include media($refills-medium-screen) {
    margin: -6em auto 0.4em auto;
  }

  @include media($refills-large-screen) {
    margin: -6.7em auto 0.8em auto;
  }

  .menu-item {
    display: inline;

    a {
      @include refills-inset;
      border-radius: 3px;
      color: $refills-secondary-anchor-color;
      font-family: $refills-narrow-sans;
      font-size: 0.8em;
      font-weight: 300;
      padding: 0.5em 1em 1.5em;
      text-decoration: none;

      @include media($refills-medium-screen) {
        font-size: 1em;
        padding: 0.5em 1.8em 1.3em;
      }

      @include media($refills-large-screen) {
        font-size: 1.2em;
        padding: 0.7em 2.7em 2em;
      }

      &:hover {
        color: lighten($refills-secondary-anchor-color, 10%);
      }
    }
  }
}

.refills-patterns li.patterns a {
  background: $refills-body-background-color;
  box-shadow: none;

  &:hover {
    color: darken($refills-hero-background, 20%);
  }
}

.refills-components li.components a {
  background: $refills-body-background-color;
  box-shadow: none;

  &:hover {
    color: darken($refills-hero-background, 20%);
  }
}

.refills-type-systems li.type-systems a {
  background: $refills-body-background-color;
  box-shadow: none;

  &:hover {
    color: darken($refills-hero-background, 20%);
  }
}

.refills-unstyled li.unstyled a {
  background: $refills-body-background-color;
  box-shadow: none;

  &:hover {
    color: darken($refills-hero-background, 20%);
  }
}

.menu-item.unstyled {
  position: relative;
}

.menu-item.unstyled::after {
  content: url('/images/new.svg');
  position: absolute;
  right: -42px;
  top: -63px;
  transform: scale(0.4) rotate(13deg);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refills-0.2.0 source/stylesheets/_refills-menu.scss