Новые изменения в компоенты

This commit is contained in:
Web-serfer 2026-04-23 17:24:24 +05:00
parent 21f8a0d124
commit f5809afff8
5 changed files with 401 additions and 23 deletions

View file

@ -78,7 +78,7 @@ const relatedCases = shuffledCases.slice(0, limit);
<style>
.related-cases {
padding: 5rem 0;
background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
background: #f1f5f9;
}
.site-container {
@ -123,6 +123,7 @@ const relatedCases = shuffledCases.slice(0, limit);
border-radius: 16px;
padding: 2rem;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
text-decoration: none;
transition: all 0.3s ease;
display: flex;
@ -238,5 +239,23 @@ const relatedCases = shuffledCases.slice(0, limit);
.related-cases__grid {
grid-template-columns: 1fr;
}
.related-case-card__header {
justify-content: center;
}
.related-case-card__title {
text-align: center;
}
.related-case-card__desc {
text-align: center;
}
.related-case-card__footer {
flex-direction: column;
align-items: center;
text-align: center;
}
}
</style>