Files
spend-sparrow/input.css
Tim Wundenberg 307f0d25b8
Some checks failed
Build Docker Image / Build-Docker-Image (push) Has been cancelled
feat(layout): #211 optimize the overall layout for mobile
move navigation to aside
proper mobile handling
update logo.svg
remove pirata-one/only use it for the logo
2025-08-01 22:22:57 +02:00

63 lines
1.0 KiB
CSS

@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);
}