add correct news templates

This commit is contained in:
Profile Profile
2026-03-08 19:09:23 +03:00
parent 572ffd07e6
commit c9ed7c8fcc
8 changed files with 218 additions and 82 deletions

View File

@@ -97,26 +97,7 @@
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/* Бейдж категории */
.post-category-badge {
position: absolute;
top: 15px;
right: 15px;
background: #2563eb;
color: white;
padding: 5px 10px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
z-index: 2;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
max-width: 80%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Оверлей с контентом */
.post-content-overlay {
@@ -137,6 +118,10 @@
gap: 8px;
}
.post-meta-overlay {
margin-bottom: 3px;
}
@@ -160,6 +145,11 @@
text-overflow: ellipsis;
}
.category-badge-white{
background-color: white;
color: black;
}
.author-name {
font-size: 12px;
color: rgba(255, 255, 255, 0.85);