Sha256: 8ce192438cc06be5593cefb241d9f83550b7253f575b98c5d7bbcdd14676cb7c

Contents?: true

Size: 757 Bytes

Versions: 14

Compression:

Stored size: 757 Bytes

Contents

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.5em 1em;
  border: 0;
  border-radius: $border-radius;
  background-color: $accent-color;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;

  &:hover {
    background-color: tint($accent-color, 20%);
    color: #fff;
  }

  &:focus {
    background-color: shade($accent-color, 20%);
  }

  .icon {
    margin-right: 0.5em;
  }

  /* block button fills width of parent container */
  &--block {
    display: block;
    width: 100%;

    + .btn--block {
      margin-top: 1rem;
    }
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
jekyll-theme-basically-basic-1.4.5 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.4.4 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.4.3 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.4.2 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.4.1 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.4.0 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.3.1 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.3.0 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.2.0 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.1.3 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.1.2 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.1.1 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.1.0 _sass/basically-basic/_buttons.scss
jekyll-theme-basically-basic-1.0.0 _sass/basically-basic/_buttons.scss