64 lines
1.2 KiB
CSS
64 lines
1.2 KiB
CSS
@import 'tailwindcss';
|
|
|
|
@source './static/**/*.js';
|
|
@source './template/**/*.templ';
|
|
|
|
body {
|
|
@apply font-garamond text-gray-700;
|
|
}
|
|
input:focus {
|
|
@apply outline-none ring-0;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Pirata One";
|
|
src: url("/static/font/PirataOne-Regular.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "EB Garamond";
|
|
src: url("/static/font/EBGaramond-VariableFont_wght.woff2") format("woff2");
|
|
}
|
|
|
|
@theme {
|
|
--font-pirata: "Pirata One", serif;
|
|
--font-garamond: "EB Garamond", serif;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
|