Sha256: c55109c7b711a8668a5d6219624e1cb8be46f471d949241b90ecc36bc499ae29

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

.c-notice {
  border: 1px solid var(--db-border-color);
  background-color: var(--db-background-color);
  border-radius: $border-radius-object;
  margin-top: $spacing-unit / 2;
  margin-bottom: $spacing-unit / 2;
  padding: $spacing-unit / 4 $spacing-unit / 2;
  border-left-width: $border-radius-object * 2;

  &__header {
    font-weight: bold;
    margin-bottom: $spacing-unit / 4;
    &:empty {
      display: none;
    }
  }

  &--inline {
    .c-notice__header {
      display: inline;
      &::after {
        content: ':';
        margin-right: 1em;
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
databook-theme-0.1.2 _sass/components/_notice.scss