mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
better card ratio
This commit is contained in:
3 files changed
+7
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user