div.view-animation { display: grid; gap: 16px; } div.view-animation div.preview { cursor: zoom-in; box-sizing: border-box; border: var(--border-thickness) solid var(--background-primary); background-color: var(--background-tertiary); aspect-ratio: 16 / 9; width: 100%; height: 100%; object-fit: contain; } div.view-animation div.preview div.media-canvas { width: 100%; height: 100%; } div.view-animation div.metadata p.header { margin-bottom: 8px; font-size: large; } div.view-animation div.metadata p.subheader { color: var(--font-color-secondary); font-size: small; } div.view-animation div.tags { display: flex; flex-wrap: wrap; gap: 8px; } div.view-animation div.tags a.item { display: flex; gap: 8px; background-color: var(--background-tertiary); padding: 8px; width: fit-content; text-decoration: none; } div.view-animation div.tags a.item:hover, div.view-animation div.tags a.item:focus-visible { cursor: pointer; text-decoration: underline; } div.view-animation div.tags a.item span.usage { color: var(--font-color-secondary); text-decoration: none; } /* Fullscreen Preview */ div.view-lightbox { display: flex; position: fixed; justify-content: center; align-items: center; z-index: 999; cursor: zoom-out; inset: 0; background: rgba(0, 0, 0, 0.5); } div.view-lightbox div.media-canvas { max-width: 90vw; max-height: 90vh; overflow: hidden; }