better card ratio

This commit is contained in:
tresabhi committed 2026-12-03 21:30:29 -06:00
1 parent d13e63a5e2
commit 91644255a1
3 files changed
+7 -2

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# BlitzKit
Read `README.md` for setup and running: the dev server starts with `scripts/dev-website.sh` (Bun, not npm/Node).
## Git
- Never commit or push.
@@ -29,6 +29,10 @@ const name = strings.tools[tool.id as keyof typeof strings.tools];
position: relative;
overflow: hidden;
@media (width < 58rem) {
aspect-ratio: 3 / 2;
}
&[data-disabled="true"] {
opacity: calc(1 / 8);
cursor: not-allowed;
@@ -21,12 +21,11 @@ const { major } = Astro.props;
@media (width < 58rem) {
flex-direction: row;
align-items: flex-start;
flex: none;
height: 20rem;
&[data-major="true"] {
flex: none;
height: 30rem;
}
}
}