修复首页热门文档标题内联style导致的构建报错

This commit is contained in:
ZxR 2026-05-12 20:30:58 +08:00
parent 8c16eb609a
commit 9f8e40f8f5
2 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,7 @@ GitLink确实开源是CCF官方指定的开源创新服务平台旨在
</div>
<div class="home-popular">
<h2 style="font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem;">热门文档</h2>
<h2 class="home-popular-title">热门文档</h2>
<div class="home-popular-grid">
<a class="home-popular-card" href="/快速开始/注册GitLink账号">
<span class="home-popular-icon">📝</span>

View File

@ -188,6 +188,12 @@ html[data-theme='dark'] .home-hero-text kbd {
margin: 1.5rem 0 1rem;
}
.home-popular-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.home-popular-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);