Redesign wiki — individual cards with topic badge, subtopic headline, teaser, date (yyyy-mm-dd)

This commit is contained in:
Kato
2026-09-05 15:28:39 +00:00
parent 8305f50fe9
commit 7450d010c6
2 changed files with 202 additions and 25 deletions
+139 -3
View File
@@ -784,8 +784,9 @@ body[data-lang="en"] .hide-de { display: none !important; }
======================================== */
.wiki-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 12px;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 20px;
margin-top: 30px;
}
.wiki-card {
padding: 16px;
@@ -837,6 +838,90 @@ body[data-lang="en"] .hide-de { display: none !important; }
color: #65676b;
}
.wiki-card-subtopic { color: #1877f2; }
/* ========================================
WIKI NEW DESIGN — Individual Cards
*/
.wiki-card-new {
background: #fff;
border-radius: 12px;
padding: 24px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
cursor: pointer;
border-left: 4px solid #1877f2;
position: relative;
overflow: hidden;
}
.wiki-card-new:hover {
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
border-left-color: #0d5fc9;
}
.wiki-card-new:active {
transform: translateY(0) scale(0.99);
}
.wiki-topic-badge {
display: inline-block;
padding: 4px 10px;
background: #e7f3ff;
color: #1877f2;
font-size: 12px;
font-weight: 600;
border-radius: 6px;
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.wiki-subtopic-headline {
font-size: 18px;
font-weight: 700;
color: #1a1a2e;
margin: 0 0 12px 0;
line-height: 1.3;
}
.wiki-teaser {
font-size: 14px;
color: #65676b;
line-height: 1.5;
margin: 0 0 16px 0;
}
.wiki-card-meta {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 12px;
border-top: 1px solid #f0f2f5;
}
.wiki-date {
font-size: 13px;
color: #999;
font-weight: 500;
}
.wiki-read-more {
font-size: 13px;
color: #1877f2;
font-weight: 600;
display: flex;
align-items: center;
gap: 4px;
}
.wiki-read-more::after {
content: '→';
transition: transform 0.2s ease;
}
.wiki-card-new:hover .wiki-read-more::after {
transform: translateX(4px);
}
.no-results { padding: 20px; text-align: center; color: #65676b; }
.loading-text { padding: 20px; text-align: center; color: #65676b; font-style: italic; }
@@ -952,7 +1037,58 @@ body[data-lang="en"] .hide-de { display: none !important; }
.user-detail-company { color: #65676b; text-align: center; }
/* ========================================
TELEGRAM BANNER
/* ========================================
WIKI MODAL ENHANCED
======================================== */
.wiki-modal-topic {
display: inline-block;
padding: 4px 10px;
background: #e7f3ff;
color: #1877f2;
font-size: 12px;
font-weight: 600;
border-radius: 6px;
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.wiki-modal-date {
font-size: 13px;
color: #999;
font-weight: 500;
margin-bottom: 16px;
}
.wiki-modal-subtitle {
font-size: 16px;
color: #1877f2;
margin: 16px 0 8px;
border-bottom: 1px solid #f0f2f5;
padding-bottom: 4px;
}
.wiki-modal-text {
font-size: 14px;
line-height: 1.6;
color: #333;
margin-bottom: 24px;
}
.wiki-modal-close {
background: #f0f2f5;
border: none;
padding: 8px 20px;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
color: #65676b;
font-size: 14px;
transition: all 0.2s ease;
}
.wiki-modal-close:hover {
background: #e4e6eb;
color: #1c1e21;
}
TELEGRAM BANNER
======================================== */
.telegram-banner {
background: #e7f3ff;