Sha256: cf849dd9cb70e69028fbd866f08dc15950e6cd70aecaa7e3841f2848f353bd87
Contents?: true
Size: 866 Bytes
Versions: 16
Compression:
Stored size: 866 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); justify-content: center; line-height: var(--leading-none); margin-block-start: var(--flash-position, 0); margin-inline: auto; min-block-size: var(--size-11); padding: var(--size-1) var(--size-4); text-align: center; @media (width >= 40rem) { font-size: var(--text-lg); } @media (width >= 64rem) { font-size: var(--text-xl); } } .flash--extended { animation-name: appear-then-fade-extended; animation-duration: 12s; } @keyframes appear-then-fade { 0%, 100% { opacity: 0; } 5%, 60% { opacity: 1; } } @keyframes appear-then-fade-extended { 0%, 100% { opacity: 0; } 2%, 90% { opacity: 1; } }
Version data entries
16 entries across 16 versions & 1 rubygems