fixed 部署bug
This commit is contained in:
1 parent
42db9ed1cd
commit
558020036f
3 files changed
+23
-17
No files matched your search
@@ -51,9 +51,11 @@ jobs:
|
|||||||
git config --global user.name "GitHub Actions"
|
git config --global user.name "GitHub Actions"
|
||||||
git config --global user.email "actions@github.com"
|
git config --global user.email "actions@github.com"
|
||||||
git add content/post
|
git add content/post
|
||||||
if ! git diff-index --quiet HEAD; then
|
if ! git diff --staged --quiet; then
|
||||||
git commit -m "chore: auto-generate ai comments [skip ci]"
|
git commit -m "chore: auto-generate ai comments [skip ci]"
|
||||||
git push
|
git push
|
||||||
|
else
|
||||||
|
echo "No changes to commit"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Generate Friend Circle Data
|
- name: Generate Friend Circle Data
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Artalk 评论区接入 AI 摘要的尝试
|
title: Artalk评论区接入AI摘要的尝试
|
||||||
date: 2026-01-31T13:20:00.000Z
|
date: 2026-01-31T13:20:00.000Z
|
||||||
draft: false
|
draft: false
|
||||||
categories:
|
categories:
|
||||||
|
|||||||
@@ -210,12 +210,17 @@ code::-webkit-scrollbar {
|
|||||||
.code-fold-container {
|
.code-fold-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
border-radius: 4px; /* Optional: match highlight radius */
|
border-radius: 4px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.code-fold-container.collapsed {
|
.code-fold-container.collapsed .highlight,
|
||||||
|
.code-fold-container.collapsed pre {
|
||||||
max-height: 360px;
|
max-height: 360px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
mask-image: linear-gradient(to bottom, black 280px, transparent 360px);
|
||||||
|
-webkit-mask-image: linear-gradient(to bottom, black 280px, transparent 360px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure inner code blocks don't have bottom margin when wrapped */
|
/* Ensure inner code blocks don't have bottom margin when wrapped */
|
||||||
@@ -227,22 +232,22 @@ code::-webkit-scrollbar {
|
|||||||
.code-expand-btn {
|
.code-expand-btn {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -7px;
|
bottom: 10px;
|
||||||
left: -146px;
|
left: 50%;
|
||||||
width: 100%;
|
transform: translateX(-50%);
|
||||||
height: 80px;
|
width: auto;
|
||||||
|
margin: 0;
|
||||||
|
z-index: 10;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
/* Gradient Background for Fade Effect */
|
|
||||||
background: linear-gradient(180deg, rgba(246, 248, 250, 0) 0%, rgba(246, 248, 250, 0.9) 50%, rgba(246, 248, 250, 1) 100%);
|
|
||||||
border: none;
|
border: none;
|
||||||
|
background: transparent;
|
||||||
color: #586069;
|
color: #586069;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 10;
|
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding-top: 20px;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Show button when collapsed */
|
/* Show button when collapsed */
|
||||||
@@ -271,7 +276,6 @@ code::-webkit-scrollbar {
|
|||||||
|
|
||||||
/* Dark Mode Support */
|
/* Dark Mode Support */
|
||||||
[data-theme="dark"] .code-expand-btn {
|
[data-theme="dark"] .code-expand-btn {
|
||||||
background: linear-gradient(180deg, rgba(40, 42, 54, 0) 0%, rgba(40, 42, 54, 0.9) 50%, rgba(40, 42, 54, 1) 100%);
|
|
||||||
color: #f8f8f2;
|
color: #f8f8f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2670,7 +2674,7 @@ input[type=submit] {
|
|||||||
.floating-tools a {
|
.floating-tools a {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-color: rgba(255, 255, 255, 0.9); /* Increased opacity */
|
background-color: rgba(255, 255, 255, 0.75); /* Frosted glass opacity */
|
||||||
color: #333;
|
color: #333;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -2684,9 +2688,9 @@ input[type=submit] {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
/* Optimized transition: specific properties instead of all */
|
/* Optimized transition: specific properties instead of all */
|
||||||
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
|
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
|
||||||
/* Removed backdrop-filter for performance */
|
/* Restored backdrop-filter */
|
||||||
/* backdrop-filter: blur(10px) saturate(180%); */
|
backdrop-filter: blur(10px) saturate(180%);
|
||||||
/* -webkit-backdrop-filter: blur(10px) saturate(180%); */
|
-webkit-backdrop-filter: blur(10px) saturate(180%);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user