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 {
|
||||
padding: 2rem !important;
|
||||
text-align: left !important;
|
||||
text-align: center !important;
|
||||
transition: box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#main > .posts > article header h2 a {
|
||||
@@ -160,7 +160,7 @@
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
font-size: 0.88rem;
|
||||
color: #666;
|
||||
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 {
|
||||
text-align: center !important;
|
||||
|
||||
Reference in New Issue
Block a user