Sha256: e8df57ceb0d2ee05147018d3d38bef1ff1908ffc3b98e638157da6025f5bfccc

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

.flash {
  align-items: center;
  animation: appear-then-fade 4s 300ms both;
  background-color: var(--color-text);
  border-radius: var(--rounded-full);
  color: var(--color-text-reversed);
  display: flex;
  gap: var(--size-2);
  line-height: var(--leading-none);
  margin-inline: auto;
  min-block-size: var(--size-11);
  padding: var(--size-1) var(--size-4);
  position: fixed;
  text-align: center;

  @media (width >= 40rem) {
    font-size: var(--text-lg);
  }

  @media (width >= 64rem) {
    font-size: var(--text-xl);
  }
}

@keyframes appear-then-fade {
  0%, 100% { opacity: 0; }
  5%, 60%  { opacity: 1; }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
css-zero-0.0.41 lib/generators/css_zero/add/templates/app/assets/stylesheets/flash.css