浏览代码

Patch add git mirror station (#3)

Mortimer 1 年之前
父节点
当前提交
8f2f9072f1
共有 2 个文件被更改,包括 26 次插入11 次删除
  1. 4 3
      src/assets/css/main.css
  2. 22 8
      src/index.html

+ 4 - 3
src/assets/css/main.css

@@ -2808,6 +2808,7 @@ input, select, textarea {
 		display: -webkit-flex;
 		display: -ms-flex;
 		display: flex;
+		align-items: flex-start;
 		-moz-flex-wrap: wrap;
 		-webkit-flex-wrap: wrap;
 		-ms-flex-wrap: wrap;
@@ -2823,13 +2824,13 @@ input, select, textarea {
 	}
 
 		.features li {
-			width: calc(33.33333% - 2em);
+			width: calc(25% - 2em);
 			margin-left: 2em;
 			margin-top: 3em;
 			padding: 0;
 		}
 
-			.features li:nth-child(1), .features li:nth-child(2), .features li:nth-child(3) {
+			.features li:nth-child(1), .features li:nth-child(2), .features li:nth-child(3), .features li:nth-child(4) {
 				margin-top: 0;
 			}
 
@@ -2862,7 +2863,7 @@ input, select, textarea {
 					margin-top: 2em;
 				}
 
-					.features li:nth-child(2), .features li:nth-child(3) {
+					.features li:nth-child(2), .features li:nth-child(3),.features li:nth-child(4) {
 						margin-top: 2em;
 					}
 

+ 22 - 8
src/index.html

@@ -72,19 +72,33 @@
 									<h2>了解更多</h2>
 								</header>
 								<ul class="features">
+
 									<li>
-										<a style="border-bottom: none" href="https://github.com/fslongjin/DragonOS" ><span class="icon solid style3">
-											<svg t="1690797645233" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4051" width="200" height="200"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9 23.5 23.2 38.1 55.4 38.1 91v112.5c0.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z" p-id="4052" fill="#a89cc8"></path></svg>
-										</span></a>
+										<a style="border-bottom: none" href="https://github.com/fslongjin/DragonOS" >
+											<span class="icon style3">
+												<svg t="1690797645233" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4051" width="200" height="200"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9 23.5 23.2 38.1 55.4 38.1 91v112.5c0.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z" p-id="4052" fill="#a89cc8"></path></svg>
+											</span>
+										</a>
 										<h3>GitHub仓库</h3>
-										<a href="https://github.com/DragonOS-Community/DragonOS">https://github.com/DragonOS-Community/DragonOS</a>
+										<a href="https://github.com/DragonOS-Community/DragonOS">github.com/DragonOS-Community/DragonOS</a>
 									</li>
 									<li>
-										<a style="border-bottom: none" href="https://bbs.dragonos.org"><span class="icon style5">
-											<svg t="1690857946956" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2339" width="170" height="170" style="margin: 15px 0"><path d="M1024 512a512 512 0 1 1-1024 0 512 512 0 0 1 1024 0z m-342.613333-256H299.52l42.666667 86.613333h258.56l-301.226667 320 42.666667 104.96h382.293333l-42.666667-86.186666H422.826667l301.226666-320-42.666666-104.96z" p-id="2340" fill="#8cc9f0"></path></svg>
-										</span></a>
+										<a style="border-bottom: none" href="https://git.mirrors.dragonos.org" >
+											<span class="icon style2">
+												<svg t="1691372442425" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2279" width="170" height="200"><path d="M512 0C229.23264 0 0 229.23264 0 512c0 282.76736 229.23264 512 512 512 51.623253 0 101.451093-7.673173 148.43904-21.886293 127.91808-38.68672 234.666667-126.07488 298.707627-240.59904 25.78432-46.107307 44.632747-96.610987 55.166293-150.09792 0.054613-0.273067 0.12288-0.53248 0.177493-0.805547C1020.7232 578.70336 1024 545.737387 1024 512 1024 229.23264 794.76736 0 512 0zM823.958187 542.180693l-281.750187 281.750187c-16.329387 16.308907-42.769067 16.308907-59.06432 0L215.69536 556.516693l-12.192427-12.192427-3.46112-3.46112c-16.308907-16.308907-16.308907-42.728107 0-59.057493l132.87424-132.860587 0.34816-0.34816 54.12864-54.114987 49.493333 49.493333c-3.80928 7.92576-5.9392 16.820907-5.9392 26.200747 0 26.48064 16.91648 48.96768 40.523093 57.316693l0 169.04192c-23.606613 8.349013-40.523093 30.856533-40.523093 57.316693 0 33.573547 27.211093 60.78464 60.78464 60.78464s60.78464-27.211093 60.78464-60.78464c0-26.48064-16.923307-48.96768-40.523093-57.316693L511.993173 427.47904c2.02752-0.709973 4.007253-1.51552 5.9392-2.450773l81.025707 81.025707c-3.80928 7.92576-5.9392 16.820907-5.9392 26.200747 0 33.573547 27.211093 60.78464 60.78464 60.78464 33.573547 0 60.78464-27.211093 60.78464-60.78464 0-33.573547-27.211093-60.78464-60.78464-60.78464-9.37984 0-18.254507 2.1504-26.200747 5.9392L546.583893 396.383573c3.80928-7.92576 5.9392-16.820907 5.9392-26.200747 0-33.573547-27.211093-60.78464-60.78464-60.78464-9.37984 0-18.254507 2.1504-26.200747 5.9392l-49.493333-49.493333 27.613867-27.613867 0.211627-0.211627 10.67008-10.67008 27.27936-27.27936c16.329387-16.308907 42.769067-16.308907 59.057493 0l76.32896 76.322133 19.203413 19.196587 187.55584 187.542187 0-0.02048C840.267093 499.411627 840.267093 525.871787 823.958187 542.180693z" p-id="2280" fill="#c79cc8"></path></svg>
+											</span>
+										</a>
+										<h3>Git镜像站</h3>
+										<a href="https://git.mirrors.dragonos.org">git.mirrors.dragonos.org</a>
+									</li>
+									<li>
+										<a style="border-bottom: none" href="https://bbs.dragonos.org">
+											<span class="icon style5">
+												<svg t="1690857946956" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2339" width="170" height="200"><path d="M1024 512a512 512 0 1 1-1024 0 512 512 0 0 1 1024 0z m-342.613333-256H299.52l42.666667 86.613333h258.56l-301.226667 320 42.666667 104.96h382.293333l-42.666667-86.186666H422.826667l301.226666-320-42.666666-104.96z" p-id="2340" fill="#8cc9f0"></path></svg>
+											</span>
+										</a>
 										<h3>Zulip开源社区</h3>
-										<a href="https://dragonos.zulipchat.com/">https://dragonos.zulipchat.com/</a>
+										<a href="https://dragonos.zulipchat.com/">dragonos.zulipchat.com</a>
 									</li>
 									<li>
 										<a style="border-bottom: none" href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=5KfmkHtFRxR0Cs0UY2Nuq-C2KBJHUR1k&authKey=b%2BXKM94Z%2FIKrZScWaLQOIlvi4wXtGjrVBRhCamN8%2FWY8Rt9WVt2%2FkQvyWHOP9fL7&noverify=0&group_code=115763565">