@import "tailwindcss/base"; @import "tailwindcss/components"; @import "tailwindcss/utilities"; @layer base { *, html { font-family: "Cantarell", "CantarellVF", sans-serif; scroll-margin-top: 96px; scroll-behavior: smooth; } .no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; } } @font-face { font-family: 'CantarellVF'; src: url('/static/fonts/Cantarell-VF.woff2'), format('woff2'); font-weight: Regular; font-style: normal; font-display: swap; } .posts-item { cursor: pointer; user-select: none; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-duration: 200ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); animation: button-pop var(--animation-posts-item, 0.25s) ease-out; --tw-border-opacity: 1; --tw-bg-opacity: 1; --tw-text-opacity: 1; } .posts-item-group > input[type="radio"].posts-item { appearance: none; } .posts-item-group > input[type="radio"].posts-item:before { content: attr(data-title); } .posts-item:active:hover, .posts-item:active:focus { animation: none; } .posts-item:active:hover, .posts-item:active:focus { animation: none; } .posts-item:not(.no-animation):active:hover, .posts-item:not(.no-animation):active:focus { transform: scale(var(--posts-item-focus-scale, 0.95)); } .posts-item:not(.no-animation):active:hover, .posts-item:not(.no-animation):active:focus { transform: scale(var(--posts-item-focus-scale, 0.95)); } .posts-item:hover, .posts-item-active { --tw-border-opacity: 1; /*border-color: hsl(var(--nf, var(--n)) / var(--tw-border-opacity));*/ --tw-bg-opacity: 1; background-color: hsl(var(--nf, var(--n)) / var(--tw-bg-opacity)); } .posts-item:focus-visible { outline: 2px solid hsl(var(--nf)); outline-offset: 2px; }