fix news-item row

This commit is contained in:
2026-01-09 18:13:20 +03:00
parent ed3d788b6d
commit ace05946db
4 changed files with 22 additions and 1 deletions

View File

@@ -139,6 +139,10 @@ header {
margin-left: 4px;
}
.h-telega:hover{
color: #666;
}
footer{
background-color: #3c3c3c;
padding-top: 22px;

View File

@@ -8,6 +8,7 @@
.news-item {
flex: 1 1 calc(33.333% - 1rem);
max-width: calc(33.333% - 1rem); /* добавьте эту строку */
min-width: 250px;
display: flex;
flex-direction: column;
@@ -68,10 +69,15 @@ body.image-portrait .post-thumbnail img {
color: #909294;
}
.news-item-info-part a:hover {
color: #666;
}
/* Планшет - 2 карточки */
@media (max-width: 1024px) {
.news-item {
flex: 1 1 calc(50% - 1rem);
max-width: calc(50% - 1rem); /* добавьте эту строку */
}
body.image-portrait .post-thumbnail {

View File

@@ -36,6 +36,17 @@ body.image-portrait article IMG {
padding-bottom: 18px;
}
.hashtag-title::before {
content: "#";
color: #CC0000;
margin-right: 2px;
}
.category-description{
padding: 12px 0;
}
p {
font-size: 1.125rem;
line-height: 1.65;