Busca por nome com destaque e navegação para página

This commit is contained in:
Frederico Castro
2025-12-10 16:20:37 -03:00
parent 90552fe607
commit 01aace497b
7 changed files with 135 additions and 3 deletions

View File

@@ -77,6 +77,45 @@
border-color: var(--accent-2);
}
.search-box {
display: flex;
gap: 0.5rem;
align-items: center;
}
.search-box input {
padding: 0.55rem 0.8rem;
background: rgba(255,255,255,0.06);
border: 1px solid var(--stroke);
border-radius: 8px;
color: var(--text);
min-width: 240px;
}
.search-box input:focus {
outline: 1px solid var(--accent-2);
}
.search-box button {
padding: 0.55rem 1rem;
background: var(--accent);
border: 1px solid var(--accent);
color: white;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: background 150ms ease;
}
.search-box button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.search-box button:hover:not(:disabled) {
background: var(--accent-2);
}
.pagination {
display: flex;
align-items: center;
@@ -113,6 +152,10 @@
flex-direction: column;
}
.ranking-card.highlight {
box-shadow: 0 0 0 2px var(--accent-2);
}
footer {
text-align: center;
margin-top: 2.4rem;