mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +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
|
# BlitzKit
|
||||||
|
|
||||||
|
Read `README.md` for setup and running: the dev server starts with `scripts/dev-website.sh` (Bun, not npm/Node).
|
||||||
|
|
||||||
## Git
|
## Git
|
||||||
|
|
||||||
- Never commit or push.
|
- Never commit or push.
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ const name = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@media (width < 58rem) {
|
||||||
|
aspect-ratio: 3 / 2;
|
||||||
|
}
|
||||||
|
|
||||||
&[data-disabled="true"] {
|
&[data-disabled="true"] {
|
||||||
opacity: calc(1 / 8);
|
opacity: calc(1 / 8);
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|||||||
@@ -21,12 +21,11 @@ const { major } = Astro.props;
|
|||||||
|
|
||||||
@media (width < 58rem) {
|
@media (width < 58rem) {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
align-items: flex-start;
|
||||||
flex: none;
|
flex: none;
|
||||||
height: 20rem;
|
|
||||||
|
|
||||||
&[data-major="true"] {
|
&[data-major="true"] {
|
||||||
flex: none;
|
flex: none;
|
||||||
height: 30rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user