mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:59:45 +00:00
Уменьшение карточек проекта
This commit is contained in:
1 parent
a5b35437da
commit
5723cedcac
2 files changed
+10
-7
No files matched your search
@@ -22,7 +22,11 @@ const mock = [
|
||||
link: "/projects",
|
||||
},
|
||||
{
|
||||
image: project,
|
||||
image: comBattle,
|
||||
link: "/projects",
|
||||
},
|
||||
{
|
||||
image: comBattle,
|
||||
link: "/projects",
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,18 +4,17 @@
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
row-gap: 32px;
|
||||
gap: 32px;
|
||||
|
||||
.card:first-of-type {
|
||||
width: 100%;
|
||||
aspect-ratio: 3;
|
||||
.card:nth-child(-n + 2) {
|
||||
flex: 1.5 1 40%;
|
||||
}
|
||||
|
||||
.card {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: calc(100%/3 - 16px);
|
||||
aspect-ratio: 3/2;
|
||||
flex: 1 0.5 30%;
|
||||
height: 250px;
|
||||
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
|
||||
Reference in new issue
Block a user