fix news-item row
This commit is contained in:
@@ -139,6 +139,10 @@ header {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.h-telega:hover{
|
||||
color: #666;
|
||||
}
|
||||
|
||||
footer{
|
||||
background-color: #3c3c3c;
|
||||
padding-top: 22px;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user