fix news-item row
This commit is contained in:
2
dist/assets/style.css
vendored
2
dist/assets/style.css
vendored
File diff suppressed because one or more lines are too long
@@ -139,6 +139,10 @@ header {
|
|||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.h-telega:hover{
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
footer{
|
footer{
|
||||||
background-color: #3c3c3c;
|
background-color: #3c3c3c;
|
||||||
padding-top: 22px;
|
padding-top: 22px;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
.news-item {
|
.news-item {
|
||||||
flex: 1 1 calc(33.333% - 1rem);
|
flex: 1 1 calc(33.333% - 1rem);
|
||||||
|
max-width: calc(33.333% - 1rem); /* добавьте эту строку */
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -68,10 +69,15 @@ body.image-portrait .post-thumbnail img {
|
|||||||
color: #909294;
|
color: #909294;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.news-item-info-part a:hover {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
/* Планшет - 2 карточки */
|
/* Планшет - 2 карточки */
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
.news-item {
|
.news-item {
|
||||||
flex: 1 1 calc(50% - 1rem);
|
flex: 1 1 calc(50% - 1rem);
|
||||||
|
max-width: calc(50% - 1rem); /* добавьте эту строку */
|
||||||
}
|
}
|
||||||
|
|
||||||
body.image-portrait .post-thumbnail {
|
body.image-portrait .post-thumbnail {
|
||||||
|
|||||||
@@ -36,6 +36,17 @@ body.image-portrait article IMG {
|
|||||||
padding-bottom: 18px;
|
padding-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hashtag-title::before {
|
||||||
|
content: "#";
|
||||||
|
color: #CC0000;
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.category-description{
|
||||||
|
padding: 12px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
|
|||||||
Reference in New Issue
Block a user