diff --git a/index.html b/index.html index c2bd3e2..dfa99c2 100644 --- a/index.html +++ b/index.html @@ -130,6 +130,8 @@ padding: 20px; border-radius: 16px; display: flex; align-items: flex-start; transition: transform 0.3s ease; + cursor: pointer; + color: inherit; } .repo-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.5); } @@ -215,7 +217,7 @@
${lang} Repositories
${data[lang].map(repo => ` -
+
${repo.name}
@@ -225,7 +227,7 @@ ${repo.watchers_count}
-
+ `).join('')} @@ -246,13 +248,13 @@ } if(!query) return renderContent(allData); categoriesContainer.innerHTML = `
搜索结果
${matched.map(r => ` -
+
${r.name}
${r.description || ''}
-
`).join('')}
`; + `).join('')}`; }); function toggleSidebar() { document.getElementById('sidebar').classList.toggle('active'); }