Site updated: 全站重建上线(测试文章已移除)

This commit is contained in:
Hermes Bot
2026-08-04 20:32:44 +10:00
parent 084a3982b1
commit ce4be6bab2
871 changed files with 205714 additions and 89601 deletions
+212 -15
View File
@@ -186,7 +186,7 @@ body {
background: var(--body-bg-color);
box-sizing: border-box;
color: var(--text-color);
font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-size: 1em;
line-height: 2;
min-height: 100%;
@@ -199,28 +199,28 @@ h3,
h4,
h5,
h6 {
font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-weight: bold;
line-height: 1.5;
margin: 30px 0 15px;
}
h1 {
font-size: 1.5em;
font-size: 0.975em;
}
h2 {
font-size: 1.375em;
font-size: 0.85em;
}
h3 {
font-size: 1.25em;
font-size: 0.725em;
}
h4 {
font-size: 1.125em;
font-size: 0.6em;
}
h5 {
font-size: 1em;
font-size: 0.475em;
}
h6 {
font-size: 0.875em;
font-size: 0.35em;
}
a {
border-bottom: 1px solid #999;
@@ -482,6 +482,53 @@ code.hljs {
.hljs-strong {
font-weight: bold
}
.highlight:hover .copy-btn,
.code-container:hover .copy-btn {
opacity: 1;
}
.code-container {
position: relative;
}
.code-lang {
font-size: 40px;
line-height: 1;
opacity: 0.1;
pointer-events: none;
position: absolute;
right: 5px;
}
.copy-btn {
color: #333;
cursor: pointer;
line-height: 1.6;
opacity: 0;
padding: 2px 6px;
position: absolute;
transition: opacity 0.2s ease-in-out;
color: var(--highlight-foreground);
font-size: 14px;
right: 0;
top: 2px;
}
figure.highlight {
border-radius: 5px;
box-shadow: 0 10px 30px 0 rgba(0,0,0,0.4);
padding-top: 30px;
}
figure.highlight .table-container {
border-radius: 0 0 5px 5px;
}
figure.highlight::before {
background: #fc625d;
box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
left: 12px;
margin-top: -20px;
position: absolute;
border-radius: 50%;
content: ' ';
height: 12px;
width: 12px;
}
code,
kbd,
figure.highlight,
@@ -514,7 +561,7 @@ pre .caption a:hover {
}
pre,
code {
font-family: consolas, Menlo, monospace, 'PingFang SC', 'Microsoft YaHei';
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace, consolas, Menlo, monospace, 'PingFang SC', 'Microsoft YaHei';
}
code {
border-radius: 3px;
@@ -533,6 +580,7 @@ kbd {
figure.highlight {
overflow: auto;
position: relative;
color-scheme: light;
}
figure.highlight pre {
border: 0;
@@ -1079,7 +1127,7 @@ pre code {
color: var(--brand-hover-color);
}
.site-title {
font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-size: 1.375em;
font-weight: normal;
line-height: 1.5;
@@ -1182,6 +1230,35 @@ pre code {
.use-motion .menu-item {
visibility: hidden;
}
.book-mark-link {
border-bottom: 0;
position: fixed;
top: -10px;
transition: top 0.3s;
right: 30px;
}
@media (max-width: 991px) {
.book-mark-link {
right: 20px;
}
}
@media (max-width: 991px) {
.book-mark-link {
display: none;
}
}
.book-mark-link::before {
color: #222;
font-size: 32px;
line-height: 1;
content: '\f02e';
font-family: 'Font Awesome 7 Free';
font-weight: 900;
}
.book-mark-link:hover,
.book-mark-link-fixed {
top: -2px;
}
.sidebar {
left: -320px;
}
@@ -1220,7 +1297,7 @@ pre code {
vertical-align: middle;
}
.links-of-author a::before {
background: #47507c;
background: #e7ff86;
display: inline-block;
margin-right: 3px;
transform: translateY(-2px);
@@ -1469,6 +1546,7 @@ pre code {
border: 2px solid #333;
max-width: 96px;
padding: 2px;
border-radius: 50%;
}
.site-author-name {
color: #f5f5f5;
@@ -1685,8 +1763,8 @@ pre code {
}
.reading-progress-bar {
--progress: 0;
background: #37c6c0;
height: 3px;
background: #222;
height: 2px;
position: fixed;
z-index: 50;
width: var(--progress);
@@ -1842,7 +1920,7 @@ pre code {
width: 4px;
}
.post-body {
font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, 'PingFang SC', 'Microsoft YaHei', sans-serif;
overflow-wrap: break-word;
}
@media (min-width: 1200px) {
@@ -2031,7 +2109,7 @@ pre code {
}
.posts-expand .post-meta-container {
color: #999;
font-family: Lato, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, 'PingFang SC', 'Microsoft YaHei', sans-serif;
font-size: 0.75em;
margin-top: 3px;
}
@@ -2109,6 +2187,24 @@ pre code {
.post-block:last-of-type .post-eof {
display: none;
}
.post-copyright ul {
list-style: none;
overflow: hidden;
padding: 0.5em 1em;
position: relative;
background: var(--card-bg-color);
border-left: 3px solid #ff2a2a;
margin: 1em 0 0;
}
.post-copyright ul::after {
content: '\f25e';
font-family: 'Font Awesome 7 Brands';
font-size: 200px;
opacity: 0.1;
position: absolute;
right: -50px;
top: -150px;
}
.post-tags {
margin-top: 40px;
text-align: center;
@@ -2365,6 +2461,107 @@ ul.breadcrumb li:last-child {
border-bottom-color: #111;
color: #111;
}
.search-active {
overflow: hidden;
margin-right: var(--dialog-scrollgutter, 0);
}
.search-pop-overlay {
background: rgba(0,0,0,0);
display: flex;
height: 100%;
left: 0;
position: fixed;
top: 0;
transition: visibility 0.4s, background 0.4s;
visibility: hidden;
width: 100%;
z-index: 40;
}
.search-active .search-pop-overlay {
background: rgba(0,0,0,0.3);
visibility: visible;
}
.search-popup {
background: var(--card-bg-color);
border-radius: 5px;
height: 80%;
margin: auto;
transform: scale(0);
transition: transform 0.4s;
width: 700px;
}
.search-active .search-popup {
transform: scale(1);
}
@media (max-width: 767px) {
.search-popup {
border-radius: 0;
height: 100%;
width: 100%;
}
}
.search-popup .search-icon,
.search-popup .popup-btn-close {
color: #999;
font-size: 18px;
padding: 0 10px;
}
.search-popup .popup-btn-close {
cursor: pointer;
}
.search-popup .popup-btn-close:hover .fa {
color: #222;
}
.search-popup .search-header {
background: #eee;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
display: flex;
padding: 5px;
}
.search-popup input.search-input {
background: transparent;
border: 0;
outline: 0;
width: 100%;
}
.search-popup input.search-input::-webkit-search-cancel-button {
display: none;
}
.search-popup .search-result-container {
display: flex;
flex-direction: column;
height: calc(100% - 55px);
overflow: auto;
padding: 5px 25px;
}
.search-popup .search-result-container hr {
flex-shrink: 0;
margin: 5px 0 10px;
}
.search-popup .search-result-container hr:first-child {
display: none;
}
.search-popup .search-result-list {
margin: 0 5px;
padding: 0;
}
.search-popup a.search-result-title {
font-weight: bold;
}
.search-popup p.search-result {
border-bottom: 1px dashed #ccc;
margin: 0 0 10px;
padding: 5px 0;
}
.search-popup .search-input-container {
flex-grow: 1;
padding: 2px;
}
.search-popup .search-result-icon {
color: #ccc;
margin: auto;
}
mark.search-keyword {
background: transparent;
border-bottom: 1px dashed #ff2a2a;