Skip to content

Commit e81a8fd

Browse files
committed
更新文档
1 parent cae539f commit e81a8fd

File tree

7 files changed

+139
-118
lines changed

7 files changed

+139
-118
lines changed

docs/assets/js/common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const ComponentSystem = {
5858
try {
5959
component.app.unmount()
6060
} catch (err) {
61-
console.error('ComponentSystem: unmount previous app error', err)
61+
console.error('组件卸载失败', err)
6262
}
6363
component.app = null
6464
}
@@ -126,7 +126,7 @@ const ComponentSystem = {
126126
try {
127127
component.app.unmount()
128128
} catch (err) {
129-
console.error('ComponentSystem: unmount on reinitialize error', err)
129+
console.error('组件初始化失败', err)
130130
}
131131
component.app = null
132132
}

docs/assets/js/components/mirrors-table/index.js

Lines changed: 116 additions & 100 deletions
Large diffs are not rendered by default.

docs/mirrors/index.en.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ search:
1010

1111
## Chinese Mainland :flag-CN:
1212

13-
> All mirror sites in the list below synchronize the `Debian`, `Ubuntu`, `CentOS`, `openEuler` software repositories. The list is sorted by institution type, geographic location, and name length, and is not related to actual download speed.
14-
1513
<div id="mirrors-table"><p>Loading table <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" style="vertical-align: -0.15rem"><g stroke="var(--md-default-fg-color--light)"><circle cx="12" cy="12" r="9.5" fill="none" stroke-linecap="round" stroke-width="3"><animate attributeName="stroke-dasharray" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0 150;42 150;42 150;42 150"/><animate attributeName="stroke-dashoffset" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0;-16;-59;-59"/></circle><animateTransform attributeName="transform" dur="2s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></g></svg></p></div>
1614

1715
???+ question "Usage Help"

docs/mirrors/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ search:
1010

1111
## 中国大陆 :flag-CN:
1212

13-
> 下方列表中的镜像站均同步了 `Debian` `Ubuntu` `CentOS` `openEuler` 软件仓库,列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关
14-
1513
<div id="mirrors-table"><p>正在加载表格 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" style="vertical-align: -0.15rem"><g stroke="var(--md-default-fg-color--light)"><circle cx="12" cy="12" r="9.5" fill="none" stroke-linecap="round" stroke-width="3"><animate attributeName="stroke-dasharray" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0 150;42 150;42 150;42 150"/><animate attributeName="stroke-dashoffset" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0;-16;-59;-59"/></circle><animateTransform attributeName="transform" dur="2s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></g></svg></p></div>
1614

1715
???+ question "使用帮助"

docs/mirrors/index.zh-Hant.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ search:
1010

1111
## 中國大陸 :flag-CN:
1212

13-
> 下方列表中的鏡像站均同步了 `Debian``Ubuntu``CentOS``openEuler` 軟體倉庫,列表根據單位性質、地理位置、名稱長度排序,與實際下載速度無關。
14-
1513
<div id="mirrors-table"><p>正在載入表格 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" style="vertical-align: -0.15rem"><g stroke="var(--md-default-fg-color--light)"><circle cx="12" cy="12" r="9.5" fill="none" stroke-linecap="round" stroke-width="3"><animate attributeName="stroke-dasharray" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0 150;42 150;42 150;42 150"/><animate attributeName="stroke-dashoffset" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0;-16;-59;-59"/></circle><animateTransform attributeName="transform" dur="2s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></g></svg></p></div>
1614

1715
???+ question "使用幫助"

docs/other/index.zh-Hant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ hide:
209209

210210
<!-- termynal -->
211211
```
212-
$ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
212+
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --help
213213
214214
命令選項(名稱/含義/值):
215215

docs/stylesheets/extra.css

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -711,24 +711,23 @@
711711
color: var(--md-default-fg-color);
712712
}
713713

714-
[theme-mode="dark"] .t-table {
715-
--td-component-border: hsla(225deg, 15%, 95%, 0.12) !important;
714+
.t-tag.t-size-l {
715+
height: var(--td-comp-size-xs);
716+
padding: 0 var(--td-comp-paddingLR-s);
716717
}
717718

718-
[theme-mode="dark"] .t-tag {
719-
--td-warning-color-light: #cf6e2d48 !important;
719+
.t-tag-input .t-input.t-size-l {
720+
min-height: var(--td-comp-size-m);
721+
padding: 0 var(--td-comp-paddingLR-s) 0 var(--td-comp-margin-xs);
720722
}
721723

722724
.t-table--hoverable tbody tr:hover {
723725
background-color: rgba(0, 0, 0, 0.016) !important;
724726
}
725727

726-
[theme-mode="dark"] .t-table--hoverable tbody tr:hover {
727-
background-color: rgba(240, 241, 244, 0.016) !important;
728-
}
729-
730728
.t-table--column-fixed .t-table__cell--fixed-left {
731-
z-index: 4;
729+
z-index: 3;
730+
background-color: var(--md-default-bg-color);
732731
}
733732

734733
.t-table__filter-icon-wrap {
@@ -739,6 +738,18 @@
739738
padding: 6px var(--td-comp-paddingLR-l);
740739
}
741740

741+
[theme-mode="dark"] .t-table {
742+
--td-component-border: hsla(225deg, 15%, 95%, 0.12) !important;
743+
}
744+
745+
[theme-mode="dark"] .t-tag {
746+
--td-warning-color-light: #cf6e2d48 !important;
747+
}
748+
749+
[theme-mode="dark"] .t-table--hoverable tbody tr:hover {
750+
background-color: rgba(240, 241, 244, 0.016) !important;
751+
}
752+
742753
/* termynal 插件 */
743754
.termy {
744755
padding: 65px 25px 35px !important;

0 commit comments

Comments
 (0)