_callout.scss 388 Bytes
Newer Older
Yoann Pigné's avatar
Yoann Pigné committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

@import 'vars';
@import 'functions';
@import 'mixins';
@import 'skel';

.callout {
  display: block;

  background-color: transparentize(_palette(accent2, bg), 0.75);
  padding: 1em;

  border-left: solid 5px _palette(accent2, bg);
  border-radius: 3px;

  &.danger {
    background-color: transparentize(_palette(accent6, bg), 0.75);
    border-left-color: _palette(accent6, bg);
  }
}