Sha256: 0d87820de2ccbf4ccb2d1c0e27fa9a13938b3ad2f8bac88cf16461bc7bbb93e3

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

.admonition {
  // fixed note
  font-size: $h4-size;
  // mdl
  @include shadow-2dp();

  .title {
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.14);
  }

  // fixed
  .content {
    :first-child {
      margin-top: 0;
    }

    :last-child {
      margin-bottom: 0;
    }
  }

  &.note {
    background-color: lighten($theme-blue, 50%);

    .title {
      background: lighten($theme-blue, 20%);
    }
  }

  &.tip {
    background-color: lighten($theme-offgreen, 50%);

    .title {
      background: lighten($theme-offgreen, 0%);
    }
  }

  &.warning {
    background-color: lighten($theme-orange, 40%);

    .title {
      background: lighten($theme-orange, 20%);
    }
  }

  &.danger {
    background-color: lighten($theme-red, 40%);

    .title {
      background: lighten($theme-red, 20%);
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.5 _sass/class/admonition.scss