@import 'tailwindcss'; @source './static/**/*.js'; @source './template/**/*.templ'; @font-face { font-family: "EB Garamond"; src: url("/static/font/EBGaramond-VariableFont_wght.woff2") format("woff2"); } body { font-family: "EB Garamond", serif; @apply text-gray-700; } input:focus { @apply outline-none ring-0; } button { @apply cursor-pointer; } /* Button */ .button { transition: all 150ms linear; @apply cursor-pointer border-2 rounded-lg border-transparent; } .button-primary:hover, .button-normal:hover { transform: translate(-0.25rem, -0.25rem); box-shadow: 3px 3px 3px var(--color-gray-200); } .button-primary { @apply border-gray-400 } .button-normal { @apply border-gray-200 } .button-neglect:hover { @apply border-gray-200; } /* Input */ .input { border-radius: 0.5rem; border: 2px solid var(--color-gray-200); transition: all 150ms linear; @apply px-3 py-2 text-lg; } .input:has(input:focus), .input:focus { border-color: var(--color-gray-400); box-shadow: 0 0 0 2px var(--color-gray-200); }