Sha256: ffd16fde908cc9b1ebbdab4b25aa57910a8786b24f05af91696ffd36bb5e1569

Contents?: true

Size: 712 Bytes

Versions: 6

Compression:

Stored size: 712 Bytes

Contents

.admonition {
  // fixed note
  font-size: $h4-size;

  // 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

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.4 _sass/class/admonition.scss
jekyll-rtd-theme-2.0.3 _sass/class/admonition.scss
jekyll-rtd-theme-2.0.2 _sass/class/admonition.scss
jekyll-rtd-theme-2.0.1 _sass/class/admonition.scss
jekyll-rtd-theme-2.0.0 _sass/class/admonition.scss
jekyll-rtd-theme-2.0.0.pre.beta1 _sass/class/admonition.scss