feat: deepen single post experience

This commit is contained in:
2026-07-28 02:07:10 +08:00
parent a00db4538f
commit 2086f938ed
8 changed files with 265 additions and 81 deletions
@@ -1,4 +1,4 @@
/* ========== 浠g爜鍧?GitHub 椋庢牸 ========== */
/* ========== 代码块:GitHub 风格 ========== */
.code-block {
border-radius: var(--radius-code);
border: 1px solid var(--color-line);
@@ -52,8 +52,8 @@
}
}
.entry-content pre.wp-block-code,
.entry-content pre:not(.wp-block-preformatted) {
:is(.entry-content, .wp-posts-content) pre.wp-block-code,
:is(.entry-content, .wp-posts-content) pre:not(.wp-block-preformatted) {
border-radius: var(--radius-code);
border: 1px solid var(--color-line);
background: var(--surface-3);
@@ -61,7 +61,7 @@
overflow: hidden;
}
.entry-content pre code {
:is(.entry-content, .wp-posts-content) pre code {
display: block;
padding: 16px 20px;
overflow-x: auto;