task 17075 | переделал h-article-cards
This commit is contained in:
1 parent
f79548db46
commit
b86e5a7c55
1 file changed
+23
-28
@@ -6310,42 +6310,30 @@ h4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.h-article-cards {
|
.h-article-cards {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
grid-template-columns: repeat(2, 1fr);
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
width: 100%;
|
margin: 60px 0;
|
||||||
margin: 30px 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-article-cards .h-article-cards__item {
|
.h-article-cards__item {
|
||||||
display: flex;
|
padding: 31px;
|
||||||
flex-direction: column;
|
|
||||||
min-width: 0;
|
border-radius: 20px;
|
||||||
min-height: 110px;
|
border: 1px solid #EDEDED;
|
||||||
padding: 20px 22px;
|
background: rgba(255, 255, 255, 0.10);
|
||||||
box-sizing: border-box;
|
|
||||||
border: 1px solid var(--color-grey);
|
|
||||||
border-radius: 10px;
|
|
||||||
background: var(--color-light);
|
|
||||||
box-shadow: 0 2px 12px color-mix(in srgb, var(--color-dark) 8%, transparent);
|
|
||||||
}
|
}
|
||||||
.h-article-cards__item:last-child:nth-child(odd) {
|
.h-article-cards__item:last-child:nth-child(odd) {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-article-cards .h-article-cards__item p {
|
.h-article-cards__item p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: inherit;
|
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 400;
|
line-height: 150%; /* 30px */
|
||||||
line-height: 1.6;
|
letter-spacing: -0.2px;
|
||||||
color: var(--color-dark);
|
color: var(--color-text);
|
||||||
}
|
|
||||||
|
|
||||||
.h-article-cards .h-article-cards__item p + p {
|
|
||||||
margin-top: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767.98px) {
|
@media (max-width: 767.98px) {
|
||||||
@@ -6353,8 +6341,15 @@ h4 {
|
|||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-article-cards .h-article-cards__item p {
|
.h-article-cards__item{
|
||||||
font-size: 16px;
|
padding: 15px;
|
||||||
|
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.h-article-cards__item p {
|
||||||
|
font-size: 14px;
|
||||||
|
letter-spacing: -0.14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user