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

2541 lines
74 KiB
CSS
Raw Normal View History

2024-07-28 08:31:54 +08:00
@font-face {
font-family: 'zql';
src: url('../font/zql.woff2') format('woff2'),
2024-07-30 09:35:12 +08:00
url('../font/zql.woff') format('woff');
unicode-range: U+0000-007F,
/* 基本拉丁字母 */
U+4E00-9FFF,
/* 基本汉字 */
U+2000-206F,
/* 通用标点符号 */
U+3000-303F;
/* 中文标点符号 */
2024-07-28 08:31:54 +08:00
}
2024-08-08 17:44:06 +08:00
@charset "UTF-8";:root {
2026-01-18 23:09:07 +08:00
--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;
2024-08-08 17:44:06 +08:00
--text-highlight-color: #696565;
2026-01-18 23:09:07 +08:00
--frame-dark-color: #1f2933;
2024-08-08 17:44:06 +08:00
--frame-color: #eee;
2026-01-20 23:43:45 +08:00
--artalk-editer-color: #bac6d3;
2024-08-08 17:44:06 +08:00
--erji-color: #666;
2026-01-18 23:09:07 +08:00
--sanji-color: #999;
2024-09-19 23:11:46 +08:00
--bankuai-color: #f6f6f6;
2026-01-18 23:09:07 +08:00
--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 {
background: rgba(15, 23, 42, 0.94);
box-shadow: var(--card-shadow-dark);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
}
[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;
}
[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;
2024-08-08 17:44:06 +08:00
}
2024-07-28 08:31:54 +08:00
::-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;
}
body {
font-family: 'zql', serif;
2026-01-18 23:09:07 +08:00
color: var(--text-content-color);
2024-07-28 08:31:54 +08:00
line-height: 1.6;
font-size: 16px;
2026-01-18 23:09:07 +08:00
background: var(--background-color);
2024-09-18 10:18:09 +08:00
background-image: url('../image/bg.svg');
2024-09-18 11:18:52 +08:00
background-image: url(https://usj.cc/usr/uploads/2023/06/3287615239.jpg);
background-image:url(data:image/webp;base64,UklGRlZOAABXRUJQVlA4WAoAAAAQAAAA5wMA5wMAQUxQSLdBAAAB8IX/nxpt21T9XmW3tng330Jnb47CnS7cObOFQxfudHCnC3txzuBOB3c6uJPAck2W+0qW+6qaeYbxmd9G/lVJ99XXme7OsdYVEROAH/7/4f8f/v/h/x/+/+H/F7g+ntueYpu8nI9mb2Y+R649fuodmW152/Nu7JM3v6p92IV32O7CSt5luQPTITVUzkK0ydJ3iXEHVlOMpcaKP/Nb/Ba/TSew2H2pIAwKuT/zux5+158B8PP/EPlf/EIn+N2Xo6iR+7N/K8l/8Gfx079Ekv/FnyZ0b13mdB1JMrRtez6fD4dNVgs1sn83zn83/Oz/aM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VC+VjgBeoXWxCKtaww4ZkfBPNgVBSq15qliLW9UD/zDOcRj9YL4Q7M4cWjDh/n5KESmtU6wT3znNA9HC2wuJX6JIN52Xx8tlzTrUZRP/O84B8OGqG5ke5JcnzJqOOVa+u1rDDhmd8I7vE4geomJlC0rxdz4fod1vZC/dTrBPt4EIXiFi5QNq8W2/KWZrVecE89ivoB1UK9nrow2eG1aluuPtiqtlhbUdQvADzgQhhXsyPTxUvFtFzadT7pFG5ZCBNeUkqgWkd9MnPCC1V9MjvWzuBuK6F+6lmhe0QYhGINdQ7M9S+UYmRmrAvcdS+4F1Ut+GX6EpivXybqyszoFe5bUdQvKid0C8y559IGr1IbmJ5KhXt3woQXlRXGhD6czm3givZFoj6Zjh7fYC1Uryo
2024-09-16 12:18:38 +08:00
background-repeat: space;
background-size: cover;
2024-09-18 11:29:32 +08:00
/* 小恐龙背景css */
background-repeat: round;
background-size: contain;
/* 结束 */
/* background-repeat: initial;
background-size: inherit; */
2024-07-28 08:31:54 +08:00
background-attachment: fixed;
2024-07-30 09:35:12 +08:00
z-index: 5;
2024-07-28 08:31:54 +08:00
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #cccccc;
margin: 1rem 0;
padding: 0;
}
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-size: 15px;
border: 1px solid #e8e8e8;
border-radius: 3px;
background-color: #3a3a3a;
color: #EEEEEE
}
pre,
code {
font-size: 15px;
border: 1px solid #e8e8e8;
border-radius: 3px;
background-color: #3a3a3a;
color: #EEEEEE
}
code {
padding: 1px 5px
}
pre {
padding: 8px 12px;
overflow-x: scroll
}
pre>code {
border: 0;
padding-right: 0;
padding-left: 0
}
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;
}
2026-01-18 23:09:07 +08:00
a {
color: var(--link-color-light);
text-decoration: none;
transition: color 0.35s ease;
2024-07-28 08:31:54 +08:00
}
a:hover {
2026-01-18 23:09:07 +08:00
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);
2024-07-28 08:31:54 +08:00
}
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-18 23:09:07 +08:00
background: rgba(255, 255, 255, 0.82);
box-shadow: var(--card-shadow-light);
2024-07-28 08:31:54 +08:00
border-radius: 8px;
z-index: 10;
position: relative;
text-align: center;
2026-01-18 23:09:07 +08:00
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, backdrop-filter 0.35s ease;
2024-07-28 08:31:54 +08:00
}
.header {
margin-bottom: 10px;
padding-bottom: 10px;
2026-01-18 23:09:07 +08:00
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);
}
2024-07-28 08:31:54 +08:00
}
.header h1,
.header h2 {
margin: 0;
padding: 0;
font-size: 1.6rem;
margin-bottom: 10px;
}
.header h2 {
font-size: .9rem;
line-height: 2rem;
2026-01-18 23:09:07 +08:00
margin-bottom: 0;
2024-07-28 08:31:54 +08:00
}
.header nav {
border-top: 1px solid #f4f4f4;
2026-01-18 23:09:07 +08:00
transition: border-color 0.35s ease;
2024-07-28 08:31:54 +08:00
}
.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;
2024-09-19 10:52:12 +08:00
margin-right: 15px;
2024-07-28 08:31:54 +08:00
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;
2026-01-18 23:09:07 +08:00
flex-direction: column;
justify-content: center;
align-items: flex-start;
margin-top: 0;
2024-07-28 08:31:54 +08:00
}
.header .site-description nav {
margin: 0;
padding: 0;
border: none;
min-width: 50px;
margin-bottom: 10px;
}
.header .site-description nav ul a {
display: inline-block;
margin-right: 5px;
text-decoration: none;
}
.header .site-description nav ul a:hover {
color: #586069;
}
2026-01-18 23:09:07 +08:00
/* Pjax 页面切换过渡动画 */
2026-01-20 20:09:46 +08:00
.pjax-leave {
position: absolute;
top: 0;
width: 100%;
animation: pjax-fade-out 0.3s ease-in forwards;
z-index: 0;
2026-01-18 23:09:07 +08:00
}
2026-01-20 20:09:46 +08:00
.pjax-enter {
animation: pjax-fade-in 0.3s ease-out forwards;
z-index: 1;
position: relative;
2026-01-18 23:09:07 +08:00
}
@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);
}
}
2024-07-28 08:31:54 +08:00
.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;
2026-01-18 23:09:07 +08:00
transition: color 0.35s ease, border-color 0.35s ease;
2024-07-28 08:31:54 +08:00
}
.highlight {
2024-08-07 15:50:08 +08:00
/* background: #3a3a3a;
border: 3px solid #e8e8e8; */
2024-07-28 08:31:54 +08:00
}
.highlight pre,
.highlight code,
.highlight kbd,
.highlight samp {
font-weight: normal;
background-color: inherit;
white-space: pre;
color: #EEEEEE;
}
.highlight pre {
margin-bottom: 0;
margin-top: 0;
padding: 10px;
overflow: auto;
}
.highlight pre code {
padding: 0;
}
.highlight pre::-webkit-scrollbar {
height: 10px;
}
.highlight pre::-webkit-scrollbar-button {
display: none;
}
.highlight pre::-webkit-scrollbar-thumb {
min-height: 16px;
background-color: #cccccc;
background-clip: padding-box;
border: 3px solid #fdfdfd;
border-radius: 5px;
}
.highlight pre::-webkit-scrollbar-thumb:active {
background-color: #999999;
border-width: 2px;
}
@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;
}
.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;
2026-01-18 23:09:07 +08:00
right: 50px;
background: #ffffff;
2024-07-28 08:31:54 +08:00
height: 40px;
width: 40px;
border-radius: 50%;
2026-01-18 23:09:07 +08:00
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);
}
#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;
2024-07-28 08:31:54 +08:00
}
/*美化框*/
#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;*/
2026-01-18 23:09:07 +08:00
box-shadow: 6px 0 14px -6px rgba(15, 23, 42, 0.85), -6px 0 14px -6px rgba(15, 23, 42, 0.55);
2024-07-28 08:31:54 +08:00
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 {
2024-08-04 14:08:26 +08:00
/* margin-right: 20px; */
2024-08-10 13:57:18 +08:00
/* padding-right: 20px; */
2024-07-28 08:31:54 +08:00
}
.pagination .page-item.page-previous {
text-align: right;
}
.pagination .page-item.page-next {
text-align: right;
}
2026-01-20 20:09:46 +08:00
/* 骨架屏动画 */
.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;
}
2024-07-28 08:31:54 +08:00
2026-01-20 20:09:46 +08:00
@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);
}
2024-07-28 08:31:54 +08:00
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;
2026-01-18 23:09:07 +08:00
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;
2024-07-28 08:31:54 +08:00
}
h3.diy-h3 {
cursor: pointer;
2026-01-18 23:09:07 +08:00
font-size: 1.05rem;
2024-07-28 08:31:54 +08:00
padding-left: 1px;
margin-top: 0.5em;
margin-bottom: 5px;
}
.a-archives {
2026-01-18 23:09:07 +08:00
margin-top: 6px;
2024-07-28 08:31:54 +08:00
display: inline-block;
2026-01-18 23:09:07 +08:00
color: #374151;
font-size: 0.95rem;
2024-07-28 08:31:54 +08:00
}
.articles_date_time {
padding: 3px 5px;
2026-01-18 23:09:07 +08:00
font-size: 0.75rem;
2024-07-28 08:31:54 +08:00
font-weight: 500;
line-height: 1;
background-color: rgba(52, 58, 64, .1);
color: #324b64;
margin-right: 5px;
2026-01-18 23:09:07 +08:00
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;
2024-07-28 08:31:54 +08:00
}
/*友链*/
.link_box,
.link_marks {
float: left;
padding-right: 5px;
}
.yiyandes {
font-size: .9rem;
line-height: 2rem;
margin-left: -28.6px;
margin-top: -2px;
}
/*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;
}
2026-01-18 23:09:07 +08:00
.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;
}
2024-07-28 08:31:54 +08:00
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: '';
2024-08-12 11:51:03 +08:00
background: url(https://usj.cc/pics/2023/01/1457247750.png) no-repeat;
2024-07-28 08:31:54 +08:00
width: 26px;
height: 14px;
background-size: contain;
display: inline-block;
vertical-align: middle;
2024-09-21 19:37:21 +08:00
margin-top: -2px;
margin-left: 1px;
2024-07-28 08:31:54 +08:00
}
/*文章图片懒加载*/
.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 {
2024-07-30 14:06:56 +08:00
padding: 10px 10px 15px 0px;
2024-07-28 08:31:54 +08:00
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;
2024-07-30 18:24:49 +08:00
margin: 0 12px 12px 0;
2024-07-28 08:31:54 +08:00
}
@media only screen and (max-width: 683px) {
.links-item {
2024-07-30 09:35:12 +08:00
width: 144px;
2024-07-30 18:24:49 +08:00
/* margin: 0 0 8px */
2024-07-28 08:31:54 +08:00
}
}
.dark .links-item {
background: #252627;
background: var(--dark-header)
}
.tocify {
width: 20%;
max-height: 90%;
overflow: auto;
position: absolute;
right: 2%;
border-radius: 6px
}
2024-07-30 09:35:12 +08:00
.tocify ul,
.tocify li {
2024-07-28 08:31:54 +08:00
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 {
2024-07-30 09:35:12 +08:00
display: none
2024-07-28 08:31:54 +08:00
}
}
2024-07-30 09:35:12 +08:00
.dark .light-wormhole,
.dark-wormhole {
2024-07-28 08:31:54 +08:00
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);
2024-07-30 09:35:12 +08:00
}
2026-01-18 23:09:07 +08:00
[data-theme="dark"] canvas[data-zr-dom-id] {
filter: brightness(0.78) contrast(0.9) saturate(0.85);
transition: filter 0.35s ease;
}
2024-07-30 09:35:12 +08:00
/* 弹幕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;
}
2024-07-31 09:54:29 +08:00
.barrage .header-avatar {
2024-07-30 09:35:12 +08:00
-webkit-border-radius: 50%;
2024-08-05 17:37:05 +08:00
border-radius: 50%;
2024-07-31 09:54:29 +08:00
position: relative;
right: 7px;
2024-07-30 09:35:12 +08:00
display: flex;
align-items: center;
justify-content: center;
}
2024-07-31 09:54:29 +08:00
.barrage .header-avatar img {
2024-07-30 09:35:12 +08:00
width: 100%;
height: 100%;
2024-08-05 17:37:05 +08:00
object-fit: cover;
2024-07-30 09:35:12 +08:00
}
.pause {
-webkit-animation-play-state: paused;
animation-play-state: paused;
2024-08-05 17:37:05 +08:00
}
2024-08-08 17:44:06 +08:00
/* 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;
2024-09-18 23:51:41 +08:00
color: #000!important
2024-08-08 17:44:06 +08:00
}
.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
}
2026-01-19 00:04:42 +08:00
/* Artalk 昵称颜色增强 - 白昼模式 */
2026-01-18 23:09:07 +08:00
.artalk .atk-item.atk-nick,
2026-01-21 12:56:12 +08:00
.atk-item.atk-nick {
2026-01-19 00:04:42 +08:00
color: #000 !important;
font-weight: 700 !important;
2024-08-08 17:44:06 +08:00
}
2026-01-21 12:56:12 +08:00
.atk-header .atk-nick {
color: #000 !important;
font-weight: normal !important;
}
2026-01-18 23:09:07 +08:00
.artalk .atk-item.atk-nick a,
2024-08-08 17:44:06 +08:00
.atk-item.atk-nick a {
2026-01-18 23:09:07 +08:00
color: #000!important
2024-08-08 17:44:06 +08:00
}
.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
}
2026-01-18 23:09:07 +08:00
[data-theme="dark"] .atk-send-btn {
background: rgba(15, 23, 42, 0.9) !important;
border-color: #4b5563 !important;
color: #e5e7eb !important;
}
2024-08-08 17:44:06 +08:00
.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
}
2026-01-19 00:04:42 +08:00
.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;
}
2024-08-08 17:44:06 +08:00
.atk-content img {
max-height: 1.1rem!important;
vertical-align: middle;
margin-left: 2px;
margin-right: 2px;
margin-top: -4px!important
}
2026-01-18 23:09:07 +08:00
.artalk .atk-content p {
color: var(--text-content-color)!important;
}
[data-theme="dark"] .artalk .atk-content p {
color: var(--text-content-dark-color)!important;
}
2026-01-19 00:04:42 +08:00
[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);
}
2026-01-18 23:09:07 +08:00
.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 .atk-main-editor input.atk-nick,
[data-theme="dark"] .artalk .atk-main-editor input.atk-email,
[data-theme="dark"] .artalk .atk-main-editor input.atk-link {
color: var(--text-content-dark-color)!important;
}
[data-theme="dark"] .atk-loading {
2026-01-19 00:04:42 +08:00
background: rgba(15, 23, 42, 0.95)!important;
2026-01-18 23:09:07 +08:00
border-radius: 8px;
2026-01-19 00:04:42 +08:00
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
2026-01-18 23:09:07 +08:00
}
[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;
}
2024-08-08 17:44:06 +08:00
.atk-comment>.atk-main>.atk-body>.atk-content img {
2025-04-14 20:43:31 +08:00
height: 2rem!important;
2024-09-21 14:21:25 +08:00
box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
2024-08-08 17:44:06 +08:00
}
.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
}
2026-01-20 23:43:45 +08:00
.artalk .atk-main-editor {
border: 1px solid var(--artalk-editer-color)!important
}
2024-08-08 17:44:06 +08:00
@media(prefers-color-scheme: dark) {
.atk-content p {
color:var(--text-content-dark-color)!important
}
.pinglun {
color: var(--text-content-dark-color)
}
.atk-main-editor {
background: 0 0!important;
2026-01-18 23:09:07 +08:00
border: 1px solid var(--frame-dark-color)!important
2024-08-08 17:44:06 +08:00
}
.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
}
2026-01-18 23:09:07 +08:00
.artalk .atk-item.atk-nick a,
2024-08-08 17:44:06 +08:00
.atk-item.atk-nick a {
2026-01-20 23:43:45 +08:00
color: #999!important
2024-08-08 17:44:06 +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
}
}
.artalk.hidden {
display: none
}
@media(max-width: 700px) {
.atk-main-editor>.atk-header {
display:block!important
}
2024-09-16 11:41:30 +08:00
}
2024-09-16 14:03:22 +08:00
#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;
}
2024-09-16 13:42:17 +08:00
#post-writing h2::before {
2024-09-16 11:41:30 +08:00
content: "";
position: absolute;
2024-09-16 13:37:27 +08:00
height: 7px;
bottom: 0px;
left: -1px;
2024-09-16 14:03:22 +08:00
width: 100%; /* 使用 100% 使伪元素宽度跟随文字 */
2024-09-16 11:41:30 +08:00
z-index: -1;
background-color: #494949;
2024-09-16 13:37:27 +08:00
opacity: 0.15;
2024-09-16 11:41:30 +08:00
transform: skew(-35deg);
transition: opacity .2s ease;
border-radius: 3px 8px 10px 6px;
transition: 0.1s ease background-color;
2024-09-16 18:44:46 +08:00
}
#post-writing p>code{
font-size: 14px;
background-color: #e3e3e3!important;
color: #000000!important;
2024-09-27 19:57:46 +08:00
}