Files
blog/themes/Ying/assets/css/main.css
T

3160 lines
95 KiB
CSS
Raw Normal View History

2026-01-22 21:39:19 +08:00
@font-face {
font-family: 'zql';
src: url('../font/zql.woff2') format('woff2'),
url('../font/zql.woff') format('woff');
2026-01-22 22:33:35 +08:00
font-display: swap;
2026-01-22 21:39:19 +08:00
unicode-range: U+0000-007F,
/* 基本拉丁字母 */
U+4E00-9FFF,
/* 基本汉字 */
U+2000-206F,
/* 通用标点符号 */
U+3000-303F;
/* 中文标点符号 */
}
2026-01-23 14:31:45 +08:00
2026-01-22 21:39:19 +08:00
@charset "UTF-8";:root {
--background-color: #fafafa;
--background-dark-color: #020617;
--text-content-color: #24292e;
--text-content-dark-color: #d1d5db;
--text-title-color: #111827;
--text-title-dark-color: #e5e7eb;
--text-highlight-color: #696565;
--frame-dark-color: #1f2933;
--frame-color: #eee;
--artalk-editer-color: #333333;
--erji-color: #666;
--sanji-color: #999;
--bankuai-color: #f6f6f6;
--link-color-light: #374151;
--link-hover-color-light: #111827;
--link-color-dark: #e5e7eb;
--link-hover-color-dark: #d1d5db;
--card-shadow-light: 0 10px 20px 0 rgba(236, 236, 236, 0.86);
--card-shadow-dark: 0 18px 45px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(148, 163, 184, 0.45);
}
[data-theme="dark"] body {
color: var(--text-content-dark-color);
background-color: var(--background-dark-color);
background-image: none;
}
[data-theme="dark"] .main {
2026-01-22 22:33:35 +08:00
background: rgba(15, 23, 42, 0.96);
2026-01-22 21:39:19 +08:00
box-shadow: var(--card-shadow-dark);
2026-01-22 22:33:35 +08:00
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
2026-01-22 21:39:19 +08:00
}
[data-theme="dark"] .header nav {
border-top-color: #1f2933;
}
[data-theme="dark"] .header nav ul.flat li a {
color: #9ca3af;
}
[data-theme="dark"] .header nav ul.flat li.active a {
color: #e5e7eb;
}
2026-01-23 14:31:45 +08:00
.meta {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 10px;
margin-bottom: 20px;
color: #999;
font-size: 0.9rem;
line-height: 1.6;
}
.meta-item {
white-space: nowrap;
}
2026-01-22 21:39:19 +08:00
[data-theme="dark"] .meta {
color: #9ca3af;
}
[data-theme="dark"] .footer {
border-top-color: #1f2933;
color: #6b7280;
}
[data-theme="dark"] .post-content {
color: var(--text-content-dark-color);
}
.post-title {
color: var(--text-title-color);
}
[data-theme="dark"] .post-title {
color: var(--text-title-dark-color);
}
.theme-toggle-button {
border: none;
background: transparent;
cursor: pointer;
font-size: 14px;
padding: 4px 8px;
color: #586069;
}
.theme-toggle-button:focus {
outline: none;
}
[data-theme="dark"] .theme-toggle-button {
color: #e5e7eb;
}
::-webkit-scrollbar {
width: 13px;
}
::-webkit-scrollbar-button {
display: none;
}
::-webkit-scrollbar-thumb {
min-height: 16px;
background-color: #999999;
background-clip: padding-box;
border: 3px solid #fdfdfd;
border-radius: 5px;
}
::selection {
background: #444;
color: #fff;
}
2024-07-11 08:59:32 +08:00
body {
2026-01-22 21:39:19 +08:00
font-family: 'zql', serif;
color: var(--text-content-color);
line-height: 1.6;
font-size: 16px;
background: var(--background-color);
background-image: url('../image/bg.svg');
2026-01-22 22:33:35 +08:00
/* background-image: url(https://usj.cc/usr/uploads/2023/06/3287615239.jpg); */
2026-01-22 21:39:19 +08:00
background-image:url(data:image/webp;base64,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
background-repeat: space;
background-size: cover;
/* 小恐龙背景css */
background-repeat: round;
background-size: contain;
/* 结束 */
/* background-repeat: initial;
background-size: inherit; */
background-attachment: fixed;
z-index: 5;
2024-07-11 08:59:32 +08:00
}
2026-01-22 21:39:19 +08:00
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #cccccc;
margin: 1rem 0;
padding: 0;
2024-07-11 08:59:32 +08:00
}
2026-01-22 21:39:19 +08:00
img {
max-width: 100%;
border-radius: 5px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
vertical-align: middle
}
.icon {
width: 1.8em;
height: 1.8em;
vertical-align: -1em;
fill: currentColor;
overflow: hidden;
}
a img {
border: none;
}
pre,
code {
font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 14px;
border-radius: 4px;
background-color: #f6f8fa; /* Day Mode */
color: #24292e;
border: 1px solid #d0d7de;
}
[data-theme="dark"] pre,
[data-theme="dark"] code {
background-color: #282a36; /* Night Mode */
color: #f8f8f2;
border-color: #44475a;
}
code {
padding: 2px 6px;
word-break: break-all; /* Prevent inline code from breaking layout */
}
pre {
padding: 10px;
overflow-x: auto;
max-width: 100%; /* Fix mobile overflow */
}
pre>code {
background-color: transparent;
color: inherit;
padding: 0;
border: 0;
word-break: normal;
}
table {
border-collapse: collapse;
border-spacing: 0;
word-break: break-all;
}
table th {
background-color: #f6f8fa;
}
table th,
table td {
padding: 10px 20px;
border: 1px solid #dfe2e5;
}
blockquote {
margin-left: 4px;
font-weight: 300;
border-left: 3.8px solid rgb(80 80 80);
background-color: rgba(51 51 51/5%);
padding-left: 20px;
word-break: break-all;
2024-07-11 08:59:32 +08:00
}
a {
2026-01-22 21:39:19 +08:00
color: var(--link-color-light);
text-decoration: none;
transition: color 0.35s ease;
}
a:hover {
color: var(--link-hover-color-light);
text-decoration: underline;
}
[data-theme="dark"] a {
color: var(--link-color-dark);
}
[data-theme="dark"] a:hover {
color: var(--link-hover-color-dark);
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.2;
font-weight: 400;
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.375rem;
}
h3 {
font-size: 1.25rem;
}
h4,
h5,
h6 {
font-size: 1.125rem;
}
ul {
padding-left: 0px;
list-style-type: disc;
list-style: none;
}
/*默认 box-shadow 数值:rgba(236, 236, 236, 0.86)*/
.main {
max-width: 630px;
overflow: hidden;
margin: 60px auto;
padding: 50px;
2026-01-22 22:33:35 +08:00
background: rgba(255, 255, 255, 0.95);
2026-01-22 21:39:19 +08:00
box-shadow: var(--card-shadow-light);
border-radius: 8px;
z-index: 10;
position: relative;
text-align: center;
2026-01-22 22:33:35 +08:00
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
2026-01-22 21:39:19 +08:00
transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, backdrop-filter 0.35s ease;
}
.header {
margin-bottom: 10px;
padding-bottom: 10px;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 16px;
}
.header-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.head_author_img {
display: flex;
align-items: center;
justify-content: center;
margin-right: 16px;
padding: 0;
cursor: pointer;
}
.avatar-theme-tip {
margin-left: 10px;
padding: 4px 12px;
border-radius: 999px;
background: #111827;
color: #f9fafb;
font-size: 11px;
white-space: nowrap;
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
opacity: 0;
transform: translateY(2px) scale(0.98);
transition: opacity 0.4s ease;
}
.avatar-theme-tip.is-visible {
opacity: 1;
animation: avatar-tip-float 2.2s ease-in-out infinite;
}
.avatar-theme-tip.is-hidden {
opacity: 0;
transform: translateY(-4px) scale(0.96);
animation: none;
pointer-events: none;
}
[data-theme="dark"] .avatar-theme-tip {
background: #f9fafb;
color: #111827;
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}
@keyframes avatar-tip-float {
0% {
transform: translateY(2px) scale(0.98);
}
50% {
transform: translateY(-2px) scale(1);
}
100% {
transform: translateY(2px) scale(0.98);
}
}
.header h1,
.header h2 {
margin: 0;
padding: 0;
font-size: 1.6rem;
margin-bottom: 10px;
}
.header h2 {
font-size: .9rem;
line-height: 2rem;
margin-bottom: 0;
}
.header nav {
border-top: 1px solid #f4f4f4;
transition: border-color 0.35s ease;
}
.header nav ul,
.header nav li {
margin: 0;
}
.header nav ul.flat {
padding: 0;
}
.header nav ul.flat li {
display: inline-block;
list-style: none;
margin-left: 0;
margin-right: 15px;
margin-top: 20px;
text-transform: capitalize;
}
.header nav ul.flat li.active a {
color: #24292e;
}
.header nav ul.flat li a {
color: #586069;
}
.header nav ul.flat li a:hover {
color: #646464;
text-decoration: none;
}
.header .site-description {
display: flex;
flex-direction: column;
justify-content: center;
2026-01-23 22:02:11 +08:00
align-items: center;
2026-01-22 21:39:19 +08:00
margin-top: 0;
}
2026-01-23 22:02:11 +08:00
.header .site-description h2 {
display: none;
}
2026-01-22 21:39:19 +08:00
.header .site-description nav {
margin: 0;
padding: 0;
border: none;
min-width: 50px;
2026-01-23 22:02:11 +08:00
margin-bottom: 0;
text-align: center;
2026-01-22 21:39:19 +08:00
}
.header .site-description nav ul a {
display: inline-block;
2026-01-23 22:02:11 +08:00
margin: 0 5px;
2026-01-22 21:39:19 +08:00
text-decoration: none;
2026-01-23 22:02:11 +08:00
transition: all 0.2s ease;
2026-01-22 21:39:19 +08:00
}
2026-01-23 22:02:11 +08:00
.header .site-description nav ul a i {
font-size: 1.15rem;
vertical-align: middle;
}
2026-01-22 21:39:19 +08:00
.header .site-description nav ul a:hover {
2026-01-23 22:02:11 +08:00
color: #24292e;
transform: scale(1.2);
2026-01-22 21:39:19 +08:00
}
/* Pjax 页面切换过渡动画 */
.pjax-leave {
position: absolute;
top: 0;
width: 100%;
animation: pjax-fade-out 0.3s ease-in forwards;
z-index: 0;
}
.pjax-enter {
animation: pjax-fade-in 0.3s ease-out forwards;
z-index: 1;
position: relative;
}
@keyframes pjax-fade-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pjax-fade-out {
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(-10px);
}
}
.section .section-header {
font-size: 0.88rem;
font-weight: 600;
text-transform: uppercase;
color: #999999;
margin-bottom: 15px;
letter-spacing: 1px;
}
.recent-posts .posts .post {
margin-bottom: 20px;
margin-top: 20px;
}
.recent-posts .posts .post .time,
.post .post-header .time,
.list .posts .post .time {
font-size: 0.725rem;
color: #bec8d2;
margin-bottom: 2px;
}
.meta {
margin-top: 10px;
font-size: 12px;
color: #999999;
margin-bottom: 2px
}
.post-tags {
margin-top: 20px;
}
.post-tags .tags {
margin-top: 40px;
}
.post-tags .tags a {
display: inline-block;
border-radius: 2px;
padding: 0.1rem 0.4rem;
color: #fff;
line-height: 20px;
font-size: 12px;
text-decoration: none;
margin: 0 1px;
border: 1px solid #41464b;
background-color: #41464b;
}
.footer {
text-align: right;
font-size: 0.75em;
color: #999999;
border-top: 1px solid #f4f4f4;
padding-top: 10px;
margin-top: 10px;
transition: color 0.35s ease, border-color 0.35s ease;
}
/* 代码高亮 Mac 风格样式 */
.highlight {
background: #f6f8fa; /* Day Mode: Light BG (GitHub) */
color: #24292e; /* Day Mode: Dark Text */
border-radius: 10px;
border: 1px solid #d0d7de; /* Day Mode Border */
box-shadow: none; /* Remove Shadow */
margin: 20px 0;
overflow: hidden;
position: relative;
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .highlight {
background: #282a36; /* Night Mode: Dark BG (Dracula) */
color: #f8f8f2; /* Night Mode: Light Text */
border: 1px solid #44475a; /* Night Mode Border */
box-shadow: none; /* Remove Shadow */
}
.highlight::before {
content: " ";
display: block;
height: 12px;
width: 12px;
margin: 15px;
background: #ff5f56;
border-radius: 50%;
box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.highlight pre,
.highlight code,
.highlight kbd,
.highlight samp {
font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 14px;
line-height: 1.6;
font-weight: normal;
white-space: pre;
}
.highlight pre {
margin: 0;
padding: 45px 15px 15px; /* Top padding for Mac dots */
overflow: auto;
background-color: transparent !important; /* Override inline style */
border: none !important; /* Remove conflicting border */
border-radius: 0 !important; /* Reset border radius inside container */
}
.highlight pre code {
padding: 0;
background-color: transparent !important;
color: inherit;
}
/* 滚动条样式 */
.highlight pre::-webkit-scrollbar {
height: 8px;
width: 8px;
}
.highlight pre::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.2); /* Day Mode: Dark scrollbar */
border-radius: 4px;
}
[data-theme="dark"] .highlight pre::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2); /* Night Mode: Light scrollbar */
}
.highlight pre::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
[data-theme="dark"] .highlight pre::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.3);
}
.highlight pre::-webkit-scrollbar-track {
background: transparent;
}
@media (max-width: 767px) {
h1 {
font-size: 1.375rem;
}
h2 {
font-size: 1.25rem;
}
h3 {
font-size: 1.125rem;
}
h4,
h5,
h6 {
font-size: 1rem;
}
body {
background: #ffffff;
}
.main {
padding: 30px;
margin: 0 auto;
box-shadow: none;
}
.header h2 {
display: none;
}
.container {
margin-top: 10px;
}
.highlight pre::-webkit-scrollbar {
display: none;
}
}
/* 代码复制按钮 */
.copy-code-btn {
position: absolute;
top: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.05);
border: none;
border-radius: 4px;
color: #555;
padding: 4px 8px;
cursor: pointer;
font-size: 16px;
transition: all 0.2s;
opacity: 0;
z-index: 10;
}
[data-theme="dark"] .copy-code-btn {
background: rgba(255, 255, 255, 0.1);
color: #f8f8f2;
}
.highlight:hover .copy-code-btn {
opacity: 1;
}
.copy-code-btn:hover {
background: rgba(0, 0, 0, 0.1);
transform: scale(1.1);
}
[data-theme="dark"] .copy-code-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
.comment-form-author {
width: 45% !important;
float: right;
/*margin-right: 5%;*/
}
.comment-form-email {
width: 45% !important;
float: left;
}
#cancel-huifu {
position: relative;
left: 53px !important;
}
.header img {
width: 75px !important;
height: 75px !important;
}
.site-description {
margin-top: 10px !important;
}
.itp-index {
width: 100% !important;
}
#scrollUp {
right: 35px !important;
}
}
/*回到顶部*/
#scrollUp {
bottom: 50px;
right: 50px;
background: #ffffff;
height: 40px;
width: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
color: #111827;
text-decoration: none;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
z-index: 2147483647; /* Ensure it's on top */
cursor: pointer;
}
#scrollUp::before {
content: "⇡";
}
[data-theme="dark"] #scrollUp {
background: rgba(15, 23, 42, 0.95);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
color: #e5e7eb;
}
/*美化框*/
#mhz,
#szh,
#yyz {
/*圆角值,在此定义*/
border-radius: 8px;
}
/*迷幻紫*/
#mhz {
color: #555555;
overflow: hidden;
margin: 10px 0;
padding: 15px 15px 15px 35px;
/*border-radius: 10px;*/
box-shadow: 6px 0 12px -5px rgb(190, 196, 252), -6px 0 12px -5px rgb(189, 196, 252);
background-color: #8EC5FC;
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
background-image: -webkit-linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
}
/*优雅紫*/
#yyz {
color: #ffffff;
overflow: hidden;
margin: 10px 0;
padding: 15px 15px 15px 35px;
/*border-radius: 10px;*/
box-shadow: 6px 0 12px -5px rgb(175, 160, 208), -6px 0 12px -5px rgba(177, 161, 207, 0);
background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(95, 117, 227, 1) 0%, rgba(188, 167, 205, 1) 90%);
}
/*深邃黑*/
#szh {
color: #c7c7c7;
overflow: hidden;
margin: 10px 0;
padding: 15px 15px 15px 35px;
/*border-radius: 5px;*/
box-shadow: 6px 0 14px -6px rgba(15, 23, 42, 0.85), -6px 0 14px -6px rgba(15, 23, 42, 0.55);
background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(0, 0, 0, 1) 0%, rgba(64, 64, 64, 1) 90.2%);
}
/*隐藏文字*/
darkb-text {
background-color: #12121c;
color: #12121c;
text-shadow: none;
transition: color 0.3s;
/*padding-top: 3px;*/
padding: 2px 2px 2px 2px;
font-size: 14px;
border-radius: 4px;
}
darkb-text:hover,
darkb-text:active {
color: #FFF;
}
/* 分页 */
.pagination {
margin: 0;
padding: 10px 0 0;
text-align: left;
display: flex;
justify-content: space-between;
}
.pagination li {
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
.pagination .page-previous {
/* margin-right: 20px; */
/* padding-right: 20px; */
}
.pagination .page-item.page-previous {
text-align: right;
}
.pagination .page-item.page-next {
text-align: right;
}
/* 骨架屏动画 */
.skeleton-line {
background: #e0e0e0;
border-radius: 4px;
background-image: linear-gradient(90deg, #e0e0e0 0px, #f5f5f5 40px, #e0e0e0 80px);
background-size: 600px;
animation: skeleton-loading 1.6s infinite ease-out;
}
@keyframes skeleton-loading {
0% {
background-position: -100px;
}
100% {
background-position: 140px;
}
}
[data-theme="dark"] #pjax-loading-skeleton {
background: rgba(15, 23, 42, 0.94) !important;
box-shadow: var(--card-shadow-dark) !important;
backdrop-filter: blur(18px);
}
[data-theme="dark"] .skeleton-line {
background: #1f2937;
background-image: linear-gradient(90deg, #1f2937 0px, #374151 40px, #1f2937 80px);
}
position: relative;
border-radius: 5px;
padding-bottom: 66.5%;
height: 0;
border: 6px solid #f0f0f0;
overflow: hidden;
}
.size-video iframe {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
/*归档页面*/
.a-title {
font-size: 24px;
word-wrap: break-word;
line-height: 1.4;
box-shadow: inset 0 -7px 0 0 rgb(52 58 64 / 10%);
display: inline;
}
.link-title {
text-align: center;
margin-top: 20px;
margin-bottom: 14px;
}
.link-title span {
display: inline-block;
margin-top: 6px;
margin-bottom: 6px;
font-size: 1.35rem;
font-weight: 650;
letter-spacing: 0.12em;
text-transform: none;
color: #4b5563;
}
[data-theme="dark"] .link-title span {
color: #e5e7eb;
}
h3.diy-h3 {
cursor: pointer;
font-size: 1.05rem;
padding-left: 1px;
margin-top: 0.5em;
margin-bottom: 5px;
}
.a-archives {
margin-top: 6px;
display: inline-block;
color: #374151;
font-size: 0.95rem;
}
.articles_date_time {
padding: 3px 5px;
font-size: 0.75rem;
font-weight: 500;
line-height: 1;
background-color: rgba(52, 58, 64, .1);
color: #324b64;
margin-right: 5px;
border-radius: 999px;
}
[data-theme="dark"] .a-archives {
color: #e5e7eb;
}
[data-theme="dark"] .articles_date_time {
background-color: rgba(148, 163, 184, .25);
color: #e5e7eb;
}
/*友链*/
.link_box,
.link_marks {
float: left;
padding-right: 5px;
}
.yiyandes {
font-size: .9rem;
line-height: 2rem;
margin-top: -2px;
2026-01-23 22:02:11 +08:00
cursor: pointer;
transition: opacity 0.3s ease;
}
.yiyandes:hover {
opacity: 0.7;
}
.yiyandes.typing::after {
content: '|';
animation: blink 1s step-start infinite;
margin-left: 2px;
}
@keyframes blink {
50% { opacity: 0; }
2026-01-22 21:39:19 +08:00
}
/*comments*/
.comments-area {
/*padding-top: 25px;*/
/*border-top: 1px solid #eaeaea;*/
margin-top: 25px;
}
.comments-area ol {
list-style: none;
padding: 0;
}
.comments-area .comment-body {
border-bottom: 1px solid #f4f4f4;
padding-bottom: 20px;
margin-bottom: 20px;
}
.comment-meta {
margin-bottom: 16px;
}
.comment-meta a {
text-decoration: none;
}
.comment-author {
display: flex;
align-items: center;
}
.comment-author img {
border-radius: 50%;
}
.comment-author a {
color: #303135;
text-decoration: none;
font-weight: 700;
font-size: 16px;
}
.comment-metadata time {
color: gray;
font-size: 12px;
}
.comment-reply-title {
margin: 10px 0 5px;
}
.comment-respond input {
width: 100%;
}
.site-footer {
border-top: 1px solid #f4f4f4;
padding: 10px 0;
font-size: 13px;
}
.site-footer a {
color: rgb(0, 0, 0);
text-decoration: none;
}
.comment-form-author {
width: 48%;
float: right;
/*margin-right: 5%;*/
}
.comment-form-email {
width: 48%;
float: left;
}
.comment-form-url {
width: 100%;
float: right;
}
.comment-list li ol li {
padding-left: 1rem;
}
.reply {
margin-top: 16px;
}
.page-navigator {
display: flex;
width: 100%;
margin: 1rem 0;
}
.page-navigator li {
display: none;
}
.page-navigator .prev {
display: block;
flex: 1;
}
.page-navigator .next {
display: flex;
justify-content: flex-end;
}
.foot_bar {
z-index: 999;
position: fixed;
right: 2rem;
bottom: 2rem;
display: grid;
}
.foot_bar_items {
line-height: 24px;
text-align: center;
color: #000;
cursor: pointer;
display: inline-flex;
justify-content: center;
align-items: center;
margin: .5rem 0;
}
.changeMode {
background-color: #eee;
height: calc(26px*1);
width: calc(100px*1);
border-radius: calc(100px*1);
display: inline-block;
}
.toggle-dark-mode-ignore {
position: absolute;
width: 50%;
background-color: #fff;
box-shadow: 0 2px 15px rgb(0 0 0 / 15%);
transition: transform .3s cubic-bezier(.25, .46, .45, .94);
height: calc(26px*1);
border-radius: calc(100px*1);
display: inline-block;
left: 0;
}
.dark-mode-ignore {
width: 74%;
position: absolute;
display: flex;
justify-content: space-between;
user-select: none;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.switch-light-text {
font-size: calc(12px*1);
font-weight: 500;
color: #555;
margin: 0;
padding-bottom: 0;
}
.switch-dark-text {
font-size: calc(12px*1);
font-weight: 500;
color: #555;
margin: 0;
padding-bottom: 0;
opacity: .5;
}
img.biaoqing[src*="qutu"],
img.biaoqing[src*="huaji"] {
width: auto;
height: auto;
max-height: 5rem;
}
label {
font-size: 13px;
color: #9e9e9e;
}
.skills-section {
margin-top: 2.5rem;
}
.section-title {
font-size: 0.9rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: #9ca3af;
margin-bottom: 1.25rem;
}
.skills-container {
display: flex;
flex-direction: column;
gap: 0.75rem;
overflow: hidden;
}
.skills-row {
position: relative;
overflow: hidden;
}
.skills-track {
display: inline-flex;
align-items: center;
gap: 0.75rem;
white-space: nowrap;
animation: skills-scroll 26s linear infinite;
}
.skills-track-reverse {
animation-direction: reverse;
}
.skill-tag {
display: inline-flex;
align-items: center;
padding: 0.35rem 0.9rem;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.7);
background: rgba(255, 255, 255, 0.86);
font-size: 0.8rem;
color: #374151;
}
@keyframes skills-scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
[data-theme="dark"] .section-title {
color: #6b7280;
}
[data-theme="dark"] .skill-tag {
border-color: rgba(31, 41, 55, 0.85);
background: rgba(15, 23, 42, 0.96);
color: #e5e7eb;
}
textarea {
width: 100%;
overflow: auto;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
padding: 8px;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button,
input[type=button],
input[type=reset],
input[type=submit] {
border: 1px solid;
border-color: #000 #000 #000;
border-radius: 3px;
background-color: #222;
color: #fff;
padding: 6px;
margin-top: 10px;
margin-left: 23%;
}
.ell {
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.navigation:before,
.navigation:after {
content: "";
display: table;
table-layout: fixed;
}
.clear:after,
.entry-content:after,
.wrapper:after,
.navigation:after {
clear: both;
}
.site-header {
padding: 25px 0;
}
.site-branding {
float: left;
padding-top: 20px;
}
.site-title {
margin: 0;
line-height: 1;
font-size: 14px;
font-weight: 500;
}
.site-title a {
text-decoration: none;
color: #2d2e33;
font-size: 20px;
font-weight: bold;
}
#site-navigation {
display: block;
float: right;
}
#site-menu {
list-style: none;
margin: 0;
padding-left: 0;
}
#site-menu li {
float: left;
position: relative;
}
#site-menu li a {
display: block;
text-decoration: none;
color: #525252;
padding: 20px 0 20px 30px;
}
.site-content {
margin-bottom: 50px;
}
.archives__heading {
font-size: 24px;
margin-top: 0;
margin-bottom: 25px;
}
.archives__list {
list-style: none;
padding: 0;
}
.archives__list li {
padding: 5px 0;
font-size: 14px;
}
.archives__list li a {
max-width: 50%;
display: inline-block;
text-decoration: none;
}
.archives__list li span {
color: #a9a9a9;
max-width: 50%;
display: inline-block;
float: right;
text-align: right;
}
.entry-header {
margin-bottom: 32px;
}
.entry-title {
font-size: 30px;
margin: 0;
}
.entry-content p {
font-size: 14px;
}
.entry-content img {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
border-radius: 5px;
}
#showResult {
margin-top: 1rem;
}
#showResult .biaoqing {
width: 24px;
}
/*owo表情*/
.biaoqing[src*="bqb"] {
width: 77px;
display: block;
}
.OwO .OwO-body .OwO-items-image .OwO-item[data-input*="bqb"] {
max-width: calc(50% - 10px);
;
}
.biaoqing {
width: 36px;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
/*友圈微调*/
.cf-article[data-v-56cae500] {
border: 1px solid #43464A !important;
}
/*评论头衔*/
.badge-xztx {
margin-left: .2rem;
background-color: #000000;
color: #fff;
padding: 2px 5px;
border-radius: 5px;
font-size: .8rem;
font-weight: bold;
line-height: .8rem;
}
.visitor {
margin-left: .2rem;
background-color: #939393;
color: #fff;
padding: 2px 5px;
border-radius: 5px;
font-size: .8rem;
font-weight: bold;
line-height: .8rem;
}
/*评论取消按钮*/
#cancel-huifu {
position: relative;
left: 190px;
}
/*评论提醒*/
.pl-img {
width: 40px;
height: 40px;
border-radius: 0px;
animation: fade-in .65s ease-in none;
}
.massage-container {
/*display: flex;*/
height: 100%;
justify-content: center;
align-items: center;
}
.rectangle {
display: flex;
align-items: center;
justify-content: flex-start;
positon: relative;
width: 50px;
height: 40px;
background: #000000;
transform: scale(0);
border-radius: 50%;
color: white;
opacity: 0;
overflow: hidden;
animation: scale-in .3s ease-out forwards,
expand .35s .25s ease-out forwards;
}
.notification-text {
/*display: flex;*/
align-items: center;
padding: 0 16px;
font-family: 'Roboto', sans-serif;
font-size: 14px;
animation: fade-in .65s ease-in forwards;
}
@keyframes scale-in {
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes expand {
50% {
width: 350px;
border-radius: 6px;
}
100% {
width: 300px;
border-radius: 4px;
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .2),
0px 1px 1px 0px rgba(0, 0, 0, .14),
0px 3px 3px -1px rgba(0, 0, 0, .12);
}
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: .8;
}
}
/*新文章提醒样式*/
.new-post-message {
content: '';
2026-01-23 20:38:35 +08:00
background: url(/img/1457247750.png) no-repeat;
2026-01-22 21:39:19 +08:00
width: 26px;
height: 14px;
background-size: contain;
display: inline-block;
vertical-align: middle;
margin-top: -2px;
margin-left: 1px;
}
/*文章图片懒加载*/
.load-img {
width: 100%;
height: auto;
background-color: #CCCCCC;
display: block;
}
/*模糊加载动画*/
@-webkit-keyframes blur {
0% {
-webkit-filter: blur(10px);
/* Chrome, Opera */
-moz-filter: blur(10px);
-ms-filter: blur(10px);
filter: blur(10px);
}
50% {
-webkit-filter: blur(50px);
-moz-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
100% {
-webkit-filter: blur(0px);
-moz-filter: blur(0px);
-ms-filter: blur(0px);
filter: blur(0px);
}
}
.lazy-img {
-webkit-animation-name: blur;
/*动画名称*/
-webkit-animation-duration: 2s;
/*动画持续时间*/
-webkit-animation-iteration-count: 1;
/*动画次数*/
-webkit-animation-delay: 0s;
/*延迟时间*/
}
.blog-img {
-webkit-animation-name: blur;
/*动画名称*/
-webkit-animation-duration: 1s;
/*动画持续时间*/
-webkit-animation-iteration-count: 1;
/*动画次数*/
-webkit-animation-delay: 0s;
/*延迟时间*/
}
/*弹幕相关css*/
.container {
text-align: initial !important;
}
.dm-biaoqing[src*="bqb"] {
width: 37px;
display: inline;
}
.dm-biaoqing {
width: 36px;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
/*wechat样式*/
@font-face {
font-family: 'Color Emoji';
src: local('Apple Color Emoji'), local('Segoe UI Emoji'), local('Segoe UI Symbol'), local('Noto Color Emoji');
}
.qmbox .container {
--background_color: #f3f3f3;
--text_color: #191919;
}
@media (prefers-color-scheme:dark) {
.qmbox .container {
--background_color: #111;
--text_color: #e6e6e6;
}
}
.qmbox .container {
--font_size_grande: 16px;
--font_size_tall: 14px;
--font_size_short: 12px;
--line_height_grande: 20px;
--line_height_tall: 22px;
--line_height_short: 20px;
}
.qmbox .container {
padding-top: var(--line_height_short);
padding-bottom: var(--line_height_short);
color: var(--text_color);
/*font: normal var(--font_size_grande) / var(--line_height_grande) 'PingFang SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, 'Color Emoji';*/
background: var(--background_color);
}
@media screen and (min-width: 550px) {
.qmbox .g-width {
width: 550px;
margin: 0 auto;
}
}
@media screen and (max-width: 459px) {
.qmbox .g-width {
width: 100%;
min-width: 320px;
max-width: 460px;
}
}
.qmbox .g-clear-both::after {
display: block;
clear: both;
content: '';
}
.qmbox .g-left {
display: inline;
float: left;
}
.qmbox .g-right {
display: inline;
float: right;
}
.qmbox .g-inline-center {
text-align: center;
}
.qmbox .date {
--date_text_color: #aaa;
}
@media (prefers-color-scheme:dark) {
.qmbox .date {
--date_text_color: #595859;
}
}
.qmbox .date {
height: var(--line_height_short);
color: var(--date_text_color);
font-size: var(--font_size_short);
line-height: var(--line_height_short);
font-weight: 300;
}
.qmbox .dialog {
--message_text_color: #1e1e1e;
--message_background_color: #fff;
--reply_text_color: #0f170a;
--reply_background_color: #95ec69;
--quote_text_color: #7d7d7d;
--quote_background_color: #e8e8e8;
}
@media (prefers-color-scheme:dark) {
.qmbox .dialog {
--message_text_color: #eaeaea;
--message_background_color: #2c2c2c;
--reply_text_color: #04120a;
--reply_background_color: #28b561;
--quote_text_color: #989898;
--quote_background_color: #1a1a1a;
}
}
.qmbox .dialog {
--avatar_size: 36px;
--border_radius: 4px;
--bubble_lr_offset: 20px;
--bubble_arrow_size: 10px;
--bubble_padding_vertical: 10px;
--bubble_padding_vertical_quote: 8px;
--bubble_padding_horizontal: 12px;
margin-top: -10px;
}
.qmbox .bubble {
max-width: calc(100% - (var(--bubble_lr_offset) * 2) - var(--avatar_size) - var(--bubble_arrow_size));
margin-top: var(--line_height_short);
clear: both;
}
.qmbox .bubble:first-child {
margin-top: 0;
}
.qmbox .message {
margin-left: var(--bubble_lr_offset);
}
.qmbox .reply {
margin-right: var(--bubble_lr_offset);
}
.qmbox .bubble-text {
position: relative;
max-width: calc(100% - var(--avatar_size) - var(--bubble_arrow_size) - (var(--bubble_padding_horizontal) * 2));
padding: var(--bubble_padding_vertical) var(--bubble_padding_horizontal);
border-radius: var(--border_radius);
font-size: var(--font_size_tall);
line-height: var(--line_height_tall);
word-break: break-all;
}
.qmbox .bubble-text::after {
position: absolute;
top: calc((var(--avatar_size) - var(--bubble_arrow_size)) / 2);
display: block;
width: 0;
height: 0;
border: calc(var(--bubble_arrow_size) / 2) solid transparent;
content: '';
}
.qmbox .message-text {
margin-left: var(--bubble_arrow_size);
color: var(--message_text_color);
background-color: var(--message_background_color);
}
.qmbox .message-text::after {
left: calc(var(--bubble_arrow_size) / 2 * -1);
border-left: 0 none;
border-right: calc(var(--bubble_arrow_size) / 2) solid var(--message_background_color);
}
.qmbox .reply-text {
margin-right: var(--bubble_arrow_size);
color: var(--reply_text_color);
background-color: var(--reply_background_color);
}
.qmbox .reply-text::after {
right: calc(var(--bubble_arrow_size) / 2 * -1);
border-left: calc(var(--bubble_arrow_size) / 2) solid var(--reply_background_color);
border-right: 0 none;
}
.qmbox .bubble-avatar {
width: var(--avatar_size);
height: var(--avatar_size);
border-radius: var(--border_radius);
}
.qmbox .quote {
max-width: calc(100% - ((var(--bubble_arrow_size) + var(--avatar_size) + var(--bubble_lr_offset) + var(--bubble_padding_horizontal)) * 2));
margin-top: calc(var(--bubble_padding_horizontal) / 2);
padding: var(--bubble_padding_vertical_quote) var(--bubble_padding_horizontal);
border-radius: var(--border_radius);
color: var(--quote_text_color);
font-size: var(--font_size_short);
line-height: var(--line_height_short);
background-color: var(--quote_background_color);
word-break: break-all;
clear: both;
}
.qmbox .message+.quote {
margin-left: calc(var(--bubble_arrow_size) + var(--avatar_size) + var(--bubble_lr_offset));
}
.qmbox .reply+.quote {
margin-right: calc(var(--bubble_arrow_size) + var(--avatar_size) + var(--bubble_lr_offset));
}
.message-text img {
width: 25px !important;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
.reply-text img {
width: 25px !important;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
/*鱼塘*/
#random-post {
min-height: 32px;
}
.random-friends-post {
text-decoration: none;
font-weight: 700;
padding: 0 4px;
}
.random-friends-post:hover {
text-decoration: none;
border-radius: 4px;
}
.random-post-start {
transition: 2s;
}
#random-post {
min-height: 32px;
border-radius: 12px;
margin-top: 8px;
clear: both;
}
@media screen and (max-width: 3000px) {
.cf-article[data-v-56cae500] {
margin: 8px;
border-radius: 8px;
font-weight: bolder;
overflow: hidden;
transition: all .3s ease-out;
position: relative;
padding: 1rem;
border: var(--pyq-boder);
height: 160px;
display: flex;
align-content: space-between;
flex-direction: column;
justify-content: space-between;
box-shadow: var(--heo-shadow-border);
}
.cf-article-item[data-v-56cae500] {
width: 50% !important;
}
.cf-article-author[data-v-56cae500],
.cf-img-avatar[data-v-56cae500] {
align-self: center;
text-align: center;
transition: .3s;
}
.cf-img-avatar[data-v-56cae500] {
display: inline-block !important;
position: absolute;
width: 40%;
border-radius: 50%;
margin: 0 0 -4px !important;
background: #fff;
opacity: .1;
z-index: 0;
right: -20px;
bottom: -20px;
}
.cf-article-title[data-v-56cae500] {
font-weight: 500;
position: relative;
z-index: 2;
width: 100%;
display: block;
letter-spacing: 1.5px;
font-size: 18px;
align-self: start;
text-align: left;
line-height: 40px;
padding: 0;
margin-bottom: 10px;
transition: .3s;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box !important;
-webkit-box-orient: vertical;
}
.cf-article-time[data-v-56cae500] {
font-size: 12px;
text-align: right;
float: right;
font-weight: 400;
transition: .3s;
margin-left: auto;
z-index: 1;
}
.cf-article-author[data-v-56cae500] {
line-height: 1;
font-size: 14px;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
z-index: 1;
color: var(--pyq-fontcolor);
font-size: .7rem;
background-color: var(--heo-gray-op);
padding: 8px;
border-radius: 20px;
/*display: flex;*/
align-items: center;
}
.cf-article-author[data-v-56cae500],
.cf-img-avatar[data-v-56cae500] {
align-self: center;
text-align: center;
transition: .3s;
}
#cf-footer[data-v-56cae500],
#cf-more[data-v-56cae500] {
display: flex;
flex-direction: column;
}
#cf-footer[data-v-56cae500] {
width: 100%;
margin-top: .5rem;
align-items: flex-end;
color: var(--pyq-secondtext);
}
}
@media screen and (max-width: 1400px) {
.cf-article-item[data-v-56cae500] {
width: 100%;
}
}
@media screen and (max-width: 768px) {
.cf-article-item[data-v-56cae500] {
width: 100% !important;
}
}
.lazyload {
width: 100%;
}
/* 设置进度条的背景色 */
.bar {
background: #2aae67 !important;
}
/* 友联样式 */
.links-item {
padding: 10px 10px 15px 0px;
font-size: 14px;
width: 49%;
box-sizing: border-box;
display: inline-block;
vertical-align: top;
background: #fafafa;
background: var(--light-header);
border-radius: 4px
}
.links-item img {
border-radius: 4px;
float: left;
width: 45px;
height: 45px;
background: #fff
}
.links-item a {
display: block;
padding: 0 14px;
margin-top: 13px;
margin-left: 44px;
word-break: keep-all;
height: 32px;
}
.links-item {
width: 135px;
margin: 0 12px 12px 0;
}
@media only screen and (max-width: 683px) {
.links-item {
width: 144px;
/* margin: 0 0 8px */
}
}
.dark .links-item {
background: #252627;
background: var(--dark-header)
}
.tocify {
width: 20%;
max-height: 90%;
overflow: auto;
position: absolute;
right: 2%;
border-radius: 6px
}
.tocify ul,
.tocify li {
list-style: none;
margin: 0;
padding: 0;
border: none;
line-height: 30px
}
.tocify li a {
display: inline-block;
text-indent: 10px;
font-size: 14px;
text-decoration: none
}
.tocify ul ul li a:before {
content: "- "
}
@media only screen and (max-width: 683px) {
.tocify {
display: none
}
}
.dark .light-wormhole,
.dark-wormhole {
display: none
}
.dark .dark-wormhole {
display: block
}
/* 热力图css */
.ch-plugin-calendar-label {
position: absolute;
top: 20px;
left: 30px;
gutter: 5px;
}
/** 周几初标签部分样式 **/
.ch-plugin-calendar-label-text {
fill: var(--gray-500) !important;
font-size: 12px !important;
transform: translate(6px, 0px);
}
/** 隐藏月份信息 **/
.ch-domain-text {
display: none;
}
/* 修改小方块的背景填充颜色 */
[data-theme=dark] .ch-subdomain-bg {
fill: var(--gray-200);
}
[data-theme="dark"] canvas[data-zr-dom-id] {
filter: brightness(0.78) contrast(0.9) saturate(0.85);
transition: filter 0.35s ease;
}
/* 弹幕css */
.barrage {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-moz-box-orient: horizontal;
-moz-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
cursor: pointer;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
word-break: keep-all;
white-space: nowrap;
-webkit-border-radius: 20px;
border-radius: 20px;
padding: 0 20px;
padding-left: 15px;
opacity: 0.8;
will-change: transform;
position: absolute;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: auto;
text-shadow: 0ch;
z-index: 11;
}
.barrage .header-avatar {
-webkit-border-radius: 50%;
border-radius: 50%;
position: relative;
right: 7px;
display: flex;
align-items: center;
justify-content: center;
2026-01-23 22:02:11 +08:00
width: 26px !important;
height: 26px !important;
min-width: 26px !important;
2026-01-22 21:39:19 +08:00
}
.barrage .header-avatar img {
2026-01-23 22:02:11 +08:00
width: 26px !important;
height: 26px !important;
2026-01-22 21:39:19 +08:00
object-fit: cover;
2026-01-23 22:02:11 +08:00
border-radius: 50%;
2026-01-22 21:39:19 +08:00
}
.pause {
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
/* artalk样式重写css */
.artalk {
margin-top: 20px
}
.atk-list-read-more {
padding-bottom: 0!important
}
.atk-comment {
padding: 10px 0!important
}
.artalk>.atk-list>.atk-list-header {
display: none!important
}
.atk-content p {
font-size: 1rem!important;
color: #000!important
}
.atk-comment-children>.atk-comment-wrap {
margin-top: 6px!important
}
.atk-content {
line-height: 1.5!important
}
.atk-avatar img {
border-radius: 50%!important
}
.atk-comment>.atk-avatar img {
width: 24px!important;
height: 24px!important;
margin-top: 8px
}
.atk-main {
margin-left: 34px!important
}
.atk-comment-children>.atk-comment-wrap>.atk-comment {
padding: 0!important;
margin: auto
}
.atk-comment>.atk-main>.atk-header {
margin-bottom: 0!important
}
.atk-textarea {
min-height: 70px!important
}
.artalk>.atk-list>.atk-list-footer {
bottom: auto!important
}
/* Artalk 昵称颜色增强 - 白昼模式 */
.artalk .atk-item.atk-nick,
.atk-item.atk-nick {
color: #000 !important;
font-weight: 700 !important;
}
.atk-header .atk-nick {
color: #000 !important;
font-weight: normal !important;
}
.artalk .atk-item.atk-nick a,
2026-01-24 17:53:12 +08:00
.atk-item.atk-nick a,
[data-theme="light"] .artalk .atk-item.atk-nick a,
[data-theme="light"] .atk-item.atk-nick a {
2026-01-22 21:39:19 +08:00
color: #000!important
}
.atk-ua {
color: #999!important;
background: var(--frame-color)!important
}
.atk-ua-wrap {
font-size: 11px
}
.atk-text {
color: #999!important
}
.atk-badge {
display: none!important
}
.atk-list-no-comment,.atk-copyright,.atk-copyright a {
color: #999!important
}
.atk-send-btn {
padding: 0 10px!important;
min-width: 5em!important;
background: 0 0!important;
border: .5px solid var(--text-highlight-color)!important;
color: var(--text-highlight-color)!important
}
.atk-send-btn:hover {
opacity: .7
}
[data-theme="dark"] .atk-send-btn {
background: rgba(15, 23, 42, 0.9) !important;
border-color: #4b5563 !important;
color: #e5e7eb !important;
}
.atk-list-header .atk-dropdown-wrap .atk-dropdown-item.active span,.atk-list-header .atk-dropdown-wrap .atk-dropdown-item span:hover {
color: var(--text-highlight-color)!important
}
.artalk {
--at-color-main: #666!important;
--at-color-pink: var(--text-highlight-color)!important;
--at-color-light: var(--text-highlight-color)!important;
--at-color-meta: #999!important;
--at-color-border: #DDD !important
}
.artalk,
.atk-layer-wrap {
color: var(--text-content-color) !important;
}
[data-theme="dark"] .artalk,
[data-theme="dark"] .atk-layer-wrap {
color: var(--text-content-dark-color) !important;
}
.atk-content img {
max-height: 1.1rem!important;
vertical-align: middle;
margin-left: 2px;
margin-right: 2px;
margin-top: -4px!important
}
.artalk .atk-content p {
color: var(--text-content-color)!important;
}
[data-theme="dark"] .artalk .atk-content p {
color: var(--text-content-dark-color)!important;
}
[data-theme="dark"] .atk-content,
[data-theme="dark"] .atk-header {
color: var(--text-content-dark-color)!important;
}
[data-theme="dark"] .artalk .atk-item.atk-nick,
[data-theme="dark"] .atk-item.atk-nick,
[data-theme="dark"] .atk-header .atk-nick {
color: var(--text-content-dark-color)!important;
}
.atk-loading {
padding: 10px 14px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.86);
box-shadow: var(--card-shadow-light);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
}
.atk-loading-spinner svg circle {
stroke: var(--text-highlight-color);
}
/* 通用样式 */
.artalk .atk-main-editor input.atk-nick,
.artalk .atk-main-editor input.atk-email,
.artalk .atk-main-editor input.atk-link {
color: var(--text-content-color)!important;
}
/* 暗黑模式样式:重复类选择器,最大化权重 */
[data-theme="dark"] .artalk.artalk .atk-main-editor input.atk-nick,
[data-theme="dark"] .artalk.artalk .atk-main-editor input.atk-email,
[data-theme="dark"] .artalk.artalk .atk-main-editor input.atk-link {
color: var(--text-content-dark-color)!important;
}
[data-theme="dark"] .atk-loading {
background: rgba(15, 23, 42, 0.95)!important;
border-radius: 8px;
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
[data-theme="dark"] .atk-loading-spinner svg circle {
stroke: #e5e7eb!important;
}
[data-theme="dark"] .uk-divider-icon {
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20fill%3D%22none%22%20stroke%3D%22%236b7280%22%20stroke-width%3D%222%22%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227%22%20%2F%3E%3C%2Fsvg%3E");
}
[data-theme="dark"] .uk-divider-icon::after,
[data-theme="dark"] .uk-divider-icon::before {
border-bottom-color: #374151;
}
.atk-comment>.atk-main>.atk-body>.atk-content img {
height: 2rem!important;
box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}
.atk-comment .atk-height-limit:after {
margin-bottom: 20px
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp[data-type=image]>.atk-item {
height: 32px!important;
width: 32px!important
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp>.atk-item {
font-size: 24px!important;
padding: 0!important
}
.atk-notify.atk-fade-in {
background: #666!important;
margin-bottom: 6px
}
.atk-pinned-badge {
background: #999!important
}
.atk-send-reply {
background: 0 0!important
}
.atk-reply-to {
border-left: 3px solid #fff!important
}
.atk-plug-panel-wrap {
height: 110px!important
}
img[atk-emoticon] {
max-height: 20px!important
}
.atk-bottom {
padding: 5px 10px 10px 5px!important
}
.atk-main-editor>.atk-header {
padding: 10px 5px 0!important
}
.atk-main-editor>.atk-plug-panel-wrap {
border-top: .5px solid var(--at-color-border)!important
}
.atk-textarea {
padding: 10px!important
}
.atk-main-editor {
border: 1px solid var(--frame-color)!important
}
.artalk code {
border: 1px solid #ffbe98!important;
border-radius: 4px!important;
background: 0 0!important;
margin: 0 4px!important
}
.atk-main-editor>.atk-textarea-wrap>.atk-textarea {
line-height: 1.6
}
.atk-main-editor>.atk-bottom .atk-state-btn .atk-text-wrap {
color: #999
}
.artalk .atk-main-editor {
border: 1px solid var(--artalk-editer-color)!important
}
@media(prefers-color-scheme: dark) {
.atk-content p {
color:var(--text-content-dark-color)!important
}
.pinglun {
color: var(--text-content-dark-color)
}
.artalk .atk-main-editor {
background: 0 0!important;
border: 1px solid var(--frame-dark-color)!important
}
.atk-textarea {
color: var(--text-content-dark-color)!important;
font-size: 15px;
background: 0 0!important
}
.atk-ua {
color: #666!important;
background: var(--background-dark-color)!important
}
.artalk {
--at-color-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0), #242021)!important;
--at-color-bg: #1A1718 !important;
--at-color-border: #332D2F !important;
--at-color-meta: #666 !important;
--at-color-bg-grey: var(--background-dark-color) !important;
--at-color-bg-grey: #332D2E!important
}
.artalk.atk-dark-mode {
--at-color-grey: #747474 !important
}
.atk-text,.atk-list-no-comment,.atk-copyright,.atk-copyright a {
color: #666!important
}
.atk-pinned-badge {
color: var(--text-content-dark-color)!important;
background: #666!important
}
.atk-reply-to {
border-left: 3px solid #242021!important
}
.atk-comment .atk-main .atk-footer .atk-actions span:hover {
color: #999!important
}
.artalk .atk-item.atk-nick a,
.atk-item.atk-nick a {
2026-01-24 17:29:48 +08:00
color: var(--link-color-dark)!important
2026-01-22 21:39:19 +08:00
}
.atk-main-editor>.atk-bottom .atk-state-btn {
background: var(--background-dark-color)!important
}
.atk-main-editor>.atk-bottom .atk-state-btn .atk-text-wrap {
color: #666
}
}
2026-01-24 17:29:48 +08:00
/* 兼容手动切换暗黑模式 */
[data-theme="dark"] .artalk .atk-item.atk-nick a,
[data-theme="dark"] .atk-item.atk-nick a {
color: var(--link-color-dark)!important
}
2026-01-22 21:39:19 +08:00
.artalk.hidden {
display: none
}
@media(max-width: 700px) {
.atk-main-editor>.atk-header {
display:block!important
}
}
#post-writing p{
margin-bottom: 10px;
}
#post-writing h2 {
position: relative; /* 确保伪元素的定位相对于 h2 元素 */
display: inline-block; /* 使 h2 的宽度适应内容 */
margin-top: 5px;
margin-bottom: 0px;
}
#post-writing h2:nth-child(1) {
position: relative; /* 确保伪元素的定位相对于 h2 元素 */
display: inline-block; /* 使 h2 的宽度适应内容 */
margin-top: 13px;
margin-bottom: 0px;
}
#post-writing h2::before {
content: "";
position: absolute;
height: 7px;
bottom: 0px;
left: -1px;
width: 100%; /* 使用 100% 使伪元素宽度跟随文字 */
z-index: -1;
background-color: #494949;
opacity: 0.15;
transform: skew(-35deg);
transition: opacity .2s ease;
border-radius: 3px 8px 10px 6px;
transition: 0.1s ease background-color;
}
#post-writing p>code{
font-size: 14px;
background-color: #e3e3e3!important;
color: #000000!important;
}
/* Hugo Chroma Syntax Highlighting */
/* Day Mode (GitHub) */
/* Background */ .bg { background-color:#fff; }
/* PreWrapper */ .chroma { color:#24292e;background-color:#fff; }
/* Other */ .chroma .x { }
/* Error */ .chroma .err { color:#a61717;background-color:#e3d2d2 }
/* CodeLine */ .chroma .cl { }
/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
/* LineHighlight */ .chroma .hl { background-color:#e5e5e5 }
/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
/* Line */ .chroma .line { display:flex; }
/* Keyword */ .chroma .k { color:#000;font-weight:bold }
/* KeywordConstant */ .chroma .kc { color:#000;font-weight:bold }
/* KeywordDeclaration */ .chroma .kd { color:#000;font-weight:bold }
/* KeywordNamespace */ .chroma .kn { color:#000;font-weight:bold }
/* KeywordPseudo */ .chroma .kp { color:#000;font-weight:bold }
/* KeywordReserved */ .chroma .kr { color:#000;font-weight:bold }
/* KeywordType */ .chroma .kt { color:#458;font-weight:bold }
/* Name */ .chroma .n { }
/* NameAttribute */ .chroma .na { color:#008080 }
/* NameBuiltin */ .chroma .nb { color:#0086b3 }
/* NameBuiltinPseudo */ .chroma .bp { color:#999 }
/* NameClass */ .chroma .nc { color:#458;font-weight:bold }
/* NameConstant */ .chroma .no { color:#008080 }
/* NameDecorator */ .chroma .nd { color:#3c5d5d;font-weight:bold }
/* NameEntity */ .chroma .ni { color:#800080 }
/* NameException */ .chroma .ne { color:#900;font-weight:bold }
/* NameFunction */ .chroma .nf { color:#900;font-weight:bold }
/* NameFunctionMagic */ .chroma .fm { }
/* NameLabel */ .chroma .nl { color:#900;font-weight:bold }
/* NameNamespace */ .chroma .nn { color:#555 }
/* NameOther */ .chroma .nx { }
/* NameProperty */ .chroma .py { }
/* NameTag */ .chroma .nt { color:#000080 }
/* NameVariable */ .chroma .nv { color:#008080 }
/* NameVariableClass */ .chroma .vc { color:#008080 }
/* NameVariableGlobal */ .chroma .vg { color:#008080 }
/* NameVariableInstance */ .chroma .vi { color:#008080 }
/* NameVariableMagic */ .chroma .vm { }
/* Literal */ .chroma .l { }
/* LiteralDate */ .chroma .ld { }
/* LiteralString */ .chroma .s { color:#d14 }
/* LiteralStringAffix */ .chroma .sa { color:#d14 }
/* LiteralStringBacktick */ .chroma .sb { color:#d14 }
/* LiteralStringChar */ .chroma .sc { color:#d14 }
/* LiteralStringDelimiter */ .chroma .dl { color:#d14 }
/* LiteralStringDoc */ .chroma .sd { color:#d14 }
/* LiteralStringDouble */ .chroma .s2 { color:#d14 }
/* LiteralStringEscape */ .chroma .se { color:#d14 }
/* LiteralStringHeredoc */ .chroma .sh { color:#d14 }
/* LiteralStringInterpol */ .chroma .si { color:#d14 }
/* LiteralStringOther */ .chroma .sx { color:#d14 }
/* LiteralStringRegex */ .chroma .sr { color:#009926 }
/* LiteralStringSingle */ .chroma .s1 { color:#d14 }
/* LiteralStringSymbol */ .chroma .ss { color:#990073 }
/* LiteralNumber */ .chroma .m { color:#099 }
/* LiteralNumberBin */ .chroma .mb { color:#099 }
/* LiteralNumberFloat */ .chroma .mf { color:#099 }
/* LiteralNumberHex */ .chroma .mh { color:#099 }
/* LiteralNumberInteger */ .chroma .mi { color:#099 }
/* LiteralNumberIntegerLong */ .chroma .il { color:#099 }
/* LiteralNumberOct */ .chroma .mo { color:#099 }
/* Operator */ .chroma .o { color:#000;font-weight:bold }
/* OperatorWord */ .chroma .ow { color:#000;font-weight:bold }
/* Punctuation */ .chroma .p { }
/* Comment */ .chroma .c { color:#998;font-style:italic }
/* CommentHashbang */ .chroma .ch { color:#998;font-style:italic }
/* CommentMultiline */ .chroma .cm { color:#998;font-style:italic }
/* CommentSingle */ .chroma .c1 { color:#998;font-style:italic }
/* CommentSpecial */ .chroma .cs { color:#999;font-weight:bold;font-style:italic }
/* CommentPreproc */ .chroma .cp { color:#999;font-weight:bold;font-style:italic }
/* CommentPreprocFile */ .chroma .cpf { color:#999;font-weight:bold;font-style:italic }
/* Generic */ .chroma .g { }
/* GenericDeleted */ .chroma .gd { color:#000;background-color:#fdd }
/* GenericEmph */ .chroma .ge { color:#000;font-style:italic }
/* GenericError */ .chroma .gr { color:#a00 }
/* GenericHeading */ .chroma .gh { color:#999 }
/* GenericInserted */ .chroma .gi { color:#000;background-color:#dfd }
/* GenericOutput */ .chroma .go { color:#888 }
/* GenericPrompt */ .chroma .gp { color:#555 }
/* GenericStrong */ .chroma .gs { font-weight:bold }
/* GenericSubheading */ .chroma .gu { color:#aaa }
/* GenericTraceback */ .chroma .gt { color:#a00 }
/* GenericUnderline */ .chroma .gl { text-decoration:underline }
/* TextWhitespace */ .chroma .w { color:#bbb }
/* Night Mode (Dracula) */
/* Background */ [data-theme="dark"] .bg { color:#f8f8f2;background-color:#282a36; }
/* PreWrapper */ [data-theme="dark"] .chroma { color:#f8f8f2;background-color:#282a36; }
/* Other */ [data-theme="dark"] .chroma .x { }
/* Error */ [data-theme="dark"] .chroma .err { }
/* CodeLine */ [data-theme="dark"] .chroma .cl { }
/* LineLink */ [data-theme="dark"] .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
/* LineTableTD */ [data-theme="dark"] .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
/* LineTable */ [data-theme="dark"] .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
/* LineHighlight */ [data-theme="dark"] .chroma .hl { background-color:#3d3f4a }
/* LineNumbersTable */ [data-theme="dark"] .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
/* LineNumbers */ [data-theme="dark"] .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
/* Line */ [data-theme="dark"] .chroma .line { display:flex; }
/* Keyword */ [data-theme="dark"] .chroma .k { color:#ff79c6 }
/* KeywordConstant */ [data-theme="dark"] .chroma .kc { color:#ff79c6 }
/* KeywordDeclaration */ [data-theme="dark"] .chroma .kd { color:#8be9fd;font-style:italic }
/* KeywordNamespace */ [data-theme="dark"] .chroma .kn { color:#ff79c6 }
/* KeywordPseudo */ [data-theme="dark"] .chroma .kp { color:#ff79c6 }
/* KeywordReserved */ [data-theme="dark"] .chroma .kr { color:#ff79c6 }
/* KeywordType */ [data-theme="dark"] .chroma .kt { color:#8be9fd }
/* Name */ [data-theme="dark"] .chroma .n { }
/* NameAttribute */ [data-theme="dark"] .chroma .na { color:#50fa7b }
/* NameBuiltin */ [data-theme="dark"] .chroma .nb { color:#8be9fd;font-style:italic }
/* NameBuiltinPseudo */ [data-theme="dark"] .chroma .bp { }
/* NameClass */ [data-theme="dark"] .chroma .nc { color:#50fa7b }
/* NameConstant */ [data-theme="dark"] .chroma .no { }
/* NameDecorator */ [data-theme="dark"] .chroma .nd { }
/* NameEntity */ [data-theme="dark"] .chroma .ni { }
/* NameException */ [data-theme="dark"] .chroma .ne { }
/* NameFunction */ [data-theme="dark"] .chroma .nf { color:#50fa7b }
/* NameFunctionMagic */ [data-theme="dark"] .chroma .fm { }
/* NameLabel */ [data-theme="dark"] .chroma .nl { color:#8be9fd;font-style:italic }
/* NameNamespace */ [data-theme="dark"] .chroma .nn { }
/* NameOther */ [data-theme="dark"] .chroma .nx { }
/* NameProperty */ [data-theme="dark"] .chroma .py { }
/* NameTag */ [data-theme="dark"] .chroma .nt { color:#ff79c6 }
/* NameVariable */ [data-theme="dark"] .chroma .nv { color:#8be9fd;font-style:italic }
/* NameVariableClass */ [data-theme="dark"] .chroma .vc { color:#8be9fd;font-style:italic }
/* NameVariableGlobal */ [data-theme="dark"] .chroma .vg { color:#8be9fd;font-style:italic }
/* NameVariableInstance */ [data-theme="dark"] .chroma .vi { color:#8be9fd;font-style:italic }
/* NameVariableMagic */ [data-theme="dark"] .chroma .vm { }
/* Literal */ [data-theme="dark"] .chroma .l { }
/* LiteralDate */ [data-theme="dark"] .chroma .ld { }
/* LiteralString */ [data-theme="dark"] .chroma .s { color:#f1fa8c }
/* LiteralStringAffix */ [data-theme="dark"] .chroma .sa { color:#f1fa8c }
/* LiteralStringBacktick */ [data-theme="dark"] .chroma .sb { color:#f1fa8c }
/* LiteralStringChar */ [data-theme="dark"] .chroma .sc { color:#f1fa8c }
/* LiteralStringDelimiter */ [data-theme="dark"] .chroma .dl { color:#f1fa8c }
/* LiteralStringDoc */ [data-theme="dark"] .chroma .sd { color:#f1fa8c }
/* LiteralStringDouble */ [data-theme="dark"] .chroma .s2 { color:#f1fa8c }
/* LiteralStringEscape */ [data-theme="dark"] .chroma .se { color:#f1fa8c }
/* LiteralStringHeredoc */ [data-theme="dark"] .chroma .sh { color:#f1fa8c }
/* LiteralStringInterpol */ [data-theme="dark"] .chroma .si { color:#f1fa8c }
/* LiteralStringOther */ [data-theme="dark"] .chroma .sx { color:#f1fa8c }
/* LiteralStringRegex */ [data-theme="dark"] .chroma .sr { color:#f1fa8c }
/* LiteralStringSingle */ [data-theme="dark"] .chroma .s1 { color:#f1fa8c }
/* LiteralStringSymbol */ [data-theme="dark"] .chroma .ss { color:#f1fa8c }
/* LiteralNumber */ [data-theme="dark"] .chroma .m { color:#bd93f9 }
/* LiteralNumberBin */ [data-theme="dark"] .chroma .mb { color:#bd93f9 }
/* LiteralNumberFloat */ [data-theme="dark"] .chroma .mf { color:#bd93f9 }
/* LiteralNumberHex */ [data-theme="dark"] .chroma .mh { color:#bd93f9 }
/* LiteralNumberInteger */ [data-theme="dark"] .chroma .mi { color:#bd93f9 }
/* LiteralNumberIntegerLong */ [data-theme="dark"] .chroma .il { color:#bd93f9 }
/* LiteralNumberOct */ [data-theme="dark"] .chroma .mo { color:#bd93f9 }
/* Operator */ [data-theme="dark"] .chroma .o { color:#ff79c6 }
/* OperatorWord */ [data-theme="dark"] .chroma .ow { color:#ff79c6 }
/* Punctuation */ [data-theme="dark"] .chroma .p { }
/* Comment */ [data-theme="dark"] .chroma .c { color:#6272a4 }
/* CommentHashbang */ [data-theme="dark"] .chroma .ch { color:#6272a4 }
/* CommentMultiline */ [data-theme="dark"] .chroma .cm { color:#6272a4 }
/* CommentSingle */ [data-theme="dark"] .chroma .c1 { color:#6272a4 }
/* CommentSpecial */ [data-theme="dark"] .chroma .cs { color:#6272a4 }
/* CommentPreproc */ [data-theme="dark"] .chroma .cp { color:#ff79c6 }
/* CommentPreprocFile */ [data-theme="dark"] .chroma .cpf { color:#ff79c6 }
/* Generic */ [data-theme="dark"] .chroma .g { }
/* GenericDeleted */ [data-theme="dark"] .chroma .gd { color:#f55 }
/* GenericEmph */ [data-theme="dark"] .chroma .ge { text-decoration:underline }
/* GenericError */ [data-theme="dark"] .chroma .gr { }
/* GenericHeading */ [data-theme="dark"] .chroma .gh { font-weight:bold }
/* GenericInserted */ [data-theme="dark"] .chroma .gi { color:#50fa7b;font-weight:bold }
/* GenericOutput */ [data-theme="dark"] .chroma .go { color:#44475a }
/* GenericPrompt */ [data-theme="dark"] .chroma .gp { }
2026-01-24 18:35:57 +08:00
/* Floating Tools */
.floating-tools {
2026-01-22 21:39:19 +08:00
position: fixed;
bottom: 30px;
right: 30px;
2026-01-24 18:35:57 +08:00
z-index: 2147483647;
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}
.floating-tools a {
2026-01-22 21:39:19 +08:00
width: 40px;
height: 40px;
2026-01-24 18:35:57 +08:00
background-color: rgba(255, 255, 255, 0.6);
color: #333;
2026-01-22 21:39:19 +08:00
border-radius: 50%;
text-align: center;
line-height: 40px;
font-size: 24px;
2026-01-24 18:35:57 +08:00
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
2026-01-22 21:39:19 +08:00
cursor: pointer;
2026-01-24 18:35:57 +08:00
text-decoration: none;
2026-01-22 21:39:19 +08:00
display: flex;
justify-content: center;
align-items: center;
2026-01-24 18:35:57 +08:00
transition: all 0.3s;
backdrop-filter: blur(10px) saturate(180%);
-webkit-backdrop-filter: blur(10px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.4);
}
.floating-tools a:hover {
background-color: rgba(255, 255, 255, 0.85);
color: var(--erji-color);
transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
[data-theme="dark"] .floating-tools a {
background-color: rgba(30, 30, 30, 0.6);
color: #e5e7eb;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .floating-tools a:hover {
background-color: rgba(60, 60, 60, 0.8);
color: #fff;
}
/* Back to Top Button */
#back-to-top {
opacity: 0;
visibility: hidden;
height: 0;
width: 0;
margin: 0;
overflow: hidden;
transform: scale(0);
2026-01-22 21:39:19 +08:00
}
#back-to-top.show {
opacity: 1;
visibility: visible;
2026-01-24 18:35:57 +08:00
height: 40px;
width: 40px;
margin-top: 0;
transform: scale(1);
2026-01-22 21:39:19 +08:00
}
2026-01-24 18:35:57 +08:00
#back-to-top.show:hover {
transform: scale(1) translateY(-3px);
2026-01-22 21:39:19 +08:00
}
/* GenericStrong */ [data-theme="dark"] .chroma .gs { }
/* GenericSubheading */ [data-theme="dark"] .chroma .gu { font-weight:bold }
/* GenericTraceback */ [data-theme="dark"] .chroma .gt { }
/* GenericUnderline */ [data-theme="dark"] .chroma .gl { text-decoration:underline }
/* TextWhitespace */ [data-theme="dark"] .chroma .w { }
/* Fix Artalk comment textarea color in light mode */
.atk-textarea {
color: #1a1a1a !important;
2026-01-24 19:34:32 +08:00
background: #fff !important;
2026-01-22 21:39:19 +08:00
}
[data-theme="dark"] .atk-textarea {
color: #e5e7eb !important;
2026-01-24 19:34:32 +08:00
background: transparent !important;
2026-01-22 21:39:19 +08:00
}
/* About Page Card Style */
.about-card {
background-color: transparent;
border-radius: 0;
padding: 0;
box-shadow: none !important;
margin-bottom: 30px;
}
[data-theme="dark"] .about-card {
background-color: transparent;
box-shadow: none !important;
2024-07-11 08:59:32 +08:00
}
2026-01-23 14:31:45 +08:00
2026-01-24 19:34:32 +08:00
/* Selection Popup (Quote Button) */
#selection-popup {
position: fixed;
display: none;
background: rgba(30, 30, 30, 0.9);
color: #fff;
padding: 8px 16px;
border-radius: 8px;
font-size: 14px;
cursor: pointer;
z-index: 2147483647;
transform: translate(-50%, -100%);
pointer-events: auto;
/* Removed backdrop-filter for performance */
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: opacity 0.2s, transform 0.2s;
font-weight: 500;
line-height: 1.4;
user-select: none;
-webkit-user-select: none;
align-items: center;
gap: 6px;
white-space: nowrap;
will-change: transform, opacity;
animation: popIn 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes popIn {
0% { transform: translate(-50%, -80%) scale(0.9); opacity: 0; }
100% { transform: translate(-50%, -100%) scale(1); opacity: 1; }
}
#selection-popup i {
font-size: 16px;
}
#selection-popup::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -6px;
border-width: 6px;
border-style: solid;
border-color: rgba(30, 30, 30, 0.9) transparent transparent transparent;
}
#selection-popup:hover {
transform: translate(-50%, -110%) scale(1.05);
background: #000;
box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
[data-theme="dark"] #selection-popup {
background: rgba(255, 255, 255, 0.95);
color: #000;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] #selection-popup::after {
border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}
[data-theme="dark"] #selection-popup:hover {
background: #fff;
}
/* Artalk Comment Blockquote Redesign & Dark Mode Fix */
.atk-content blockquote {
margin: 10px 0 6px 0; /* Reduced bottom margin for tighter layout */
padding: 12px 16px;
background-color: var(--bankuai-color);
border-left: 4px solid var(--text-highlight-color);
border-radius: 4px;
color: var(--text-content-color);
position: relative;
font-style: normal;
font-weight: normal;
transition: all 0.3s ease;
}
.atk-content blockquote + p {
margin-top: 4px !important; /* Reduce spacing for paragraph immediately following blockquote */
}
.atk-content blockquote p {
margin: 0;
color: inherit !important;
font-size: 0.95rem !important;
line-height: 1.6 !important;
}
[data-theme="dark"] .atk-content blockquote {
background-color: rgba(255, 255, 255, 0.05);
border-left-color: #4b5563; /* Use a slightly lighter gray for border in dark mode */
color: var(--text-content-dark-color);
}
[data-theme="dark"] .atk-content blockquote p {
color: inherit !important;
}
2026-01-23 14:31:45 +08:00
/* Category Page Styles */
.category-container {
max-width: 100%;
}
.category-header {
2026-01-23 15:10:12 +08:00
text-align: left;
margin-bottom: 10px;
2026-01-23 14:31:45 +08:00
padding-bottom: 20px;
border-bottom: 1px dashed var(--frame-color);
}
.cat-title {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 10px;
color: var(--text-title-color);
}
.cat-meta {
color: var(--text-highlight-color);
font-size: 0.95rem;
}
.year-group {
margin-bottom: 40px;
}
.year-title {
font-size: 1.8rem;
font-weight: bold;
margin-bottom: 20px;
color: var(--text-title-color);
position: relative;
padding-left: 15px;
border-left: 4px solid var(--text-title-color);
}
[data-theme="dark"] .year-title {
border-left-color: var(--text-title-dark-color);
}
.year-list {
list-style: none;
padding: 0;
}
.year-item {
display: flex;
align-items: center;
padding: 12px 15px;
border-bottom: 1px solid var(--frame-color);
transition: all 0.3s ease;
border-radius: 6px;
}
.year-item:hover {
background-color: rgba(0, 0, 0, 0.03);
padding-left: 25px;
}
[data-theme="dark"] .year-item:hover {
background-color: rgba(255, 255, 255, 0.03);
}
.item-date {
font-family: 'Monaco', 'Consolas', monospace;
color: var(--text-highlight-color);
margin-right: 20px;
font-size: 0.9rem;
min-width: 50px;
}
.item-link {
color: var(--text-content-color);
text-decoration: none;
font-size: 1.05rem;
font-weight: 500;
flex-grow: 1;
}
[data-theme="dark"] .item-link {
color: var(--text-content-dark-color);
}
.item-link:hover {
color: var(--link-hover-color-light);
}
[data-theme="dark"] .item-link:hover {
color: var(--link-hover-color-dark);
}