Skip to content

Commit 2aabb60

Browse files
committed
Site updated: 2024-10-08 23:45:20
1 parent ff3bb42 commit 2aabb60

File tree

13 files changed

+787
-273
lines changed

13 files changed

+787
-273
lines changed

2022/10/28/2024-10-8/index.html

Lines changed: 51 additions & 21 deletions
Large diffs are not rendered by default.

2024/10/08/hello-world/index.html

Lines changed: 50 additions & 22 deletions
Large diffs are not rendered by default.

archives/2022/10/index.html

Lines changed: 58 additions & 28 deletions
Large diffs are not rendered by default.

archives/2022/index.html

Lines changed: 56 additions & 26 deletions
Large diffs are not rendered by default.

archives/2024/10/index.html

Lines changed: 58 additions & 28 deletions
Large diffs are not rendered by default.

archives/2024/index.html

Lines changed: 56 additions & 26 deletions
Large diffs are not rendered by default.

archives/index.html

Lines changed: 58 additions & 28 deletions
Large diffs are not rendered by default.

css/index.css

Lines changed: 164 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,13 @@ template {
210210
}
211211
.fontawesomeIcon,
212212
.custom-hr:before,
213+
#article-container.post-content h1:before,
214+
#article-container.post-content h2:before,
215+
#article-container.post-content h3:before,
216+
#article-container.post-content h4:before,
217+
#article-container.post-content h5:before,
218+
#article-container.post-content h6:before,
219+
#article-container.post-content hr:before,
213220
#post .post-copyright:before,
214221
#post .post-outdate-notice:before,
215222
.note:not(.no-icon)::before,
@@ -329,17 +336,20 @@ template {
329336
transition: all 0.3s ease-out;
330337
}
331338
.custom-hr,
339+
#article-container.post-content hr,
332340
.search-dialog hr {
333341
position: relative;
334342
margin: 40px auto;
335343
border: 2px dashed var(--hr-border);
336344
width: calc(100% - 4px);
337345
}
338346
.custom-hr:hover:before,
347+
#article-container.post-content hr:hover:before,
339348
.search-dialog hr:hover:before {
340349
left: calc(95% - 20px);
341350
}
342351
.custom-hr:before,
352+
#article-container.post-content hr:before,
343353
.search-dialog hr:before {
344354
position: absolute;
345355
top: -10px;
@@ -1331,8 +1341,8 @@ canvas:not(#ribbon-canvas),
13311341
--global-font-size: 14px;
13321342
--global-bg: #fff;
13331343
--font-color: #4c4948;
1334-
--hr-border: #a4d8fa;
1335-
--hr-before-color: #80c8f8;
1344+
--hr-border: #d2ebfd;
1345+
--hr-before-color: #bfe4fb;
13361346
--search-bg: #f6f8fa;
13371347
--search-input-color: #4c4948;
13381348
--search-a-color: #4c4948;
@@ -1375,7 +1385,7 @@ body {
13751385
background: var(--global-bg);
13761386
color: var(--font-color);
13771387
font-size: var(--global-font-size);
1378-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft JhengHei', sans-serif;
1388+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
13791389
line-height: 2;
13801390
-webkit-tap-highlight-color: rgba(0,0,0,0);
13811391
scroll-behavior: smooth;
@@ -1399,6 +1409,16 @@ body {
13991409
input::placeholder {
14001410
color: var(--font-color);
14011411
}
1412+
#web_bg {
1413+
position: fixed;
1414+
z-index: -999;
1415+
width: 100%;
1416+
height: 100%;
1417+
background-attachment: local;
1418+
background-position: center;
1419+
background-size: cover;
1420+
background-repeat: no-repeat;
1421+
}
14021422
h1,
14031423
h2,
14041424
h3,
@@ -1504,6 +1524,12 @@ img:not([src]) {
15041524
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
15051525
filter: alpha(opacity=0);
15061526
}
1527+
img[data-lazy-src]:not(.loaded) {
1528+
filter: blur(8px) brightness(1);
1529+
}
1530+
img[data-lazy-src].error {
1531+
filter: none;
1532+
}
15071533
.img-alt {
15081534
margin: -10px 0 10px;
15091535
color: #858585;
@@ -1527,14 +1553,14 @@ blockquote > :last-child {
15271553
margin-bottom: 0 !important;
15281554
}
15291555
:root {
1530-
--hl-color: #8f93a2;
1531-
--hl-bg: #0f111a;
1532-
--hltools-bg: #0b0d14;
1533-
--hltools-color: #8f93a2;
1534-
--hlnumber-bg: #0f111a;
1535-
--hlnumber-color: rgba(143,147,162,0.5);
1536-
--hlscrollbar-bg: #1e2234;
1537-
--hlexpand-bg: linear-gradient(180deg, rgba(15,17,26,0.6), rgba(15,17,26,0.9));
1556+
--hl-color: #a6accd;
1557+
--hl-bg: #292d3e;
1558+
--hltools-bg: #252938;
1559+
--hltools-color: #a6accd;
1560+
--hlnumber-bg: #292d3e;
1561+
--hlnumber-color: rgba(166,172,205,0.5);
1562+
--hlscrollbar-bg: #393f57;
1563+
--hlexpand-bg: linear-gradient(180deg, rgba(41,45,62,0.6), rgba(41,45,62,0.9));
15381564
}
15391565
[data-theme='dark'] {
15401566
--hl-color: rgba(255,255,255,0.7);
@@ -1562,7 +1588,7 @@ figure.highlight pre .meta {
15621588
color: #c792ea;
15631589
}
15641590
figure.highlight pre .comment {
1565-
color: rgba(101,115,126,0.8);
1591+
color: #676e95;
15661592
}
15671593
figure.highlight pre .variable,
15681594
figure.highlight pre .attribute,
@@ -1660,7 +1686,7 @@ figure.highlight pre .javascript .function {
16601686
#article-container pre,
16611687
#article-container code {
16621688
font-size: var(--global-font-size);
1663-
font-family: consolas, Menlo, 'PingFang SC', 'Microsoft JhengHei', sans-serif !important;
1689+
font-family: consolas, Menlo, 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
16641690
border-radius: 6px;
16651691
}
16661692
#article-container code {
@@ -1815,8 +1841,8 @@ figure.highlight pre .javascript .function {
18151841
#article-container figure.highlight {
18161842
margin: 0 0 24px;
18171843
border-radius: 7px;
1818-
-webkit-box-shadow: 0 5px 10px 0 rgba(15,17,26,0.4);
1819-
box-shadow: 0 5px 10px 0 rgba(15,17,26,0.4);
1844+
-webkit-box-shadow: 0 5px 10px 0 rgba(41,45,62,0.4);
1845+
box-shadow: 0 5px 10px 0 rgba(41,45,62,0.4);
18201846
-webkit-transform: translateZ(0);
18211847
}
18221848
#article-container figure.highlight .highlight-tools .macStyle {
@@ -3874,7 +3900,7 @@ figure.highlight pre .javascript .function {
38743900
overflow-wrap: break-word;
38753901
}
38763902
#article-container a {
3877-
color: #49b1f5;
3903+
color: #99a9bf;
38783904
}
38793905
#article-container a:hover {
38803906
text-decoration: underline;
@@ -3931,6 +3957,113 @@ figure.highlight pre .javascript .function {
39313957
#article-container hr {
39323958
margin: 20px 0;
39333959
}
3960+
#article-container.post-content h1,
3961+
#article-container.post-content h2,
3962+
#article-container.post-content h3,
3963+
#article-container.post-content h4,
3964+
#article-container.post-content h5,
3965+
#article-container.post-content h6 {
3966+
-webkit-transition: all 0.2s ease-out;
3967+
-moz-transition: all 0.2s ease-out;
3968+
-o-transition: all 0.2s ease-out;
3969+
-ms-transition: all 0.2s ease-out;
3970+
transition: all 0.2s ease-out;
3971+
}
3972+
#article-container.post-content h1:before,
3973+
#article-container.post-content h2:before,
3974+
#article-container.post-content h3:before,
3975+
#article-container.post-content h4:before,
3976+
#article-container.post-content h5:before,
3977+
#article-container.post-content h6:before {
3978+
position: absolute;
3979+
top: calc(50% - 7px);
3980+
color: #f47466;
3981+
content: '\f0c1';
3982+
left: 0;
3983+
line-height: 1;
3984+
-webkit-transition: all 0.2s ease-out;
3985+
-moz-transition: all 0.2s ease-out;
3986+
-o-transition: all 0.2s ease-out;
3987+
-ms-transition: all 0.2s ease-out;
3988+
transition: all 0.2s ease-out;
3989+
}
3990+
#article-container.post-content h1:hover:before,
3991+
#article-container.post-content h2:hover:before,
3992+
#article-container.post-content h3:hover:before,
3993+
#article-container.post-content h4:hover:before,
3994+
#article-container.post-content h5:hover:before,
3995+
#article-container.post-content h6:hover:before {
3996+
color: #49b1f5;
3997+
}
3998+
#article-container.post-content h1 {
3999+
padding-left: 28px;
4000+
}
4001+
#article-container.post-content h1:before {
4002+
font-size: 18px;
4003+
}
4004+
#article-container.post-content h1:hover {
4005+
padding-left: 32px;
4006+
}
4007+
#article-container.post-content h2 {
4008+
padding-left: 26px;
4009+
}
4010+
#article-container.post-content h2:before {
4011+
font-size: 16px;
4012+
}
4013+
#article-container.post-content h2:hover {
4014+
padding-left: 30px;
4015+
}
4016+
#article-container.post-content h3 {
4017+
padding-left: 24px;
4018+
}
4019+
#article-container.post-content h3:before {
4020+
font-size: 14px;
4021+
}
4022+
#article-container.post-content h3:hover {
4023+
padding-left: 28px;
4024+
}
4025+
#article-container.post-content h4 {
4026+
padding-left: 22px;
4027+
}
4028+
#article-container.post-content h4:before {
4029+
font-size: 12px;
4030+
}
4031+
#article-container.post-content h4:hover {
4032+
padding-left: 26px;
4033+
}
4034+
#article-container.post-content h5 {
4035+
padding-left: 20px;
4036+
}
4037+
#article-container.post-content h5:before {
4038+
font-size: 10px;
4039+
}
4040+
#article-container.post-content h5:hover {
4041+
padding-left: 24px;
4042+
}
4043+
#article-container.post-content h6 {
4044+
padding-left: 20px;
4045+
}
4046+
#article-container.post-content h6:before {
4047+
font-size: 10px;
4048+
}
4049+
#article-container.post-content h6:hover {
4050+
padding-left: 24px;
4051+
}
4052+
#article-container.post-content ol p,
4053+
#article-container.post-content ul p {
4054+
margin: 0 0 8px;
4055+
}
4056+
#article-container.post-content li::marker {
4057+
color: #49b1f5;
4058+
font-weight: 600;
4059+
font-size: 1.05em;
4060+
}
4061+
#article-container.post-content li:hover::marker {
4062+
color: var(--pseudo-hover);
4063+
}
4064+
#article-container.post-content ul > li {
4065+
list-style-type: circle;
4066+
}
39344067
#post .tag_share:after {
39354068
display: block;
39364069
clear: both;
@@ -4407,6 +4540,20 @@ figure.highlight pre .javascript .function {
44074540
#article-container .aplayer {
44084541
margin: 0 0 20px;
44094542
}
4543+
#article-container .aplayer ol,
4544+
#article-container .aplayer ul {
4545+
margin: 0;
4546+
padding: 0;
4547+
}
4548+
#article-container .aplayer ol li,
4549+
#article-container .aplayer ul li {
4550+
margin: 0;
4551+
padding: 0 15px;
4552+
}
4553+
#article-container .aplayer ol li:before,
4554+
#article-container .aplayer ul li:before {
4555+
content: none;
4556+
}
44104557
.snackbar-container.snackbar-css {
44114558
border-radius: 5px;
44124559
opacity: 0.85 !important;
@@ -5846,7 +5993,7 @@ blockquote.pullquote.right {
58465993
filter: brightness(0.8);
58475994
}
58485995
[data-theme='dark'] img {
5849-
filter: brightness(0.8);
5996+
filter: blur(0) brightness(0.8);
58505997
}
58515998
[data-theme='dark'] #aside-content .aside-list > .aside-list-item:not(:last-child) {
58525999
border-bottom: 1px dashed rgba(255,255,255,0.1);

img/ava.jpg

53.4 KB
Loading

0 commit comments

Comments
 (0)