Center date, title and description in all post cards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -121,7 +121,7 @@
|
|||||||
/* Карточки постов */
|
/* Карточки постов */
|
||||||
#main > .posts > article {
|
#main > .posts > article {
|
||||||
padding: 2rem !important;
|
padding: 2rem !important;
|
||||||
text-align: left !important;
|
text-align: center !important;
|
||||||
transition: box-shadow 0.2s ease;
|
transition: box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
text-align: left;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main > .posts > article header h2 a {
|
#main > .posts > article header h2 a {
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: left;
|
text-align: center;
|
||||||
font-size: 0.88rem;
|
font-size: 0.88rem;
|
||||||
color: #666;
|
color: #666;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
@@ -178,12 +178,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 736px) {
|
|
||||||
#main > .posts > article {
|
|
||||||
text-align: left !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Первый (закреплённый) пост — центрировать на всех экранах */
|
/* Первый (закреплённый) пост — центрировать на всех экранах */
|
||||||
#main > section.posts:first-of-type article {
|
#main > section.posts:first-of-type article {
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user