This commit is contained in:
2026-03-23 20:32:51 +01:00
parent bf0bf6b185
commit 4bb9d9b123
3 changed files with 295 additions and 73 deletions

View File

@@ -235,14 +235,15 @@ a {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 28px 16px 24px;
align-items: stretch;
text-align: left;
gap: 12px;
min-height: 248px;
padding: 22px 18px 18px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
cursor: pointer;
animation: fadeInUp 0.5s ease both;
}
@@ -253,32 +254,104 @@ a {
background: var(--bg-card-hover);
}
.service-card i {
font-size: 32px;
.service-card-link {
display: flex;
align-items: flex-start;
gap: 14px;
}
.service-card-link i {
font-size: 28px;
color: var(--accent);
margin-bottom: 12px;
flex-shrink: 0;
transition: transform 0.25s ease;
}
.service-card:hover i {
transform: scale(1.1);
.service-card:hover .service-card-link i {
transform: scale(1.08);
}
.card-heading {
display: flex;
flex-direction: column;
min-width: 0;
}
.card-name {
font-size: 14px;
font-size: 15px;
font-weight: 600;
color: var(--text);
line-height: 1.3;
color: var(--text-heading);
line-height: 1.35;
}
.card-sub {
font-size: 11px;
color: var(--text-muted);
margin-top: 6px;
margin-top: 4px;
font-family: 'Inter', monospace;
opacity: 0.7;
}
.card-description {
font-size: 13px;
color: var(--text-muted);
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.card-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.card-tag {
display: inline-flex;
align-items: center;
padding: 4px 8px;
border: 1px solid rgba(255, 196, 81, 0.16);
border-radius: 999px;
background: rgba(255, 196, 81, 0.08);
font-size: 10px;
font-weight: 600;
line-height: 1;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--accent);
}
.card-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: auto;
padding-top: 8px;
}
.service-action {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 30px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 999px;
background: rgba(255, 255, 255, 0.03);
color: var(--text);
font-size: 12px;
font-weight: 600;
transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.service-action:hover {
border-color: var(--border-hover);
background: rgba(255, 196, 81, 0.1);
color: var(--text-heading);
}
/* Staggered animation */
.service-card:nth-child(1) { animation-delay: 0.02s; }
.service-card:nth-child(2) { animation-delay: 0.04s; }
@@ -522,7 +595,7 @@ a {
.search-result-item {
display: flex;
align-items: center;
align-items: flex-start;
gap: 12px;
padding: 12px 20px;
cursor: pointer;
@@ -538,14 +611,31 @@ a {
font-size: 18px;
color: var(--accent);
flex-shrink: 0;
margin-top: 2px;
}
.search-result-item span {
.search-result-body {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
}
.search-result-title {
font-size: 14px;
font-weight: 500;
font-weight: 600;
color: var(--text);
}
.search-result-desc,
.search-result-meta {
font-size: 12px;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result-empty {
padding: 24px 20px;
text-align: center;
@@ -634,6 +724,14 @@ a {
/* ── Mobile Adjustments ── */
@media (max-width: 768px) {
.card-grid {
grid-template-columns: 1fr;
}
.service-card {
min-height: 0;
}
.search-overlay {
padding: 8vh 16px 0;
}