mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
добавлено в о нас блок трудолюбие и креативность, возможность менять фон хедера через worpress, название фона должно быть art
This commit is contained in:
1 parent
7c7f98b448
commit
d3a23dc716
7 files changed
+135
-3
No files matched your search
@@ -89,4 +89,58 @@ $tablet-min-width: 768px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.creativity-section {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 32px;
|
||||
margin-bottom: 64px;
|
||||
|
||||
.creativity-text-top {
|
||||
width: calc(50% - 16px);
|
||||
}
|
||||
|
||||
.creativity-images {
|
||||
display: flex;
|
||||
gap: 32px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: calc(50% - 16px); // по 50% минус половина gap
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
border-radius: 8px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@include mediaMax($tablet-max-width) {
|
||||
flex-direction: column;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include mediaMax($tablet-max-width) {
|
||||
flex-direction: column;
|
||||
|
||||
.creativity-text-top,
|
||||
.creativity-text-bottom,
|
||||
.creativity-images {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.creativity-images {
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.creativity-text-bottom {
|
||||
margin-left: auto;
|
||||
width: calc(50% - 16px);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user