mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:29:45 +00:00
49 lines
1.1 KiB
SCSS
Executable File
49 lines
1.1 KiB
SCSS
Executable File
@import "../../../../assets/styles/theme.scss";
|
|
|
|
.projects {
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
|
|
.card:nth-child(-n + 2) {
|
|
flex: 1.5 1 40%;
|
|
}
|
|
|
|
.card {
|
|
display: block;
|
|
position: relative;
|
|
flex: 1 0.5 30%;
|
|
height: 250px;
|
|
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: transparent;
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.link-label {
|
|
position: absolute;
|
|
right: 22px;
|
|
bottom: 16px;
|
|
|
|
padding: 2px;
|
|
border-radius: 4px;
|
|
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
line-height: 24px;
|
|
color: $text-card-project;
|
|
|
|
background-color: $text-card-project-bg;
|
|
}
|
|
}
|
|
}
|
|
} |