mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: tank cards
This commit is contained in:
1 parent
01eed3e045
commit
81877f5abd
4 files changed
+104
No files matched your search
@@ -0,0 +1,31 @@
|
||||
.tank-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
|
||||
.icon-wrapper {
|
||||
position: relative;
|
||||
|
||||
.flag {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
background-size: cover;
|
||||
background-position: left center;
|
||||
|
||||
width: 75%;
|
||||
height: 50%;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 7rem;
|
||||
aspect-ratio: 4 / 3;
|
||||
position: relative;
|
||||
|
||||
background-size: 150%;
|
||||
background-position: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user