.site-search-mobile-btn {
display: none;
}
.post-title {
font-size: 30px;
padding-bottom: 15px;
}
.post-title-block {
position: relative;
margin: 14px 0 22px;
padding: 4px 0 18px;
border: 0;
border-bottom: 1px solid var(--line-primary);
text-align: center;
}
.post-title-block h1 {
max-width: 760px;
margin: 0 auto 12px;
color: var(--text-primary);
font-family: var(--font-main);
font-size: clamp(22px, 3.4vw, 30px);
font-weight: 600;
line-height: 1.45;
letter-spacing: 0.02em;
}
.post-meta {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 8px 14px;
width: 100%;
padding: 2px 0;
color: var(--text-secondary);
font-size: 13px;
line-height: 24px;
}
.post-meta-item {
display: inline-flex;
align-items: center;
gap: 7px;
}
.post-meta-item:not(:first-child)::before {
content: "";
width: 3px;
height: 3px;
margin-right: 6px;
border-radius: 50%;
background: var(--ink-decor);
}
.post-date-icon {
position: relative;
width: 14px;
height: 14px;
border: 1px solid var(--accent-brown);
border-radius: 4px;
opacity: .9;
}
.post-date-icon::before,
.post-date-icon::after {
content: "";
position: absolute;
top: -3.5px;
width: 2px;
height: 5px;
border-radius: 2px;
background: var(--accent-brown);
}
.post-date-icon::before {
left: 3px;
}
.post-date-icon::after {
right: 3px;
}
.post-date-icon+time {
color: var(--text-secondary);
font-size: 13px;
}
.post-edit-link {
display: inline-flex;
align-items: center;
height: 24px;
margin-left: 0;
padding: 0 8px;
border: 1px solid var(--control-border);
border-radius: 999px;
background: var(--control-bg);
box-shadow: var(--control-shadow);
color: var(--control-text);
font-size: 12px;
}
.tp-post-article {
color: var(--text-body);
font-family: var(--font-main);
font-size: clamp(15px, 1.8vw, 16px);
line-height: 1.92;
}
.tp-post-article .post_content {
width: 100%;
max-width: none;
margin: 8px 0 24px;
padding: clamp(18px, 3vw, 28px) clamp(16px, 4vw, 36px) clamp(22px, 3.4vw, 32px);
border: 1px solid var(--line-secondary);
border-radius: clamp(12px, 1.8vw, 16px);
background: var(--bg-card);
box-shadow: 0 16px 42px rgba(62, 57, 52, 0.035);
backdrop-filter: blur(1.2px);
-webkit-backdrop-filter: blur(1.2px);
color: var(--text-body);
overflow-wrap: break-word;
word-break: break-word;
box-sizing: border-box;
}
.tp-post-article .post_content *,
.tp-post-article .post_content *::before,
.tp-post-article .post_content *::after {
box-sizing: border-box;
}
.tp-post-article .post_content p {
margin: 0 0 18px;
color: var(--text-body);
font-size: inherit;
font-weight: 400;
line-height: 1.92;
letter-spacing: 0.01em;
text-align: justify;
word-break: normal;
}
body.tp-paragraph-indent .tp-post-article .post_content p {
text-indent: 2em;
}
.tp-post-article .post_content> :first-child {
margin-top: 0;
}
.tp-post-article .post_content> :last-child {
margin-bottom: 0;
}
.tp-post-article .post_content h1,
.tp-post-article .post_content h2,
.tp-post-article .post_content h3,
.tp-post-article .post_content h4,
.tp-post-article .post_content h5,
.tp-post-article .post_content h6 {
clear: both;
margin: 34px 0 14px;
position: relative;
padding: 0 0 9px;
color: var(--text-primary);
font-family: var(--font-main);
font-weight: 600;
line-height: 1.5;
letter-spacing: 0;
}
.tp-post-article .post_content h1::before,
.tp-post-article .post_content h2::before,
.tp-post-article .post_content h3::before {
content: "";
position: absolute;
left: 0;
bottom: 0;
border-radius: 999px;
background: linear-gradient(90deg, var(--ink-decor), var(--accent-brown));
transform: scaleX(1);
transform-origin: left center;
transition: transform .22s ease;
}
.tp-post-article .post_content h1::before {
width: 52px;
height: 3px;
}
.tp-post-article .post_content h2::before {
width: 40px;
height: 3px;
}
.tp-post-article .post_content h3::before {
width: 25px;
height: 2px;
}
.tp-post-article .post_content h1:hover::before,
.tp-post-article .post_content h2:hover::before,
.tp-post-article .post_content h3:hover::before {
transform: scaleX(1.3);
}
.tp-post-article .post_content h1 {
margin-top: 38px;
font-size: 22px;
}
.tp-post-article .post_content h2 {
font-size: 20px;
}
.tp-post-article .post_content h3 {
font-size: 18px;
}
.tp-post-article .post_content h4 {
font-size: 16px;
}
.tp-post-article .post_content h5 {
font-size: 14px;
}
.tp-post-article .post_content h6 {
color: var(--text-secondary);
font-size: 12px;
}
.tp-post-article .post_content strong,
.tp-post-article .post_content b {
color: var(--text-primary);
font-weight: 700;
}
.tp-post-article .post_content em,
.tp-post-article .post_content i {
color: var(--text-body);
font-style: italic;
}
.tp-post-article .post_content del,
.tp-post-article .post_content s {
color: var(--text-muted);
text-decoration-color: rgba(110, 79, 47, 0.45);
text-decoration-thickness: 1px;
}
.tp-post-article .post_content mark {
padding: 0 5px;
border-radius: 4px;
background: color-mix(in srgb, var(--ink-decor) 24%, transparent);
color: var(--text-primary);
}
.tp-post-article .post_content abbr[title] {
border-bottom: 1px dotted var(--accent-brown);
cursor: help;
text-decoration: none;
}
.tp-post-article .post_content blockquote {
margin: 22px 0;
padding: 15px 18px 15px 22px;
border: 1px solid color-mix(in srgb, var(--accent-brown) 42%, var(--line-primary));
border-left: 5px solid var(--accent-brown);
border-radius: 12px 8px 8px 12px;
background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.42), 0 8px 20px rgba(62, 57, 52, 0.045);
color: var(--text-body);
line-height: 1.9;
}
.tp-post-article .post_content blockquote p {
margin: 0 0 10px;
}
.tp-post-article .post_content blockquote p:last-child {
margin-bottom: 0;
}
.tp-post-article .post_content ul,
.tp-post-article .post_content ol {
display: block;
margin: 16px 0 20px;
padding: 0 0 0 1.55em;
}
.tp-post-article .post_content ul {
list-style: none;
}
.tp-post-article .post_content ol {
counter-reset: tp-post-ol;
list-style: none;
padding-left: 1.85em;
}
.tp-post-article .post_content li {
display: list-item;
position: relative;
margin: 7px 0;
padding: 0 0 0 0.35em;
color: var(--text-body);
line-height: 1.86;
letter-spacing: 0.01em;
text-align: left;
word-break: normal;
}
.tp-post-article .post_content ul>li::before {
content: "";
position: absolute;
top: 0.72em;
left: -1.08em;
width: 8px;
height: 8px;
border: 1px solid var(--accent-brown);
border-radius: 50%;
background: radial-gradient(circle, var(--accent-brown) 0 2px, var(--bg-card) 2.5px);
}
.tp-post-article .post_content ol>li {
counter-increment: tp-post-ol;
}
.tp-post-article .post_content ol>li::before {
content: counter(tp-post-ol);
position: absolute;
top: 0.28em;
left: -1.95em;
box-sizing: border-box;
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border: 1px solid color-mix(in srgb, var(--accent-brown) 36%, transparent);
border-radius: 50%;
background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
box-shadow: 0 2px 5px rgba(92, 70, 48, .06), inset 0 0 0 1px rgba(255, 255, 255, .48);
color: var(--accent-brown);
font-size: 12px;
font-weight: 700;
line-height: 1;
text-align: center;
font-variant-numeric: tabular-nums;
}
.tp-post-article .post_content li>ul,
.tp-post-article .post_content li>ol {
margin: 6px 0 8px;
}
.tp-post-article .post_content input[type="checkbox"] {
flex: 0 0 auto;
position: relative;
width: 16px;
height: 16px;
margin: 0 9px 0 0;
border: 1px solid var(--line-secondary);
border-radius: 4px;
background: var(--bg-soft);
appearance: none;
-webkit-appearance: none;
vertical-align: -2px;
}
.tp-post-article .post_content input[type="checkbox"]::after {
content: "";
position: absolute;
left: 4px;
top: 1px;
width: 5px;
height: 9px;
border-right: 2px solid #4F88B7;
border-bottom: 2px solid #4F88B7;
transform: rotate(42deg);
}
.tp-post-article .post_content input[type="checkbox"]:checked {
border-color: var(--accent-brown);
background: var(--bg-soft);
}
.tp-post-article .post_content input[type="checkbox"]:checked::after {
border-color: #6B975C;
}
.tp-post-article .post_content .contains-task-list,
.tp-post-article .post_content ul:has(.task-list-item) {
padding-left: 0;
}
.tp-post-article .post_content .task-list-item,
.tp-post-article .post_content li:has(> input[type="checkbox"]) {
display: flex;
align-items: flex-start;
gap: 0;
padding-left: 0;
list-style: none;
}
.tp-post-article .post_content li:has(input[type="checkbox"])::before {
display: none;
}
.tp-post-article .post_content .task-list-item-checkbox[disabled],
.tp-post-article .post_content input[type="checkbox"][disabled] {
cursor: default;
opacity: 1;
}
.tp-post-article .post_content hr {
height: 1px;
margin: 30px 0;
padding: 0;
border: 0;
background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-brown) 35%, transparent), transparent);
}
.tp-post-article .post_content code:not([class]),
.tp-post-article .post_content p code,
.tp-post-article .post_content li code,
.tp-post-article .post_content td code {
margin: 0 2px;
padding: 2px 6px;
border: 1px solid var(--line-secondary);
border-radius: 5px;
background: var(--bg-soft);
color: #7A4B3A;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 0.88em;
font-weight: 500;
letter-spacing: 0;
vertical-align: baseline;
}
.tp-post-article .post_content div.code-toolbar {
position: relative;
margin: 24px 0;
padding-top: 36px;
border: 1px solid var(--text-secondary);
border-radius: 10px;
background: var(--bg-soft);
box-shadow: 0 8px 24px rgba(62, 57, 52, 0.05);
overflow: hidden;
}
.tp-post-article .post_content div.code-toolbar::before {
content: "";
position: absolute;
z-index: 2;
top: 13px;
left: 15px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #DD5F58;
box-shadow: 18px 0 #D9A94E, 36px 0 #6E9B73;
}
.tp-post-article .post_content div.code-toolbar>.toolbar {
position: absolute;
inset: 7px 10px auto 10px;
display: flex;
align-items: center;
justify-content: center;
width: auto;
height: 22px;
padding: 0;
text-align: center;
opacity: 1;
pointer-events: none;
}
.tp-post-article .post_content div.code-toolbar>.toolbar .toolbar-item {
display: inline-flex;
align-items: center;
justify-content: center;
height: 22px;
color: #80756C;
font-family: var(--font-main);
font-size: 13px;
font-weight: 600;
line-height: 22px;
pointer-events: auto;
}
.tp-post-article .post_content div.code-toolbar>.toolbar button {
position: absolute;
top: 1px;
right: 0;
height: 20px;
padding: 0 8px;
border: 1px solid color-mix(in srgb, var(--accent-brown) 28%, transparent);
border-radius: 999px;
background: var(--bg-card);
color: var(--text-secondary);
font-family: var(--font-main);
font-size: 12px;
line-height: 18px;
white-space: nowrap;
}
.tp-post-article .post_content div.code-toolbar>.toolbar button span {
display: inline;
color: inherit;
font: inherit;
}
.tp-post-article .post_content div.code-toolbar>.toolbar button:hover {
border-color: color-mix(in srgb, var(--accent-brown) 48%, transparent);
color: var(--accent-brown);
}
.tp-post-article .post_content pre,
.tp-post-article .post_content pre[class*="language-"] {
margin: 22px 0;
padding: 16px 18px;
border: 1px solid var(--line-secondary);
border-radius: 10px;
background: rgba(59, 53, 48, 0.94);
box-shadow: 0 8px 24px rgba(80, 64, 48, 0.06);
color: #F8F4ED;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 13px;
line-height: 1.78;
letter-spacing: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.tp-post-article .post_content div.code-toolbar>pre,
.tp-post-article .post_content div.code-toolbar>pre[class*="language-"] {
margin: 0 10px 10px;
border: 0;
border-top: 1px solid color-mix(in srgb, var(--text-secondary) 36%, transparent);
border-radius: 0 0 7px 7px;
box-shadow: none;
}
.tp-post-article .post_content pre[class*="language-"] {
scrollbar-width: thin;
scrollbar-color: rgba(248, 244, 237, 0.38) rgba(255, 255, 255, 0.06);
}
.tp-post-article .post_content pre[class*="language-"]::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.tp-post-article .post_content pre[class*="language-"]::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.06);
border-radius: 999px;
}
.tp-post-article .post_content pre[class*="language-"]::-webkit-scrollbar-thumb {
background: rgba(248, 244, 237, 0.38);
border-radius: 999px;
}
.tp-post-article .post_content pre code,
.tp-post-article .post_content pre[class*="language-"] code {
margin: 0;
padding: 0;
border: 0;
background: transparent;
color: inherit;
font-size: inherit;
line-height: inherit;
}
.tp-post-article .post_content pre[class*="language-"].line-numbers {
padding-left: 3.8em;
max-height: 32rem;
}
.tp-post-article .post_content .line-numbers .line-numbers-rows {
top: 16px;
left: -3.8em;
border-right: 1px solid color-mix(in srgb, var(--bg-soft) 16%, transparent);
background: transparent;
}
.tp-post-article .post_content .line-numbers-rows>span::before {
color: color-mix(in srgb, var(--bg-soft) 45%, transparent);
}
.tp-post-article .post_content table {
width: 100%;
margin: 22px 0;
border-collapse: separate;
border-spacing: 0;
table-layout: auto;
border: 1px solid var(--line-secondary);
border-radius: 9px;
background: var(--bg-card);
overflow: hidden;
}
.tp-post-article .post_content iframe,
.tp-post-article .post_content video,
.tp-post-article .post_content embed,
.tp-post-article .post_content object {
max-width: 100%;
}
.tp-post-article .post_content thead {
background: var(--bg-soft);
color: #3D3128;
}
.tp-post-article .post_content th,
.tp-post-article .post_content td {
padding: 11px 14px;
border-right: 1px solid var(--line-secondary);
border-bottom: 1px solid var(--line-secondary);
color: var(--text-body);
font-size: 14px;
line-height: 1.68;
text-align: left;
vertical-align: top;
}
.tp-post-article .post_content th {
color: #3B3028;
font-weight: 600;
}
.tp-post-article .post_content th[align="center"],
.tp-post-article .post_content td[align="center"],
.tp-post-article .post_content th[style*="text-align:center"],
.tp-post-article .post_content td[style*="text-align:center"],
.tp-post-article .post_content th[style*="text-align: center"],
.tp-post-article .post_content td[style*="text-align: center"] {
text-align: center !important;
}
.tp-post-article .post_content th[align="right"],
.tp-post-article .post_content td[align="right"],
.tp-post-article .post_content th[style*="text-align:right"],
.tp-post-article .post_content td[style*="text-align:right"],
.tp-post-article .post_content th[style*="text-align: right"],
.tp-post-article .post_content td[style*="text-align: right"] {
text-align: right !important;
}
.tp-post-article .post_content tr> :last-child {
border-right: 0;
}
.tp-post-article .post_content tbody tr:last-child>td {
border-bottom: 0;
}
.tp-post-article .post_content tbody tr:nth-child(even) {
background: var(--bg-card);
}
.tp-post-article .post_content img {
display: block;
max-width: 100%;
height: auto;
margin: 12px auto;
border-radius: 8px;
}
.tp-post-article .post_content p:has(> img:only-child) {
margin: 12px 0;
}
.tp-post-article .post_content figure {
margin: 14px 0;
}
.tp-post-article .post_content figcaption {
margin-top: 8px;
color: var(--text-muted);
font-size: 13px;
line-height: 1.6;
text-align: center;
}
.tp-post-article .post_content kbd {
display: inline-block;
min-width: 1.6em;
padding: 1px 6px;
border: 1px solid #D8C9B5;
border-bottom-width: 2px;
border-radius: 5px;
background: #FCFAF6;
color: #5B5148;
font-family: "SFMono-Regular", Consolas, monospace;
font-size: 0.82em;
line-height: 1.5;
text-align: center;
}
.tp-post-article .post_content sup {
margin: 0 2px;
color: var(--accent-brown);
font-size: 0.75em;
}
.tp-post-article .post_content .footnotes,
.tp-post-article .post_content .footnotes-list {
margin-top: 30px;
padding-top: 14px;
border-top: 1px solid var(--line-primary);
color: var(--text-secondary);
font-size: 14px;
}
.tp-post-article .post_content .footnotes ol {
margin: 0;
}
.tp-post-article .post_content .footnotes>hr {
display: none;
}
.tp-post-article .post_content details {
margin: 20px 0;
padding: 13px 15px;
border: 1px solid var(--line-secondary);
border-radius: 9px;
background: var(--bg-card);
}
.tp-post-article .post_content summary {
cursor: pointer;
color: var(--accent-brown);
font-weight: 500;
}
.tp-post-article .post_content .mx-hide-notice,
.tp-post-article .post_content .mx-hide-content,
.tp-post-article .post_content .card:not(cat_article_video) {
display: block;
margin: 20px 0;
padding: 16px 18px;
border: 1px solid var(--line-secondary);
border-radius: 9px;
background: var(--bg-card);
box-shadow: none;
color: var(--text-body);
text-align: left;
text-indent: 0;
}
.tp-post-article .post_content .mx-hide-notice {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
text-align: center;
}
.tp-post-article .post_content .mx-hide-icon {
flex: 0 0 auto;
width: 20px;
height: 20px;
color: #6C543B;
}
.tp-post-article .post_content .cat_container {
display: grid;
gap: 10px;
margin: 22px 0;
}
.tp-post-article .post_content .cat_container.grid2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tp-post-article .post_content .cat_container.grid3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tp-post-article .post_content .mx-photo-row {
display: flex;
gap: 8px;
width: 100%;
margin: 12px 0;
padding: 0;
}
.tp-post-article .post_content .mx-photo-item {
flex: 1 1 0;
min-width: 0;
display: block;
padding: 0;
border: 1px solid var(--line-secondary);
border-radius: 8px;
background: var(--bg-card);
box-shadow: 0 6px 16px rgba(62, 57, 52, 0.035);
overflow: hidden;
transition: all .22s ease;
}
.tp-post-article .post_content .mx-photo-item img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 16 / 10;
margin: 0;
border-radius: 0;
object-fit: cover;
}
.tp-post-article .post_content .mx-photo-row+.mx-photo-row {
margin-top: -4px;
}
.tp-post-article .post_content .mx_notice {
--notice-accent: #5470a6;
--notice-bg: color-mix(in srgb, var(--notice-accent) 9%, var(--bg-card));
--notice-border: color-mix(in srgb, var(--notice-accent) 28%, var(--line-secondary));
align-items: flex-start;
display: flex;
gap: 11px;
margin: 14px 0;
padding: 12px 15px;
border: 1px solid var(--notice-border);
border-radius: 8px;
background: var(--notice-bg);
color: color-mix(in srgb, var(--notice-accent) 72%, var(--text-primary));
font: 500 15px/1.8 var(--font-main);
}
.tp-post-article .post_content .mx_notice_icon {
flex: 0 0 auto;
width: 19px;
height: 19px;
margin-top: 4px;
color: var(--notice-accent);
fill: color-mix(in srgb, var(--notice-accent) 16%, var(--bg-card));
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2;
}
.tp-post-article .post_content .mx_notice_icon circle {
stroke: currentColor;
stroke-width: 1.6;
}
.tp-post-article .post_content .mx_notice_content {
min-width: 0;
}
.tp-post-article .post_content .mx_notice_content> :last-child {
margin-bottom: 0;
}
.tp-post-article .post_content .mx_notice+.mx_notice {
margin-top: 10px;
}
.mx_timeline {
position: relative;
margin: 18px 0;
padding-left: 10px;
}
.mx_timeline_card {
padding: 24px 30px 26px;
}
.mx_timeline_card .mx_timeline {
margin-top: 22px;
}
.mx_timeline::before {
content: "";
position: absolute;
left: 6px;
top: 9px;
bottom: 12px;
width: 1px;
background: linear-gradient(180deg, rgba(184, 135, 77, .38), rgba(184, 135, 77, .08));
}
.mx_timeline_item {
position: relative;
display: grid;
grid-template-columns: 116px minmax(0, 1fr);
padding: 0 0 20px;
}
.mx_timeline_item:last-child {
padding-bottom: 0;
}
.mx_timeline_dot {
position: absolute;
left: -8px;
top: 6px;
width: 10px;
height: 10px;
border: 2px solid #b78c60;
border-radius: 50%;
background: var(--bg-card);
box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg-card) 80%, transparent);
}
.mx_timeline_time {
margin-left: 10px;
color: #8f7355;
font: 500 13px/1.9 var(--font-main);
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.mx_timeline_content {
margin: 0;
color: var(--text-primary);
font: 400 14px/1.9 var(--font-main);
}
:root[data-theme="dark"] .mx_timeline_time,
:root[data-theme="dark"] .mx_timeline_content {
color: var(--text-body);
}
.tp-post-article .post_content .mx_post_card {
display: block;
position: relative;
width: 50%;
margin: 16px auto;
padding: 12px 12px 8px;
border: 1px solid var(--line-soft);
border-radius: 6px;
background: color-mix(in srgb, var(--bg-card) 88%, #f1f1f1);
color: var(--text-primary);
text-decoration: none;
}
.tp-post-article .post_content .mx_post_card_badge {
position: absolute;
top: 8px;
right: 8px;
padding: 2px 6px;
border-radius: 999px;
background: color-mix(in srgb, var(--accent-brown) 12%, var(--bg-card));
color: var(--accent-brown);
font: 600 11px/1.4 var(--font-main);
}
.tp-post-article .post_content .mx_post_card:hover {
border-color: color-mix(in srgb, var(--accent-brown) 42%, var(--line-secondary));
}
.tp-post-article .post_content .mx_post_card_main {
align-items: center;
display: flex;
gap: 12px;
}
.tp-post-article .post_content .mx_post_card_main>span {
display: grid;
flex: 1 1 auto;
gap: 4px;
min-width: 0;
padding-right: 46px;
}
.tp-post-article .post_content .mx_post_card_icon {
flex: 0 0 auto;
width: 34px;
height: 34px;
padding: 8px;
border-radius: 50%;
background: color-mix(in srgb, var(--accent-brown) 12%, var(--bg-card));
color: var(--accent-brown);
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.8;
}
.tp-post-article .post_content .mx_post_card strong {
display: block;
color: var(--text-primary);
font: 700 15px/1.5 var(--font-main);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-post-article .post_content .mx_post_card em,
.tp-post-article .post_content .mx_post_card small {
color: var(--text-secondary);
font: 500 12px/1.4 var(--font-main);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-post-article .post_content .mx_post_card em {
display: block;
min-width: 0;
}
.tp-post-article .post_content .mx_post_card small {
display: block;
margin-top: 10px;
padding-top: 7px;
border-top: 1px solid var(--line-soft);
}
.tp-post-article .post_content .mx_post_card small {
align-items: center;
display: flex;
justify-content: space-between;
}
.tp-post-article .post_content .mx_post_card b,
.tp-post-article .post_content .mx_post_card time {
color: inherit;
font: inherit;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-post-article .post_content .mx_post_card time {
flex: 0 0 auto;
margin-left: 8px;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_post_card {
background: color-mix(in srgb, var(--bg-card) 88%, var(--bg-soft));
border-color: var(--line-primary);
}
.tp-post-article .post_content .mx_notice_red {
--notice-accent: #b85249;
}
.tp-post-article .post_content .mx_notice_green {
--notice-accent: #4f8a62;
}
.tp-post-article .post_content .mx_notice_orange {
--notice-accent: #b77a32;
}
.tp-post-article .post_content .mx_notice_blue {
--notice-accent: #4d78a8;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_notice {
--notice-bg: color-mix(in srgb, var(--notice-accent) 18%, var(--bg-card));
--notice-border: color-mix(in srgb, var(--notice-accent) 42%, var(--line-secondary));
color: color-mix(in srgb, var(--notice-accent) 58%, var(--text-primary));
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_notice_icon {
fill: color-mix(in srgb, var(--notice-accent) 14%, var(--bg-card));
stroke-width: 2.1;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_notice_red {
--notice-accent: #e17970;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_notice_green {
--notice-accent: #76b889;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_notice_orange {
--notice-accent: #dfa052;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_notice_blue {
--notice-accent: #78a7d6;
}
.tp-post-article .post_content .mx_download {
display: block;
width: 50%;
margin: 16px auto;
padding: 16px;
border: 1px dashed color-mix(in srgb, var(--text-secondary) 55%, var(--line-secondary));
border-radius: 8px;
background: color-mix(in srgb, var(--bg-card) 88%, #f2f2f2);
color: var(--text-primary);
text-decoration: none;
box-shadow: none;
box-sizing: border-box;
}
.tp-post-article .post_content .mx_download_head {
align-items: center;
display: flex;
gap: 12px;
justify-content: space-between;
min-width: 0;
}
.tp-post-article .post_content .mx_download_file {
align-items: center;
display: flex;
gap: 10px;
min-width: 0;
}
.tp-post-article .post_content .mx_download_icon {
width: 32px;
height: 32px;
padding: 8px;
border-radius: 4px;
background: color-mix(in srgb, var(--text-muted) 12%, var(--line-soft));
color: color-mix(in srgb, var(--text-primary) 72%, var(--text-secondary));
fill: none;
flex: 0 0 auto;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.5;
}
.tp-post-article .post_content .mx_download_name {
color: inherit;
font: 600 16px/1.45 var(--font-main);
min-width: 0;
overflow-wrap: anywhere;
}
.tp-post-article .post_content .mx_download_attrs {
display: grid;
gap: 6px;
margin-top: 12px;
}
.tp-post-article .post_content .mx_download_attr {
align-items: baseline;
color: var(--text-secondary);
display: flex;
font: 500 13px/1.5 var(--font-main);
gap: 16px;
justify-content: space-between;
min-width: 0;
}
.tp-post-article .post_content .mx_download_attr_name,
.tp-post-article .post_content .mx_download_attr_value {
min-width: 0;
overflow-wrap: anywhere;
}
.tp-post-article .post_content .mx_download_attr_name {
color: var(--text-secondary);
}
.tp-post-article .post_content .mx_download_attr_value {
color: var(--text-secondary);
flex: 0 1 auto;
font-weight: 500;
text-align: right;
}
.tp-post-article .post_content .mx_download_action {
align-self: center;
align-items: center;
display: inline-flex;
gap: 4px;
justify-content: center;
min-width: 78px;
padding: 7px 10px;
border-radius: 4px;
background: color-mix(in srgb, #1e90ff 14%, var(--bg-card));
color: #1e90ff;
font: 700 13px/1 var(--font-main);
text-decoration: none;
white-space: nowrap;
}
.tp-post-article .post_content .mx_download_action:hover {
background: color-mix(in srgb, #1e90ff 20%, var(--bg-card));
color: #1e90ff;
}
.tp-post-article .post_content .mx_download_action_icon {
width: 13px;
height: 13px;
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.6;
}
:root[data-theme="dark"] .tp-post-article .post_content .mx_download {
background: color-mix(in srgb, var(--bg-card) 88%, var(--bg-soft));
border-color: color-mix(in srgb, var(--text-secondary) 46%, var(--line-secondary));
}
@media (max-width: 560px) {
.tp-post-article .post_content .mx_post_card {
width: 100%;
}
.tp-post-article .post_content .mx_post_card_main>span {
padding-right: 42px;
}
.mx_timeline {
padding-left: 8px;
}
.mx_timeline_item {
grid-template-columns: 104px minmax(0, 1fr);
padding-bottom: 16px;
}
.mx_timeline_time {
font-size: 12px;
}
.tp-post-article .post_content .mx_download {
width: 100%;
padding: 14px;
}
.tp-post-article .post_content .mx_download_head {
gap: 12px;
}
.tp-post-article .post_content .mx_download_icon {
width: 30px;
height: 30px;
padding: 8px;
}
.tp-post-article .post_content .mx_download_action {
min-width: 72px;
padding: 7px 9px;
}
.tp-post-article .post_content .mx_download_attr {
gap: 12px;
}
}
.tp-post-article .post_content .cat_collapse {
margin: 20px 0;
border: 1px solid color-mix(in srgb, var(--accent-brown) 26%, var(--line-secondary));
border-radius: 8px;
background: var(--bg-card);
overflow: hidden;
}
.tp-post-article .post_content .collapse-btn {
display: flex;
align-items: center;
width: 100%;
padding: 11px 15px;
border: 0;
border-bottom: 1px solid color-mix(in srgb, var(--accent-brown) 18%, var(--line-secondary));
background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
color: var(--accent-brown);
font: 600 15px/22px var(--font-main);
text-align: left;
cursor: pointer;
transition: background-color .2s ease;
}
.tp-post-article .post_content .collapse-btn:after {
flex-shrink: 0;
width: 1.25rem;
height: 1.25rem;
margin-left: auto;
content: "";
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20color%3D%22%23000000%22%3E%0A%20%20%3Cpath%20d%3D%22M6%2013L12%2019L18%2013%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C/path%3E%0A%20%20%3Cpath%20d%3D%22M6%205L12%2011L18%205%22%20stroke%3D%22%23000000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3C/path%3E%0A%3C/svg%3E");
background-repeat: no-repeat;
background-size: 1.25rem;
transition: transform .2s ease;
}
.tp-post-article .post_content .collapse-btn:not(.collapsed):after {
transform: rotate(-180deg);
}
.tp-post-article .post_content .collapse {
max-height: 0;
padding: 0 16px;
background: transparent;
opacity: 0;
overflow: hidden;
transition: max-height .28s ease, padding .28s ease, opacity .2s ease;
}
.tp-post-article .post_content .collapse.show,
.tp-post-article .post_content .cat_collapse.open .collapse {
max-height: 1200px;
padding: 14px 16px;
opacity: 1;
}
.tp-post-article .post_content .cat_tabs {
margin: 20px 0;
border: 1px solid var(--line-secondary);
border-radius: 10px;
background: var(--bg-card);
overflow: hidden;
}
.tp-post-article .post_content .cat_tab_nav {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0;
padding: 8px 10px 0;
border-bottom: 1px solid var(--line-secondary);
background: var(--bg-soft);
}
.tp-post-article .post_content .cat_tab_btn {
border: 1px solid transparent;
border-bottom: 0;
border-radius: 8px 8px 0 0;
background: transparent;
color: var(--text-secondary);
font: 600 14px/22px var(--font-main);
padding: 7px 14px;
cursor: pointer;
}
.tp-post-article .post_content .cat_tab_btn.active {
border-color: var(--line-secondary);
background: var(--bg-card);
color: var(--accent-brown);
transform: translateY(1px);
}
.tp-post-article .post_content .cat_tab_panel {
display: none;
}
.tp-post-article .post_content .cat_tab_panel.active {
display: block;
padding: 18px 20px;
}
.tp-post-article .post_content cat_article_video,
.tp-post-article .post_content .item_image {
display: block;
cursor: pointer;
}
.tp-post-article .post_content mx_music {
display: grid;
grid-template-columns: 78px minmax(0, 1fr) 34px;
align-items: center;
gap: 22px;
width: 100%;
margin: 18px 0;
padding: 18px 20px;
border: 1px solid var(--line-soft);
border-radius: 8px;
background: var(--bg-card);
color: var(--text-body);
}
.tp-post-article .post_content .mx-music-cover,
.tp-post-article .post_content .mx-music-play {
appearance: none;
border: 0;
padding: 0;
background: none;
cursor: pointer;
}
.tp-post-article .post_content .mx-music-cover {
position: relative;
width: 72px;
height: 72px;
border-radius: 50%;
background: radial-gradient(circle at center, #2e2d30 0 11%, transparent 12%), radial-gradient(circle at 47% 42%, rgba(255, 255, 255, .38) 0 4%, transparent 5%), radial-gradient(circle at 60% 58%, #6d5f65 0 20%, #2c2b2f 21% 56%, #151518 57% 100%);
box-shadow: 0 7px 16px rgba(31, 28, 26, .16);
}
.tp-post-article .post_content .mx-music-cover span {
position: absolute;
inset: 19px;
border-radius: 50%;
background: linear-gradient(135deg, #a6b7c9, #76616e 55%, #292c35);
background-position: center;
background-size: cover;
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22);
}
.tp-post-article .post_content .mx-music-cover span.has-cover {
inset: 10px;
}
.tp-post-article .post_content mx_music.is-playing .mx-music-cover {
animation: mx-music-spin 5s linear infinite;
}
.tp-post-article .post_content .mx-music-body {
display: grid;
gap: 18px;
min-width: 0;
}
.tp-post-article .post_content .mx-music-title {
display: block;
overflow: hidden;
color: #2f435a;
font-size: 14px;
line-height: 1.4;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-post-article .post_content .mx-music-status {
overflow: hidden;
color: var(--text-muted);
font-size: 12px;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.tp-post-article .post_content .mx-music-controls {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
}
.tp-post-article .post_content .mx-music-progress {
width: 100%;
height: 4px;
padding: 0;
border: 0;
border-radius: 999px;
background: linear-gradient(to right, #9b9b9b var(--mx-progress, 0%), #d5d5d5 0);
cursor: pointer;
appearance: none;
}
.tp-post-article .post_content .mx-music-progress::-webkit-slider-thumb {
width: 0;
height: 0;
appearance: none;
}
.tp-post-article .post_content .mx-music-progress::-moz-range-thumb {
width: 0;
height: 0;
border: 0;
}
.tp-post-article .post_content .mx-music-time {
color: #9b9b9b;
font-family: Consolas, Monaco, monospace;
font-size: 13px;
line-height: 1;
white-space: nowrap;
}
.tp-post-article .post_content .mx-music-play {
display: inline-grid;
place-items: center;
width: 30px;
height: 30px;
color: #2f435a;
}
.tp-post-article .post_content .mx-music-play svg {
width: 21px;
height: 21px;
fill: currentColor;
}
.tp-post-article .post_content mx_music.is-playing .mx-music-play svg path {
d: path("M7 5h4v14H7zM13 5h4v14h-4z");
}
.tp-post-article .post_content mx_music audio {
display: none;
}
.tp-post-article .post_content .mx-music-group {
display: grid;
gap: 0;
margin: 18px 0;
padding: 8px 18px;
border: 1px solid var(--line-soft);
border-radius: 8px;
background: var(--bg-card);
}
.tp-post-article .post_content .mx-music-group-title {
padding: 8px 0 10px;
color: #2f435a;
font-size: 15px;
font-weight: 700;
}
.tp-post-article .post_content .mx-music-playlist-status {
padding: 12px 0;
color: var(--text-muted);
font-size: 13px;
}
.tp-post-article .post_content .mx-music-playlist {
max-height: 460px;
overflow: auto;
overscroll-behavior: contain;
}
.tp-post-article .post_content .mx-music-group mx_music {
grid-template-columns: 44px minmax(0, 1fr) 30px;
gap: 14px;
margin: 0;
padding: 10px 0;
border: 0;
border-top: 1px solid var(--line-soft);
border-radius: 0;
background: transparent;
}
.tp-post-article .post_content .mx-music-playlist mx_music:first-of-type {
border-top: 0;
}
.tp-post-article .post_content .mx-music-group mx_music.is-playing {
grid-template-columns: 64px minmax(0, 1fr) 34px;
gap: 18px;
margin: 8px 0;
padding: 14px 16px;
border: 1px solid var(--line-soft);
border-radius: 8px;
background: rgba(47, 67, 90, .045);
}
.tp-post-article .post_content .mx-music-group .mx-music-cover {
width: 34px;
height: 34px;
}
.tp-post-article .post_content .mx-music-group mx_music.is-playing .mx-music-cover {
width: 56px;
height: 56px;
}
.tp-post-article .post_content .mx-music-group .mx-music-cover span {
inset: 10px;
}
.tp-post-article .post_content .mx-music-group .mx-music-cover span.has-cover {
inset: 4px;
}
.tp-post-article .post_content .mx-music-group mx_music.is-playing .mx-music-cover span {
inset: 15px;
}
.tp-post-article .post_content .mx-music-group mx_music.is-playing .mx-music-cover span.has-cover {
inset: 7px;
}
.tp-post-article .post_content .mx-music-group .mx-music-body {
gap: 8px;
}
.tp-post-article .post_content .mx-music-group mx_music.is-playing .mx-music-body {
gap: 12px;
}
.tp-post-article .post_content .mx-music-group mx_music.is-playing .mx-music-title {
font-size: 14px;
font-weight: 700;
}
:root[data-theme="dark"] .tp-post-article .post_content mx_music {
border-color: var(--line-primary);
background: var(--bg-card);
}
:root[data-theme="dark"] .tp-post-article .post_content .mx-music-group {
border-color: var(--line-primary);
background: var(--bg-card);
}
:root[data-theme="dark"] .tp-post-article .post_content .mx-music-title,
:root[data-theme="dark"] .tp-post-article .post_content .mx-music-play,
:root[data-theme="dark"] .tp-post-article .post_content .mx-music-group-title {
color: var(--text-primary);
}
@keyframes mx-music-spin {
to {
transform: rotate(360deg);
}
}
.tp-post-article .post_content>.item_image {
margin: 12px auto;
}
.tp-post-article .post_content .item_image img,
.tp-post-article .post_content .cat_container img {
display: block;
width: 100%;
max-width: 100%;
margin: 0;
object-fit: cover;
cursor: pointer;
transition: filter .22s ease, transform .22s ease;
}
.tp-post-article .post_content .item_image:hover img {
filter: brightness(.98);
transform: translateY(-1px);
}
.tp-post-article .post_content cat_article_video iframe,
.tp-post-article .post_content cat_article_video video {
display: block;
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
border: 0;
border-radius: 8px;
background: rgba(47, 42, 38, 0.12);
}
.article-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 18px 0;
}
.article-tags br {
display: none;
}
.article-tags a {
margin: 0;
padding: 4px 12px;
border: 1px solid var(--control-border);
border-radius: 999px;
background: var(--control-bg);
box-shadow: var(--control-shadow);
color: var(--control-text);
font-size: 13px;
line-height: 20px;
}
.article-tags a:hover {
border-color: var(--control-hover-border);
background: var(--control-hover-bg);
box-shadow: var(--control-hover-shadow);
color: var(--control-hover-text);
}
.post-near {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin: 18px 0 18px;
}
.post-near-card {
min-width: 0;
min-height: 64px;
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
align-items: center;
padding: 10px 14px;
border: 1px solid var(--control-border);
border-radius: 7px;
background: var(--control-bg);
box-shadow: var(--control-shadow);
color: var(--control-text);
transition: all .22s ease;
}
.post-near-card:hover {
border-color: var(--control-hover-border);
background: var(--control-hover-bg);
box-shadow: var(--control-hover-shadow);
color: var(--control-hover-text);
}
.post-near-next {
grid-template-columns: minmax(0, 1fr) 34px;
text-align: right;
}
.post-near-body {
min-width: 0;
display: grid;
gap: 5px;
}
.post-near-body strong {
overflow: hidden;
color: var(--text-body);
font-size: 14px;
font-weight: 500;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.post-near-body small {
color: var(--text-muted);
font-size: 11px;
line-height: 1;
}
.post-near-arrow {
position: relative;
width: 11px;
height: 11px;
margin: 0 auto;
border-left: 2px solid var(--ink-decor);
border-bottom: 2px solid var(--ink-decor);
transform: rotate(45deg);
}
.post-near-next .post-near-arrow {
border: 0;
border-right: 2px solid var(--ink-decor);
border-top: 2px solid var(--ink-decor);
transform: rotate(45deg);
}
.post-near-card:hover .post-near-arrow {
border-color: var(--accent-brown);
}
.post-near-card.is-disabled {
opacity: .58;
cursor: not-allowed;
border-color: var(--control-disabled-border);
background: var(--control-disabled-bg);
box-shadow: var(--control-disabled-shadow);
color: var(--control-disabled-text);
}
@media (max-width: 800px) {
.main_screen {
width: min(100% - 24px, var(--page-width));
}
.tp-post-article .post_content {
max-width: none;
margin-top: 6px;
}
.post-meta {
gap: 6px 10px;
}
.tp-post-article .post_content table {
display: table;
width: 100%;
min-width: 100%;
table-layout: fixed;
white-space: normal;
overflow: hidden;
}
.tp-post-article .post_content th,
.tp-post-article .post_content td {
min-width: 0;
padding: 9px 10px;
white-space: normal;
word-break: break-word;
}
.tp-post-article .post_content table:has(tr> :nth-child(5)) {
display: block;
min-width: 0;
table-layout: auto;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}
.tp-post-article .post_content table:has(tr> :nth-child(5)) th,
.tp-post-article .post_content table:has(tr> :nth-child(5)) td {
min-width: 120px;
white-space: nowrap;
word-break: normal;
}
.tp-post-article .post_content .cat_container.grid2,
.tp-post-article .post_content .cat_container.grid3 {
grid-template-columns: 1fr 1fr;
}
.tp-post-article .post_content .mx-photo-row {
overflow-x: visible;
gap: 8px;
flex-wrap: nowrap;
padding-bottom: 0;
}
.tp-post-article .post_content .mx-photo-item {
min-width: 0;
}
.post-near {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.tp-post-article .post_content {
overflow-x: hidden;
}
.tp-post-article .post_content div.code-toolbar {
margin-left: -2px;
margin-right: -2px;
}
.tp-post-article .post_content pre,
.tp-post-article .post_content pre[class*="language-"] {
font-size: 12px;
line-height: 1.7;
}
.tp-post-article .post_content pre[class*="language-"].line-numbers {
padding-left: 3.2em;
}
.tp-post-article .post_content blockquote {
padding: 12px 14px 12px 16px;
border-left-width: 4px;
border-radius: 10px 7px 7px 10px;
}
.tp-post-article .post_content th,
.tp-post-article .post_content td {
padding: 8px;
}
.tp-post-article .post_content .cat_container.grid2,
.tp-post-article .post_content .cat_container.grid3 {
grid-template-columns: 1fr;
}
.tp-post-article .post_content .mx-photo-item {
min-width: 0;
}
.tp-post-article .post_content .mx-photo-row {
gap: 5px;
margin: 8px 0;
}
}  #axjx_box.diary-me-loading audio:not(.mejs__container audio):not(mediaelementwrapper audio),
#axjx_box.diary-me-loading video:not(.mejs__container video):not(mediaelementwrapper video) { height: 0 !important;
max-height: 0 !important;
overflow: hidden !important;
visibility: hidden !important;
position: absolute !important;
pointer-events: none !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
} #axjx_box.diary-me-loading audio::-webkit-media-controls-panel,
#axjx_box.diary-me-loading video::-webkit-media-controls-panel,
#axjx_box.diary-me-loading audio::-webkit-media-controls-play-button,
#axjx_box.diary-me-loading video::-webkit-media-controls-play-button,
#axjx_box.diary-me-loading audio::-webkit-media-controls-timeline,
#axjx_box.diary-me-loading video::-webkit-media-controls-timeline,
#axjx_box.diary-me-loading audio::-webkit-media-controls-current-time-display,
#axjx_box.diary-me-loading video::-webkit-media-controls-current-time-display {
display: none !important;
}