11<template >
2- <div >
2+ <div class =" skills" >
3+ <h2 class =" title" >技能</h2 >
34 <!-- 技术栈 -->
4- <h2 >🫡使用的技术栈</h2 >
5+ <h3 >🫡使用的技术栈</h3 >
56 <div class =" itemGrid" >
67 <div
78 v-for =" (item, index) in techStackData.techStack"
2122 </div >
2223
2324 <!-- 开发工具 -->
24- <h2 >🛠️使用的编程工具</h2 >
25+ <h3 >🛠️使用的编程工具</h3 >
2526 <div class =" itemGrid" >
2627 <div
2728 v-for =" (item, index) in devToolsData.devTools"
4142 </div >
4243
4344 <!-- 云服务平台 -->
44- <h2 >☁️使用的云服务平台</h2 >
45+ <h3 >☁️使用的云服务平台</h3 >
4546 <div class =" itemGrid" >
4647 <div
4748 v-for =" (item, index) in cloudPlatformsData.cloudPlatforms"
6162 </div >
6263 <div class =" project" >
6364 <div class =" project-header" >
64- <Icon name="octicon:repo-16 " size="1em" />
65- <h2 >开源项目</h2 >
65+ <Icon name="octicon:repo-16 " size="20px" />
66+ <h3 >开源项目</h3 >
67+ </div >
68+ <div class =" github-cards-grid" >
69+ <GitHubCard owner="Jursin" repo="Awesome-Class-Softwares" />
70+ <GitHubCard owner="Jursin" repo="Awesome-Class-Softwares-Web" />
71+ <GitHubCard owner="Jursin" repo="MC-Guide" />
6672 </div >
67- <GitHubCard owner="Jursin" repo="Awesome-Class-Softwares" /><br />
68- <GitHubCard owner="Jursin" repo="Awesome-Class-Softwares-Web" /><br />
69- <GitHubCard owner="Jursin" repo="MC-Guide" /><br />
7073 </div >
7174 </div >
7275</template >
@@ -78,7 +81,25 @@ import cloudPlatformsData from "../data/cloudPlatforms.json";
7881 </script >
7982
8083<style scoped>
81- h2 {
84+ .skills {
85+ max-width : 1400px ;
86+ margin : 20px auto ;
87+ padding : 20px ;
88+ }
89+
90+ .title {
91+ padding : 40px 0 0 0 ;
92+ margin : 0 0 16px 0 !important ;
93+ padding : 0 !important ;
94+ font-size : 28px ;
95+ font-weight : 700 ;
96+ color : var (--vp-c-brand-1 );
97+ text-align : center ;
98+ outline : none ;
99+ transition : color var (--vp-t-color );
100+ }
101+
102+ h3 {
82103 margin-top : 2rem ;
83104 margin-bottom : 1rem ;
84105}
@@ -125,13 +146,24 @@ h2 {
125146
126147.project-header {
127148 display : flex ;
128- align-items : baseline ;
129- gap : 0.5rem ;
149+ align-items : center ;
130150 margin-top : 2rem ;
131151 margin-bottom : 1rem ;
132152}
133153
134- .project-header h2 {
154+ .project-header h3 {
135155 margin : 0 ;
136156}
157+
158+ .github-cards-grid {
159+ display : grid ;
160+ grid-template-columns : repeat (2 , 1fr );
161+ gap : 1rem ;
162+ }
163+
164+ @media (max-width : 768px ) {
165+ .github-cards-grid {
166+ grid-template-columns : 1fr ;
167+ }
168+ }
137169 </style >
0 commit comments