feat: 优化技术栈展示,调整布局和样式以提升可读性

This commit is contained in:
wood911010 committed 2025-10-24 23:41:15 +08:00
1 parent a1bddc9dd8
commit 0fa576631f
1 file changed
+70 -23
+70 -23
View File
@@ -71,26 +71,40 @@ features:
## 技术栈 ## 技术栈
<div class="tech-stack"> <div class="tech-grid">
<div class="tech-category">
**前端** <h3>前端</h3>
- Vue.js 3+ <ul>
- 现代化UI组件 <li>Vue.js 3+</li>
<li>现代化UI组件</li>
**后端** </ul>
- Go 1.23+ </div>
- Gin框架
- GORM <div class="tech-category">
- Viper配置 <h3>后端</h3>
- Logrus日志 <ul>
<li>Go 1.23+</li>
**数据库** <li>Gin框架</li>
- MySQL 8+ <li>GORM</li>
<li>Viper配置</li>
**部署** <li>Logrus日志</li>
- Docker </ul>
- 系统服务 </div>
<div class="tech-category">
<h3>数据库</h3>
<ul>
<li>MySQL 8+</li>
</ul>
</div>
<div class="tech-category">
<h3>部署</h3>
<ul>
<li>Docker</li>
<li>系统服务</li>
</ul>
</div>
</div> </div>
## 开源许可 ## 开源许可
@@ -119,13 +133,46 @@ features:
</div> </div>
<style> <style>
.tech-stack { .tech-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem; gap: 2rem;
margin: 2rem 0; margin: 2rem 0;
} }
.tech-category {
background: var(--vp-c-bg-soft);
border-radius: 8px;
padding: 1.5rem;
border: 1px solid var(--vp-c-divider);
}
.tech-category h3 {
margin: 0 0 1rem 0;
font-size: 1.1rem;
color: var(--vp-c-brand);
border-bottom: 2px solid var(--vp-c-brand);
padding-bottom: 0.5rem;
}
.tech-category ul {
list-style: none;
padding: 0;
margin: 0;
}
.tech-category li {
padding: 0.5rem 0;
color: var(--vp-c-text-2);
}
.tech-category li:before {
content: "▸ ";
color: var(--vp-c-brand);
font-weight: bold;
margin-right: 0.5rem;
}
.community { .community {
display: flex; display: flex;
align-items: center; align-items: center;