2022-10-16 01:21:33 +08:00
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
2022-09-26 09:52:59 +08:00
|
|
|
body {
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
tab-size: 4;
|
|
|
|
margin: 0;
|
|
|
|
line-height: inherit;
|
2022-10-29 00:24:39 +08:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
|
|
'Segoe UI Emoji';
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-10-01 02:29:00 +08:00
|
|
|
[data-color-mode*='dark'] body .dark {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
[data-color-mode*='dark'] body .light {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
[data-color-mode*='light'] body .dark {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
[data-color-mode*='light'] body .light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
[data-color-mode*='light'],
|
|
|
|
[data-color-mode*='light'] body {
|
2022-10-01 02:29:00 +08:00
|
|
|
--color-prettylights-syntax-comment: #b1bac3;
|
|
|
|
--color-prettylights-syntax-constant: #0550ae;
|
|
|
|
--color-prettylights-syntax-entity: #8250df;
|
|
|
|
--color-prettylights-syntax-storage-modifier-import: #24292f;
|
|
|
|
--color-prettylights-syntax-entity-tag: #116329;
|
|
|
|
--color-prettylights-syntax-keyword: #cf222e;
|
|
|
|
--color-prettylights-syntax-string: #0a3069;
|
2022-10-02 03:23:32 +08:00
|
|
|
--color-prettylights-syntax-variable: #d15104;
|
2022-10-01 02:29:00 +08:00
|
|
|
--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
|
|
|
|
--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
|
|
|
|
--color-prettylights-syntax-invalid-illegal-bg: #82071e;
|
|
|
|
--color-prettylights-syntax-carriage-return-text: #f6f8fa;
|
|
|
|
--color-prettylights-syntax-carriage-return-bg: #cf222e;
|
|
|
|
--color-prettylights-syntax-string-regexp: #116329;
|
|
|
|
--color-prettylights-syntax-markup-list: #3b2300;
|
|
|
|
--color-prettylights-syntax-markup-heading: #0550ae;
|
|
|
|
--color-prettylights-syntax-markup-italic: #24292f;
|
|
|
|
--color-prettylights-syntax-markup-bold: #24292f;
|
|
|
|
--color-prettylights-syntax-markup-deleted-text: #82071e;
|
2022-10-29 00:24:39 +08:00
|
|
|
--color-prettylights-syntax-markup-deleted-bg: #ffebe9;
|
2022-10-01 02:29:00 +08:00
|
|
|
--color-prettylights-syntax-markup-inserted-text: #116329;
|
|
|
|
--color-prettylights-syntax-markup-inserted-bg: #dafbe1;
|
|
|
|
--color-prettylights-syntax-markup-changed-text: #953800;
|
|
|
|
--color-prettylights-syntax-markup-changed-bg: #ffd8b5;
|
|
|
|
--color-prettylights-syntax-markup-ignored-text: #eaeef2;
|
|
|
|
--color-prettylights-syntax-markup-ignored-bg: #0550ae;
|
|
|
|
--color-prettylights-syntax-meta-diff-range: #8250df;
|
|
|
|
--color-prettylights-syntax-brackethighlighter-angle: #57606a;
|
|
|
|
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
|
|
|
--color-prettylights-syntax-constant-other-reference-link: #0a3069;
|
|
|
|
--color-fg-default: #24292f;
|
|
|
|
--color-fg-muted: #57606a;
|
|
|
|
--color-fg-subtle: #6e7781;
|
|
|
|
--color-canvas-default: #f1f5f9;
|
|
|
|
--color-canvas-subtle: #fff;
|
|
|
|
--color-bg-subtle: #f8f9fa;
|
|
|
|
--color-border-default: #d0d7de;
|
|
|
|
--color-border-muted: #ececec94;
|
2022-10-29 00:24:39 +08:00
|
|
|
--color-neutral-muted: rgba(175, 184, 193, 0.2);
|
2022-10-01 02:29:00 +08:00
|
|
|
--color-accent-fg: #0969da;
|
|
|
|
--color-accent-emphasis: #0969da;
|
|
|
|
--color-attention-subtle: #fff8c5;
|
|
|
|
--color-danger-fg: #cf222e;
|
2022-10-28 22:07:12 +08:00
|
|
|
--box-shadow: 109 109 109;
|
2022-10-01 02:29:00 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
[data-color-mode*='dark'],
|
|
|
|
[data-color-mode*='dark'] body {
|
2022-10-01 02:29:00 +08:00
|
|
|
--color-prettylights-syntax-comment: #8b949e;
|
|
|
|
--color-prettylights-syntax-constant: #79c0ff;
|
|
|
|
--color-prettylights-syntax-entity: #d2a8ff;
|
|
|
|
--color-prettylights-syntax-storage-modifier-import: #c9d1d9;
|
|
|
|
--color-prettylights-syntax-entity-tag: #7ee787;
|
|
|
|
--color-prettylights-syntax-keyword: #ff7b72;
|
|
|
|
--color-prettylights-syntax-string: #a5d6ff;
|
|
|
|
--color-prettylights-syntax-variable: #ffa657;
|
|
|
|
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
|
|
|
|
--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
|
|
|
|
--color-prettylights-syntax-invalid-illegal-bg: #8e1519;
|
|
|
|
--color-prettylights-syntax-carriage-return-text: #f0f6fc;
|
|
|
|
--color-prettylights-syntax-carriage-return-bg: #b62324;
|
|
|
|
--color-prettylights-syntax-string-regexp: #7ee787;
|
|
|
|
--color-prettylights-syntax-markup-list: #f2cc60;
|
|
|
|
--color-prettylights-syntax-markup-heading: #1f6feb;
|
|
|
|
--color-prettylights-syntax-markup-italic: #c9d1d9;
|
|
|
|
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
|
|
|
--color-prettylights-syntax-markup-deleted-text: #ffdcd7;
|
|
|
|
--color-prettylights-syntax-markup-deleted-bg: #67060c;
|
|
|
|
--color-prettylights-syntax-markup-inserted-text: #aff5b4;
|
|
|
|
--color-prettylights-syntax-markup-inserted-bg: #033a16;
|
|
|
|
--color-prettylights-syntax-markup-changed-text: #ffdfb6;
|
|
|
|
--color-prettylights-syntax-markup-changed-bg: #5a1e02;
|
|
|
|
--color-prettylights-syntax-markup-ignored-text: #c9d1d9;
|
|
|
|
--color-prettylights-syntax-markup-ignored-bg: #1158c7;
|
|
|
|
--color-prettylights-syntax-meta-diff-range: #d2a8ff;
|
|
|
|
--color-prettylights-syntax-brackethighlighter-angle: #8b949e;
|
|
|
|
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
|
|
|
--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
|
|
|
|
--color-fg-default: #c9d1d9;
|
|
|
|
--color-fg-muted: #8b949e;
|
|
|
|
--color-fg-subtle: #94a3b8;
|
|
|
|
--color-canvas-default: #0f172a;
|
|
|
|
--color-canvas-subtle: #1e293b;
|
|
|
|
--color-bg-subtle: rgb(15 23 42/0.3);
|
|
|
|
--color-border-default: #404f5f;
|
|
|
|
--color-border-muted: rgb(51 65 85/0.5);
|
|
|
|
--color-neutral-muted: rgb(51 65 85/0.3);
|
|
|
|
--color-accent-fg: #58a6ff;
|
|
|
|
--color-accent-emphasis: #1f6feb;
|
2022-10-29 00:24:39 +08:00
|
|
|
--color-attention-subtle: rgba(187, 128, 9, 0.15);
|
2022-10-01 02:29:00 +08:00
|
|
|
--color-danger-fg: #f85149;
|
2022-10-28 22:07:12 +08:00
|
|
|
--box-shadow: 0 0 0;
|
2022-10-01 02:29:00 +08:00
|
|
|
}
|
|
|
|
|
2022-09-26 09:52:59 +08:00
|
|
|
body {
|
2022-10-01 02:29:00 +08:00
|
|
|
color: var(--color-fg-default);
|
|
|
|
background-color: var(--color-canvas-default);
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
*,
|
|
|
|
::before,
|
|
|
|
::after {
|
2022-10-12 14:56:55 +08:00
|
|
|
box-sizing: border-box;
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
blockquote,
|
|
|
|
dl,
|
|
|
|
dd,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
hr,
|
|
|
|
figure,
|
|
|
|
p,
|
|
|
|
pre {
|
2022-09-26 09:52:59 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2022-09-29 02:40:26 +08:00
|
|
|
font-size: inherit;
|
2022-10-29 00:24:39 +08:00
|
|
|
font-weight: inherit;
|
2022-09-29 02:40:26 +08:00
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
ol,
|
|
|
|
ul,
|
|
|
|
menu {
|
2022-09-29 02:40:26 +08:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-12 09:18:22 +08:00
|
|
|
yel,
|
|
|
|
yel code {
|
|
|
|
color: var(--color-prettylights-syntax-variable) !important;
|
2022-10-02 03:23:32 +08:00
|
|
|
}
|
2022-11-12 09:18:22 +08:00
|
|
|
red,
|
|
|
|
red code {
|
|
|
|
color: var(--color-danger-fg) !important;
|
2022-11-09 14:47:22 +08:00
|
|
|
}
|
2022-11-12 09:18:22 +08:00
|
|
|
pur,
|
|
|
|
pur code {
|
|
|
|
color: var(--color-prettylights-syntax-entity) !important;
|
2022-10-02 03:23:32 +08:00
|
|
|
}
|
|
|
|
|
2022-11-01 00:40:00 +08:00
|
|
|
:is(.h3wrap-body, .wrap-body) p > code,
|
|
|
|
:is(.h3wrap-body, .wrap-body) ul li > code,
|
|
|
|
:is(.h3wrap-body, .wrap-body) tbody td code {
|
2022-09-29 02:40:26 +08:00
|
|
|
--text-opacity: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
color: rgb(5 150 105 / var(--text-opacity));
|
2022-09-29 02:40:26 +08:00
|
|
|
}
|
|
|
|
|
2022-11-01 00:40:00 +08:00
|
|
|
:is(.h3wrap-body, .wrap-body) em,
|
|
|
|
:is(.h3wrap-body, .wrap-body) sup,
|
|
|
|
:is(.h3wrap-body, .wrap-body) sub {
|
2022-10-12 17:09:52 +08:00
|
|
|
color: var(--color-fg-subtle);
|
2022-10-02 03:23:32 +08:00
|
|
|
}
|
|
|
|
|
2022-09-29 02:40:26 +08:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
text-indent: 0;
|
|
|
|
border-color: inherit;
|
2022-10-29 00:24:39 +08:00
|
|
|
border-collapse: collapse;
|
2022-09-29 02:40:26 +08:00
|
|
|
}
|
2022-10-02 03:23:32 +08:00
|
|
|
table td:first-child {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-09-29 02:40:26 +08:00
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
table.shortcuts td:not(:last-child) > code,
|
|
|
|
table.shortcuts td:not(:last-child) > del > code,
|
|
|
|
ul.shortcuts li > code,
|
|
|
|
kbd {
|
2022-10-01 02:29:00 +08:00
|
|
|
background-color: var(--color-neutral-muted);
|
|
|
|
color: var(--color-fg-subtle);
|
2022-09-29 02:40:26 +08:00
|
|
|
box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000;
|
|
|
|
letter-spacing: 0.075rem;
|
|
|
|
padding: 0.1em 0.54em;
|
2022-10-01 02:29:00 +08:00
|
|
|
border: 1px solid var(--color-border-muted);
|
|
|
|
border-color: var(--color-border-default);
|
2022-09-29 02:40:26 +08:00
|
|
|
line-height: 1.5;
|
2022-10-29 00:24:39 +08:00
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
2022-09-29 02:40:26 +08:00
|
|
|
font-size: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
table tr + tr {
|
2022-09-29 02:40:26 +08:00
|
|
|
border-top: solid 1px #ececec94;
|
2022-10-01 02:29:00 +08:00
|
|
|
border-color: var(--color-border-muted);
|
2022-09-29 02:40:26 +08:00
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
table td,
|
|
|
|
table th {
|
2022-09-29 02:40:26 +08:00
|
|
|
padding: 9px 14px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
table tr th:last-child,
|
|
|
|
table tr td:last-child {
|
2022-09-29 02:40:26 +08:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
table thead th {
|
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: normal;
|
|
|
|
color: rgb(16 185 129/1);
|
|
|
|
}
|
|
|
|
|
|
|
|
table thead {
|
|
|
|
display: none;
|
2022-10-29 00:24:39 +08:00
|
|
|
border-bottom: solid 1px rgba(85, 102, 119, 0.3);
|
2022-09-29 02:40:26 +08:00
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
table td:first-child > code {
|
2022-09-30 09:43:06 +08:00
|
|
|
--text-opacity: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
color: rgb(5 150 105 / var(--text-opacity));
|
2022-11-06 22:07:24 +08:00
|
|
|
white-space: pre-wrap;
|
2022-09-30 09:43:06 +08:00
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
table td > del,
|
|
|
|
table td:first-child > del > code,
|
2022-11-01 00:40:00 +08:00
|
|
|
.h3wrap-body p > del > code {
|
2022-10-01 02:29:00 +08:00
|
|
|
color: var(--color-danger-fg);
|
2022-09-30 17:33:13 +08:00
|
|
|
}
|
2022-09-29 02:40:26 +08:00
|
|
|
|
|
|
|
table.show-header thead {
|
|
|
|
display: table-header-group;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
table.style-list td + td,
|
|
|
|
table.style-list-arrow td + td {
|
2022-10-09 21:27:49 +08:00
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
2022-10-14 16:30:07 +08:00
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
table.style-list td,
|
|
|
|
table.style-list-arrow td {
|
2022-10-09 21:27:49 +08:00
|
|
|
display: block;
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
table.style-list-arrow td:first-child::before,
|
|
|
|
ul.style-arrow li:before {
|
2022-10-14 16:30:07 +08:00
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
2022-10-14 17:57:54 +08:00
|
|
|
border-right: 6px solid transparent;
|
2022-10-14 16:30:07 +08:00
|
|
|
border-top: 5px solid transparent;
|
2022-10-14 17:57:54 +08:00
|
|
|
border-left: 6px solid #228e6c;
|
2022-10-14 16:30:07 +08:00
|
|
|
border-bottom: 5px solid transparent;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
tt,
|
|
|
|
code {
|
|
|
|
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
2022-09-29 02:40:26 +08:00
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
pre:only-child {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2022-10-29 00:24:39 +08:00
|
|
|
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
2022-09-29 02:40:26 +08:00
|
|
|
word-wrap: normal;
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
2022-09-26 09:52:59 +08:00
|
|
|
|
2022-09-28 16:31:01 +08:00
|
|
|
.max-container a {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: rgb(2 132 199/1);
|
2022-09-28 16:31:01 +08:00
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.max-container a,
|
|
|
|
.max-container a:visited {
|
|
|
|
background-image: linear-gradient(transparent, transparent 6px, #34495e 6px, #34495e);
|
2022-09-26 17:13:24 +08:00
|
|
|
background-position: bottom;
|
|
|
|
background-size: 100% 6px;
|
|
|
|
background-repeat: repeat-x;
|
2022-09-28 17:24:40 +08:00
|
|
|
text-decoration-line: underline;
|
|
|
|
text-decoration-thickness: 2px;
|
|
|
|
text-underline-offset: 4px;
|
|
|
|
text-decoration-color: transparent;
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.max-container a:hover,
|
|
|
|
.max-container a:visited:hover {
|
2022-09-26 17:13:24 +08:00
|
|
|
text-decoration-color: #10b981;
|
|
|
|
}
|
|
|
|
|
2022-09-26 09:52:59 +08:00
|
|
|
.max-container {
|
|
|
|
max-width: 1320px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 0.75rem;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
body.home .h1wrap-body,
|
|
|
|
body.home .h1wrap .wrap-body {
|
2022-09-27 23:09:51 +08:00
|
|
|
max-width: 940px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 0.75rem;
|
|
|
|
}
|
2022-09-28 13:35:52 +08:00
|
|
|
body.home .h2wrap > h2 {
|
2022-09-27 23:09:51 +08:00
|
|
|
display: inline-block;
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
body.home .h2wrap > h2::after {
|
2022-09-27 23:09:51 +08:00
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
height: 3px;
|
|
|
|
width: 110%;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
--bg-opacity: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
background-color: rgb(30 41 59 / var(--bg-opacity));
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
2022-09-28 13:35:52 +08:00
|
|
|
body.home .h1wrap .wrap-body p + p {
|
2022-09-27 23:09:51 +08:00
|
|
|
margin-top: 1.6rem;
|
|
|
|
}
|
2022-09-28 13:35:52 +08:00
|
|
|
body.home .h1wrap .wrap-body p {
|
2022-09-27 23:09:51 +08:00
|
|
|
text-indent: 2rem;
|
|
|
|
}
|
|
|
|
|
2022-10-16 01:21:33 +08:00
|
|
|
body:not(.home) .h2wrap > .wrap-body > ul {
|
|
|
|
list-style: initial;
|
2022-10-16 02:22:53 +08:00
|
|
|
margin-left: 1.2rem;
|
2022-10-16 01:21:33 +08:00
|
|
|
}
|
2022-09-27 23:09:51 +08:00
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
body.home .h1wrap p {
|
2022-09-27 23:09:51 +08:00
|
|
|
text-align: left;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
body.home .max-container a.home-button:hover,
|
|
|
|
body.home .max-container a.home-button:visited:hover {
|
|
|
|
transition: all 0.3s;
|
2022-10-19 23:44:50 +08:00
|
|
|
text-decoration-color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2022-09-27 23:09:51 +08:00
|
|
|
|
|
|
|
.home-card {
|
2022-09-28 16:31:01 +08:00
|
|
|
display: grid;
|
|
|
|
gap: 2rem;
|
2022-10-29 00:24:39 +08:00
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
2022-11-02 01:41:57 +08:00
|
|
|
.home-card :is(a.contributing, a.tag) {
|
2022-11-01 00:20:36 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.home-card a.contributing::after {
|
2022-11-01 00:23:50 +08:00
|
|
|
color: var(--color-fg-muted);
|
2022-11-03 11:49:21 +08:00
|
|
|
content: attr(data-info);
|
2022-11-01 00:20:36 +08:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
font-size: 10px;
|
2022-11-01 00:23:50 +08:00
|
|
|
left: 5px;
|
2022-11-01 00:20:36 +08:00
|
|
|
bottom: -15px;
|
|
|
|
}
|
2022-11-01 00:23:50 +08:00
|
|
|
.home-card a.contributing:hover:after {
|
|
|
|
color: var(--color-fg-muted);
|
2022-11-03 01:20:38 +08:00
|
|
|
animation: contributing-move 0.1s infinite;
|
|
|
|
}
|
|
|
|
@keyframes contributing-move {
|
|
|
|
0% {
|
|
|
|
transform: translate(0px, 0px);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: translate(0px, -3px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate(0px, 0px);
|
|
|
|
}
|
2022-11-01 00:23:50 +08:00
|
|
|
}
|
2022-11-03 01:20:38 +08:00
|
|
|
|
2022-11-02 01:41:57 +08:00
|
|
|
.home-card a.tag::before {
|
|
|
|
content: attr(data-lang);
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
font-size: 10px;
|
|
|
|
right: 6px;
|
|
|
|
top: 6px;
|
|
|
|
background: rgba(255 255 255 / 0.3);
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 1px 3px 2px 3px;
|
|
|
|
transition: all 0.3s;
|
|
|
|
}
|
|
|
|
.home-card a.tag:hover:before {
|
|
|
|
background: rgba(255 255 255 / 0.2);
|
|
|
|
}
|
2022-09-28 15:22:09 +08:00
|
|
|
|
2022-10-09 00:47:39 +08:00
|
|
|
[data-color-mode*='light'] body .home-card a {
|
|
|
|
--text-opacity: 0.75;
|
2022-10-29 00:24:39 +08:00
|
|
|
color: rgb(15 19 24 / var(--text-opacity));
|
2022-10-09 00:47:39 +08:00
|
|
|
}
|
|
|
|
[data-color-mode*='light'] body .home-card a:hover {
|
|
|
|
--text-opacity: 0.85;
|
2022-10-29 00:24:39 +08:00
|
|
|
color: rgb(241 245 249 / var(--text-opacity)) !important;
|
2022-10-09 00:47:39 +08:00
|
|
|
}
|
2022-09-27 23:09:51 +08:00
|
|
|
.home-card a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-09-30 14:15:26 +08:00
|
|
|
gap: 0.5rem;
|
2022-09-27 23:09:51 +08:00
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 0.5rem;
|
2022-10-09 00:47:39 +08:00
|
|
|
padding: 0rem 1rem;
|
|
|
|
height: 4rem;
|
2022-10-29 00:24:39 +08:00
|
|
|
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
2022-10-01 11:59:29 +08:00
|
|
|
color: var(--color-fg-default);
|
2022-10-09 00:47:39 +08:00
|
|
|
--text-opacity: 0.75;
|
2022-10-29 00:24:39 +08:00
|
|
|
color: rgb(241 245 249 / var(--text-opacity));
|
2022-09-27 23:09:51 +08:00
|
|
|
--bg-opacity: 0.5;
|
2022-10-29 00:24:39 +08:00
|
|
|
background-color: rgb(62 69 72 / var(--bg-opacity));
|
|
|
|
transition: all 0.3s;
|
2022-10-09 00:47:39 +08:00
|
|
|
text-decoration: none;
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
|
|
|
.home-card a:hover {
|
|
|
|
--bg-opacity: 1;
|
2022-10-09 00:47:39 +08:00
|
|
|
--text-opacity: 0.75;
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
2022-09-30 14:15:26 +08:00
|
|
|
.home-card a svg {
|
2022-09-30 17:33:13 +08:00
|
|
|
min-width: 1.6rem;
|
2022-09-30 14:15:26 +08:00
|
|
|
height: 1.8rem;
|
|
|
|
}
|
2022-09-27 23:09:51 +08:00
|
|
|
|
2022-09-29 09:43:25 +08:00
|
|
|
.home-title-reset {
|
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
|
|
|
.home-title-reset::after {
|
|
|
|
width: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.home-button {
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
padding-right: 1.5rem;
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
border-radius: 9999px;
|
|
|
|
line-height: 1.75rem;
|
|
|
|
margin-left: 1rem;
|
|
|
|
margin-right: 1rem;
|
|
|
|
--bg-opacity: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
background-color: rgb(10 147 102 / var(--bg-opacity));
|
2022-09-29 09:43:25 +08:00
|
|
|
--text-opacity: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
color: rgb(203 213 225 / var(--text-opacity));
|
2022-09-29 09:43:25 +08:00
|
|
|
}
|
|
|
|
a.home-button:hover {
|
|
|
|
--bg-opacity: 0.5;
|
|
|
|
}
|
|
|
|
a.text-grey {
|
|
|
|
--bg-opacity: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
background-color: rgb(56 76 109 / var(--bg-opacity));
|
2022-09-29 09:43:25 +08:00
|
|
|
}
|
|
|
|
|
2022-09-27 23:09:51 +08:00
|
|
|
.header-nav .max-container {
|
2022-10-19 19:34:59 +08:00
|
|
|
padding: 1.8rem 1.8rem 0;
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.header-nav .max-container,
|
|
|
|
.header-nav .logo,
|
|
|
|
.header-nav .menu,
|
|
|
|
.header-nav .menu a {
|
2022-09-27 23:09:51 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-nav .logo {
|
|
|
|
gap: 0.5rem;
|
|
|
|
color: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-nav .title {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
line-height: 2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-nav .logo svg {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.header-nav .menu a:hover,
|
|
|
|
.header-nav .menu button:hover {
|
2022-10-01 02:29:00 +08:00
|
|
|
background-color: var(--color-neutral-muted);
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.header-nav .menu a,
|
|
|
|
.header-nav .menu button {
|
2022-09-27 23:09:51 +08:00
|
|
|
padding-left: 0.75rem;
|
|
|
|
padding-right: 0.75rem;
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
border-radius: 9999px;
|
2022-10-29 00:24:39 +08:00
|
|
|
transition: all 0.3s;
|
2022-10-12 14:56:55 +08:00
|
|
|
border: 0;
|
2022-09-27 23:09:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-nav .menu {
|
|
|
|
gap: 0.2rem;
|
|
|
|
}
|
|
|
|
.header-nav .menu a > span {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
2022-10-01 02:29:00 +08:00
|
|
|
.header-nav .menu button {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 100%;
|
|
|
|
font-weight: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
color: var(--color-fg-default);
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
2022-09-27 23:09:51 +08:00
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.header-nav a,
|
|
|
|
.header-nav a:visited {
|
2022-10-01 02:29:00 +08:00
|
|
|
color: var(--color-fg-default);
|
2022-09-27 23:09:51 +08:00
|
|
|
line-height: 1.2;
|
|
|
|
gap: 0.3rem;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h1wrap {
|
2022-09-26 09:52:59 +08:00
|
|
|
text-align: center;
|
2022-09-27 23:09:51 +08:00
|
|
|
margin-top: 4.6rem;
|
|
|
|
margin-bottom: 5rem;
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h1wrap .wrap-body {
|
2022-10-01 02:29:00 +08:00
|
|
|
color: var(--color-fg-subtle);
|
2022-10-18 18:21:17 +08:00
|
|
|
max-width: 850px;
|
|
|
|
margin: 0 auto;
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h1wrap > h1 {
|
2022-09-26 09:52:59 +08:00
|
|
|
font-size: 3rem;
|
|
|
|
line-height: 1;
|
2022-09-27 23:09:51 +08:00
|
|
|
margin-bottom: 3rem;
|
2022-10-15 13:32:12 +08:00
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap-header.h1wrap > h1 > svg {
|
|
|
|
margin-right: 1rem;
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.h1wrap-body {
|
2022-09-26 17:13:24 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 3rem;
|
2022-10-28 22:07:12 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.menu-tocs {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 88;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
.menu-tocs:hover > .menu-modal {
|
|
|
|
display: block;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.3rem;
|
|
|
|
max-height: 100vh;
|
|
|
|
overflow: auto;
|
|
|
|
background-color: var(--color-canvas-subtle);
|
2022-10-29 00:24:39 +08:00
|
|
|
box-shadow: 0 8px 24px rgba(var(--box-shadow) / 0.2);
|
2022-10-28 22:07:12 +08:00
|
|
|
}
|
|
|
|
.menu-tocs > .menu-btn {
|
|
|
|
border: 1px solid var(--color-border-default);
|
|
|
|
display: flex;
|
|
|
|
border-radius: 0.3rem;
|
|
|
|
padding: 0.3rem 0.4rem;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
margin-left: -3rem;
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.menu-tocs > .menu-modal {
|
|
|
|
width: 260px;
|
2022-10-29 00:24:39 +08:00
|
|
|
position: absolute;
|
2022-10-28 22:07:12 +08:00
|
|
|
display: none;
|
|
|
|
margin-left: -1rem;
|
|
|
|
}
|
|
|
|
.menu-tocs > .menu-modal a + a {
|
|
|
|
margin-bottom: 0.2rem;
|
|
|
|
}
|
|
|
|
.menu-tocs > .menu-modal a:hover {
|
|
|
|
background-color: var(--color-neutral-muted);
|
|
|
|
}
|
|
|
|
.menu-tocs > .menu-modal a.is-active-link {
|
|
|
|
background-color: var(--color-border-muted);
|
|
|
|
text-decoration-color: #10b981;
|
|
|
|
}
|
|
|
|
.menu-tocs > .menu-modal a {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0.3rem 0.5rem;
|
2022-11-04 21:02:51 +08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2022-10-28 22:07:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-tocs > .menu-modal a.leve2 {
|
|
|
|
font-weight: bold;
|
2022-10-30 21:45:22 +08:00
|
|
|
color: var(--color-fg-default);
|
2022-10-28 22:07:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-tocs > .menu-modal a.leve3 {
|
|
|
|
padding-left: 1.2rem;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.menu-tocs > .menu-modal a.leve4,
|
|
|
|
.menu-tocs > .menu-modal a.leve5,
|
|
|
|
.menu-tocs > .menu-modal a.leve6 {
|
2022-10-28 22:07:12 +08:00
|
|
|
padding-left: 2.1rem;
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
2022-09-26 09:52:59 +08:00
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h2wrap > h2 {
|
2022-09-26 09:52:59 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
position: relative;
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 1.2;
|
|
|
|
font-weight: 200;
|
2022-10-29 00:24:39 +08:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
|
|
|
|
'Droid Sans', 'Helvetica Neue', sans-serif;
|
2022-09-26 09:52:59 +08:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h2wrap > :last-child {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
.wrap-header.h2wrap .wrap-body {
|
|
|
|
color: rgb(148 163 184/1);
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
body:not(.home) .h2wrap > h2 a::after,
|
|
|
|
body:not(.home) .h3wrap > h3 a::after {
|
2022-09-30 23:18:13 +08:00
|
|
|
content: '#';
|
|
|
|
padding-right: 0.5rem;
|
2022-10-01 02:29:00 +08:00
|
|
|
color: rgb(16 185 129/1);
|
2022-09-30 23:18:13 +08:00
|
|
|
}
|
2022-10-13 01:19:47 +08:00
|
|
|
body:not(.home) .h3wrap > h3 a::after {
|
|
|
|
position: absolute;
|
|
|
|
left: -18px;
|
|
|
|
font-size: 1rem;
|
|
|
|
display: none;
|
|
|
|
}
|
2022-10-16 01:21:33 +08:00
|
|
|
body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
|
2022-10-13 01:19:47 +08:00
|
|
|
display: initial;
|
|
|
|
}
|
2022-09-30 23:18:13 +08:00
|
|
|
|
2022-10-31 15:18:50 +08:00
|
|
|
.wrap.h3body-exist .wrap-header.h3wrap {
|
2022-11-07 01:15:13 +08:00
|
|
|
flex: 1;
|
2022-10-31 15:18:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wrap.h3body-exist > .h3wrap-body {
|
|
|
|
flex: 1;
|
2022-10-31 16:38:04 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-10-31 15:18:50 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h3wrap {
|
2022-09-26 09:52:59 +08:00
|
|
|
z-index: 0;
|
|
|
|
width: 100%;
|
2022-10-16 01:21:33 +08:00
|
|
|
flex: 1;
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h3wrap > h3 {
|
2022-10-16 01:21:33 +08:00
|
|
|
position: sticky;
|
|
|
|
float: right;
|
|
|
|
margin-top: -24px;
|
2022-09-26 09:52:59 +08:00
|
|
|
color: rgb(226 232 240/1);
|
|
|
|
top: 0px;
|
|
|
|
z-index: 10;
|
2022-09-29 22:46:01 +08:00
|
|
|
border-top-right-radius: 0.5rem;
|
2022-09-26 09:52:59 +08:00
|
|
|
border-bottom-left-radius: 0.5rem;
|
2022-09-26 17:13:24 +08:00
|
|
|
background-color: #228e6c;
|
2022-09-26 09:52:59 +08:00
|
|
|
padding-left: 0.75rem;
|
|
|
|
padding-right: 0.75rem;
|
|
|
|
padding-top: 0.25rem;
|
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
line-height: 1rem;
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
}
|
|
|
|
|
2022-11-09 16:24:59 +08:00
|
|
|
.wrap-header.h3wrap > .wrap-body > p,
|
2022-10-31 16:38:04 +08:00
|
|
|
.h3wrap-body p {
|
2022-09-26 17:13:24 +08:00
|
|
|
margin: 0px;
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
padding-top: 0.75rem;
|
|
|
|
padding-bottom: 0.75rem;
|
2022-10-01 02:29:00 +08:00
|
|
|
color: var(--color-fg-subtle);
|
|
|
|
background-color: var(--color-bg-subtle);
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-11-09 16:24:59 +08:00
|
|
|
.wrap-header.h3wrap > .wrap-body > p:first-child:before {
|
2022-10-01 02:29:00 +08:00
|
|
|
background-color: var(--color-bg-subtle);
|
2022-09-26 17:13:24 +08:00
|
|
|
color: rgb(30 41 59/0);
|
|
|
|
content: '-';
|
2022-10-29 00:24:39 +08:00
|
|
|
line-height: 1.5rem;
|
2022-10-01 02:29:00 +08:00
|
|
|
top: 0;
|
2022-09-26 17:13:24 +08:00
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
2022-10-01 02:29:00 +08:00
|
|
|
border-radius: 0.5rem 0.5rem 0 0;
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-11-09 16:24:59 +08:00
|
|
|
.wrap-header.h3wrap > .wrap-body > p:not(:first-child):last-child,
|
2022-10-31 16:38:04 +08:00
|
|
|
.h3wrap-body p:not(:first-child):last-child {
|
2022-09-26 17:13:24 +08:00
|
|
|
margin-top: auto;
|
2022-10-01 02:29:00 +08:00
|
|
|
border-radius: 0 0 0.5rem 0.5rem;
|
2022-11-07 11:40:32 +08:00
|
|
|
}
|
|
|
|
|
2022-11-09 16:24:59 +08:00
|
|
|
.wrap-header.h3wrap > .wrap-body > :not(:first-child):last-child {
|
2022-11-07 11:40:32 +08:00
|
|
|
border-radius: 0 0 0.5rem 0.5rem;
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-header.h3wrap > .wrap-body {
|
2022-09-26 09:52:59 +08:00
|
|
|
z-index: 0;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2022-11-04 21:02:51 +08:00
|
|
|
.wrap-body > h4,
|
|
|
|
.wrap-body > h5,
|
|
|
|
.wrap-body > h6 {
|
2022-10-01 02:29:00 +08:00
|
|
|
border-color: transparent;
|
|
|
|
background-color: var(--color-neutral-muted);
|
|
|
|
color: var(--color-fg-default);
|
2022-09-26 17:13:24 +08:00
|
|
|
|
|
|
|
margin: 0px;
|
|
|
|
border-top-width: 1px;
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
padding-top: 0.25rem;
|
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2022-10-31 16:38:04 +08:00
|
|
|
.h3wrap .wrap-body > ul,
|
|
|
|
.h3wrap .wrap-body > ol,
|
2022-11-04 21:02:51 +08:00
|
|
|
.h3wrap .wrap-body > dl {
|
2022-09-26 17:13:24 +08:00
|
|
|
margin-top: 0.5rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
display: grid;
|
|
|
|
list-style-position: outside;
|
2022-10-29 00:24:39 +08:00
|
|
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-10-03 00:37:06 +08:00
|
|
|
.h3wrap > .wrap-body ul:not(:last-child),
|
|
|
|
.h3wrap > .wrap-body ol,
|
|
|
|
.h3wrap > .wrap-body dl {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.h2wrap-body ul li,
|
|
|
|
.h2wrap-body ol li,
|
|
|
|
.h2wrap-body dl li {
|
2022-09-26 17:13:24 +08:00
|
|
|
padding: 9px;
|
|
|
|
padding-left: 26px;
|
|
|
|
position: relative;
|
2022-10-01 02:29:00 +08:00
|
|
|
border-bottom: solid 1px var(--color-border-muted);
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.h2wrap-body ul:not(.style-none) > li::before {
|
2022-09-26 17:13:24 +08:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
background: #556677;
|
|
|
|
border-radius: 50%;
|
2022-09-27 23:09:51 +08:00
|
|
|
left: 13px;
|
2022-09-26 17:13:24 +08:00
|
|
|
top: 18px;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.h2wrap-body ul li,
|
|
|
|
.h2wrap-body ol li,
|
|
|
|
.h2wrap-body dl li {
|
2022-09-27 23:09:51 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-10-06 12:10:56 +08:00
|
|
|
.h2wrap-body ul.style-timeline {
|
|
|
|
counter-reset: stepCount;
|
|
|
|
}
|
|
|
|
.h2wrap-body ul.style-timeline li:first-child:before {
|
|
|
|
background-color: #228e6c;
|
|
|
|
color: rgb(226 232 240/1);
|
|
|
|
}
|
|
|
|
.h2wrap-body ul.style-timeline li::before {
|
|
|
|
color: #228e6c;
|
2022-10-18 18:21:17 +08:00
|
|
|
background-color: var(--color-canvas-default);
|
2022-10-06 12:10:56 +08:00
|
|
|
counter-increment: stepCount;
|
|
|
|
content: counter(stepCount);
|
|
|
|
border-radius: initial;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0.875rem;
|
2022-10-29 00:24:39 +08:00
|
|
|
line-height: 1.3rem;
|
2022-10-06 12:10:56 +08:00
|
|
|
border: 2px solid #228e6c;
|
|
|
|
top: -1px;
|
|
|
|
left: -14px;
|
|
|
|
}
|
|
|
|
.h2wrap-body ul.style-timeline li:last-child {
|
2022-10-29 00:24:39 +08:00
|
|
|
border-image: linear-gradient(to bottom, #46c69e96, rgba(0, 0, 0, 0)) 1 100%;
|
2022-10-06 12:10:56 +08:00
|
|
|
}
|
|
|
|
.h2wrap-body ul.style-timeline li {
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-bottom: 25px !important;
|
2022-10-18 17:11:30 +08:00
|
|
|
border-left: 2px solid #46c69e96;
|
2022-10-06 12:10:56 +08:00
|
|
|
margin-left: 30px;
|
2022-10-18 17:11:30 +08:00
|
|
|
border-left-color: #46c69e96;
|
2022-10-06 12:10:56 +08:00
|
|
|
}
|
|
|
|
.h2wrap-body ul.style-timeline li > pre {
|
|
|
|
padding: 0 !important;
|
|
|
|
padding-top: 10px !important;
|
|
|
|
height: initial !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h2wrap-body ul.style-round li::before {
|
|
|
|
border-radius: 9999px;
|
|
|
|
border-width: 2px;
|
|
|
|
height: 0.5rem;
|
|
|
|
width: 0.5rem;
|
|
|
|
border-color: #228e6c;
|
|
|
|
background: transparent;
|
2022-10-14 16:30:07 +08:00
|
|
|
border-style: solid;
|
2022-10-06 12:10:56 +08:00
|
|
|
top: 14px;
|
|
|
|
}
|
|
|
|
|
2022-10-14 18:02:55 +08:00
|
|
|
.h2wrap-body ul.style-arrow li:before {
|
2022-10-14 17:57:54 +08:00
|
|
|
position: absolute;
|
2022-10-14 18:02:55 +08:00
|
|
|
background-color: transparent;
|
|
|
|
border-radius: initial;
|
2022-10-14 18:04:45 +08:00
|
|
|
left: 16px;
|
2022-10-14 17:57:54 +08:00
|
|
|
top: 13px;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-body ul:last-child {
|
2022-09-27 23:09:51 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-body ul:last-child li:last-child {
|
2022-09-27 23:09:51 +08:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.h3wrap hr,
|
|
|
|
.h3wrap-body hr {
|
2022-10-12 14:56:55 +08:00
|
|
|
border-width: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #e5e7eb;
|
2022-10-01 02:29:00 +08:00
|
|
|
border-bottom: 1px solid var(--color-border-default);
|
2022-09-26 20:58:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.h2wrap-body {
|
2022-09-26 09:52:59 +08:00
|
|
|
font-size: 0.925rem;
|
2022-10-29 00:24:39 +08:00
|
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
2022-09-26 09:52:59 +08:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.h2wrap-body > .wrap {
|
2022-10-01 02:29:00 +08:00
|
|
|
background-color: var(--color-canvas-subtle);
|
2022-09-26 09:52:59 +08:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding-top: 1.5rem;
|
2022-09-28 15:22:09 +08:00
|
|
|
margin-bottom: 1rem;
|
2022-10-29 00:24:39 +08:00
|
|
|
box-shadow: 0 0 #0000, 0 0 #0000, 0 6px 8px rgba(102, 119, 136, 0.03), 0 1px 2px rgba(102, 119, 136, 0.3);
|
2022-09-26 09:52:59 +08:00
|
|
|
}
|
|
|
|
|
2022-10-31 16:38:04 +08:00
|
|
|
.h3wrap-body > *:last-child {
|
2022-10-04 00:56:09 +08:00
|
|
|
border-radius: 0 0 0.5rem 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-10-16 02:22:53 +08:00
|
|
|
.h2wrap-body > .wrap.active {
|
|
|
|
box-shadow: 0 0 0 1.6pt #10b981;
|
|
|
|
transition: box-shadow 0.5s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2022-09-26 17:13:24 +08:00
|
|
|
.code-highlight {
|
|
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.cols-1 {
|
|
|
|
grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-2 {
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-3 {
|
|
|
|
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-4 {
|
|
|
|
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-5 {
|
|
|
|
grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-6 {
|
|
|
|
grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-7 {
|
|
|
|
grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-8 {
|
|
|
|
grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.cols-9 {
|
|
|
|
grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
|
|
|
|
}
|
|
|
|
.col-span-2 {
|
|
|
|
grid-column: span 2 / span 2;
|
|
|
|
}
|
|
|
|
.col-span-3 {
|
|
|
|
grid-column: span 3 / span 3;
|
|
|
|
}
|
|
|
|
.col-span-4 {
|
|
|
|
grid-column: span 4 / span 4;
|
|
|
|
}
|
|
|
|
.col-span-5 {
|
|
|
|
grid-column: span 5 / span 5;
|
|
|
|
}
|
|
|
|
.col-span-6 {
|
|
|
|
grid-column: span 6 / span 6;
|
|
|
|
}
|
|
|
|
.col-span-7 {
|
|
|
|
grid-column: span 7 / span 7;
|
|
|
|
}
|
|
|
|
.col-span-8 {
|
|
|
|
grid-column: span 8 / span 8;
|
|
|
|
}
|
|
|
|
.col-span-9 {
|
|
|
|
grid-column: span 9 / span 9;
|
|
|
|
}
|
|
|
|
.col-span-10 {
|
|
|
|
grid-column: span 10 / span 10;
|
|
|
|
}
|
|
|
|
.row-span-2 {
|
|
|
|
grid-row: span 2 / span 2;
|
|
|
|
}
|
|
|
|
.row-span-3 {
|
|
|
|
grid-row: span 3 / span 3;
|
|
|
|
}
|
|
|
|
.row-span-4 {
|
|
|
|
grid-row: span 4 / span 4;
|
|
|
|
}
|
|
|
|
.row-span-5 {
|
|
|
|
grid-row: span 5 / span 5;
|
|
|
|
}
|
|
|
|
.row-span-6 {
|
|
|
|
grid-row: span 6 / span 6;
|
|
|
|
}
|
|
|
|
.row-span-7 {
|
|
|
|
grid-row: span 7 / span 7;
|
|
|
|
}
|
|
|
|
.row-span-8 {
|
|
|
|
grid-row: span 8 / span 8;
|
|
|
|
}
|
|
|
|
.row-span-9 {
|
|
|
|
grid-row: span 9 / span 9;
|
|
|
|
}
|
|
|
|
.row-span-10 {
|
|
|
|
grid-row: span 10 / span 10;
|
|
|
|
}
|
2022-10-18 01:07:41 +08:00
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.wrap-text {
|
2022-09-28 00:52:28 +08:00
|
|
|
white-space: pre-wrap !important;
|
|
|
|
overflow-wrap: break-word !important;
|
2022-09-29 22:46:01 +08:00
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
2022-11-01 01:28:00 +08:00
|
|
|
.left-align,
|
|
|
|
.left-align tr :is(td, th):last-child {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2022-09-29 22:46:01 +08:00
|
|
|
.tooltip {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.tooltip .tooltiptext {
|
|
|
|
display: none;
|
|
|
|
font-style: inherit;
|
|
|
|
position: absolute;
|
|
|
|
background-color: rgb(67 67 67 / 66%);
|
|
|
|
color: #fff;
|
|
|
|
padding: 0.5rem;
|
|
|
|
font-size: 12px;
|
|
|
|
opacity: 0;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
z-index: 1;
|
2022-10-29 00:24:39 +08:00
|
|
|
transition: opacity 0.6s;
|
2022-09-29 22:46:01 +08:00
|
|
|
line-height: 1.5;
|
|
|
|
|
|
|
|
width: 220px;
|
|
|
|
bottom: 125%;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -110px;
|
|
|
|
}
|
|
|
|
.tooltip .tooltiptext::after {
|
2022-10-29 00:24:39 +08:00
|
|
|
content: '';
|
2022-09-29 22:46:01 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -5px;
|
|
|
|
border-width: 5px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: rgb(67 67 67 / 66%) transparent transparent transparent;
|
|
|
|
}
|
|
|
|
.tooltip:hover .tooltiptext {
|
|
|
|
visibility: visible;
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 1;
|
2022-09-28 00:52:28 +08:00
|
|
|
}
|
2022-09-26 22:14:52 +08:00
|
|
|
|
2022-09-26 17:13:24 +08:00
|
|
|
/* 代码高亮 Start */
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: var(--color-prettylights-syntax-comment);
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.namespace {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
.token.tag,
|
|
|
|
.token.selector,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: var(--color-prettylights-syntax-entity-tag);
|
|
|
|
}
|
|
|
|
.token.maybe-class-name {
|
2022-10-04 00:56:09 +08:00
|
|
|
color: var(--color-prettylights-syntax-entity);
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.property-access,
|
|
|
|
.token.operator,
|
|
|
|
.token.boolean,
|
|
|
|
.token.number,
|
|
|
|
.token.selector .token.class,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: var(--color-prettylights-syntax-constant);
|
|
|
|
}
|
|
|
|
.token.deleted {
|
|
|
|
color: var(--color-prettylights-syntax-markup-deleted-text);
|
|
|
|
}
|
|
|
|
.token.property {
|
|
|
|
color: var(--color-prettylights-syntax-constant);
|
|
|
|
}
|
|
|
|
.token.punctuation {
|
2022-10-02 03:23:32 +08:00
|
|
|
color: var(--color-prettylights-syntax-markup-ignored-bg);
|
2022-09-26 17:13:24 +08:00
|
|
|
}
|
|
|
|
.code-line .token.deleted {
|
|
|
|
background-color: var(--color-prettylights-syntax-markup-deleted-bg);
|
|
|
|
}
|
|
|
|
.token.inserted {
|
|
|
|
color: var(--color-prettylights-syntax-markup-inserted-text);
|
|
|
|
}
|
|
|
|
.code-line .token.inserted {
|
|
|
|
background-color: var(--color-prettylights-syntax-markup-inserted-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.variable {
|
|
|
|
color: var(--color-prettylights-syntax-constant);
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: var(--color-prettylights-syntax-string);
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.color,
|
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.function,
|
|
|
|
.token.class-name {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: var(--color-prettylights-syntax-string);
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.rule,
|
|
|
|
.token.regex,
|
|
|
|
.token.important,
|
|
|
|
.token.keyword {
|
2022-09-26 17:13:24 +08:00
|
|
|
color: var(--color-prettylights-syntax-keyword);
|
|
|
|
}
|
2022-10-04 00:56:09 +08:00
|
|
|
.token.module {
|
|
|
|
color: var(--color-prettylights-syntax-variable);
|
|
|
|
}
|
2022-09-26 17:13:24 +08:00
|
|
|
.token.coord {
|
|
|
|
color: var(--color-prettylights-syntax-meta-diff-range);
|
|
|
|
}
|
2022-10-01 12:02:44 +08:00
|
|
|
.token.function {
|
|
|
|
color: var(--color-prettylights-syntax-entity);
|
|
|
|
}
|
2022-09-26 17:13:24 +08:00
|
|
|
.token.number {
|
|
|
|
color: var(--color-accent-emphasis);
|
|
|
|
}
|
|
|
|
.token.string {
|
|
|
|
color: var(--color-prettylights-syntax-string);
|
|
|
|
}
|
|
|
|
.token.boolean {
|
|
|
|
color: var(--color-prettylights-syntax-markup-heading);
|
|
|
|
}
|
|
|
|
.token.property-access {
|
|
|
|
color: var(--color-prettylights-syntax-variable);
|
|
|
|
}
|
|
|
|
|
2022-10-29 00:24:39 +08:00
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.token.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
.token.entity {
|
|
|
|
cursor: help;
|
|
|
|
}
|
2022-09-26 17:13:24 +08:00
|
|
|
|
2022-10-05 14:46:37 +08:00
|
|
|
.highlight-line {
|
|
|
|
background-color: var(--color-neutral-muted);
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.code-line.line-number::before {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1rem;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 16px;
|
|
|
|
margin-left: -8px;
|
|
|
|
color: var(--color-fg-subtle);
|
|
|
|
content: attr(line);
|
|
|
|
}
|
2022-09-26 22:14:52 +08:00
|
|
|
/* 代码高亮 End */
|
|
|
|
|
2022-09-28 13:35:52 +08:00
|
|
|
.footer-wrap {
|
2022-09-26 22:14:52 +08:00
|
|
|
margin-top: 3.5rem;
|
|
|
|
color: rgb(100 116 139/1);
|
2022-10-01 02:29:00 +08:00
|
|
|
background-color: var(--color-canvas-subtle);
|
2022-09-28 00:52:28 +08:00
|
|
|
text-align: center;
|
2022-09-28 15:22:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
.h2wrap-body {
|
|
|
|
display: grid;
|
2022-10-18 01:07:41 +08:00
|
|
|
gap: 0.95rem;
|
2022-09-28 15:22:09 +08:00
|
|
|
}
|
|
|
|
.h2wrap-body > .wrap {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2022-09-28 16:31:01 +08:00
|
|
|
}
|
2022-10-18 21:38:31 +08:00
|
|
|
@media (375px <= width <= 1024px) {
|
2022-10-05 16:14:53 +08:00
|
|
|
.header-nav .title {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
.header-nav .max-container {
|
|
|
|
padding-top: 0.85rem;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
.header-nav .menu a,
|
|
|
|
.header-nav .menu button {
|
2022-10-05 22:51:56 +08:00
|
|
|
padding: 0.2rem 0.3rem;
|
|
|
|
}
|
2022-10-05 16:14:53 +08:00
|
|
|
.wrap-header.h1wrap > h1 {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
.wrap-header.h1wrap {
|
|
|
|
margin-top: 1.6rem;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
2022-10-05 22:51:56 +08:00
|
|
|
.wrap-header.h2wrap > h2 {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
}
|
|
|
|
.wrap-header.h3wrap > .wrap-body {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2022-10-07 00:48:40 +08:00
|
|
|
.tooltip:hover .tooltiptext {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-10-05 16:14:53 +08:00
|
|
|
.h1wrap-body {
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
.home-card {
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
a.home-button {
|
|
|
|
padding-left: 1.1rem;
|
|
|
|
padding-right: 1.1rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
font-size: 0.87rem;
|
|
|
|
}
|
|
|
|
.footer-wrap {
|
|
|
|
font-size: 0.75rem;
|
|
|
|
}
|
2022-10-22 22:37:46 +08:00
|
|
|
table.auto-wrap {
|
2022-10-18 21:38:31 +08:00
|
|
|
overflow: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
2022-10-22 22:37:46 +08:00
|
|
|
table.auto-wrap thead {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
table.auto-wrap td,
|
|
|
|
table.auto-wrap th {
|
2022-10-08 03:18:36 +08:00
|
|
|
display: block;
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
2022-10-29 00:24:39 +08:00
|
|
|
table td + td,
|
|
|
|
table th + th {
|
2022-10-08 03:18:36 +08:00
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
2022-10-18 21:38:31 +08:00
|
|
|
table td:first-child {
|
|
|
|
white-space: initial;
|
|
|
|
}
|
2022-10-07 00:48:40 +08:00
|
|
|
.tooltip:hover .tooltiptext {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2022-10-18 21:40:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.home-card {
|
2022-10-29 00:24:39 +08:00
|
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
2022-10-18 21:40:24 +08:00
|
|
|
}
|
|
|
|
}
|