feat(blog): جدول — ستون‌ها قابل تغییر اندازه/افزودن و حذف؛ لینک کپشن تصویر؛ هدینگ‌های نسخه انگلیسی بزرگ‌تر

This commit is contained in:
aramesh-site deploy
2026-10-06 10:57:01 +00:00
parent 61a2e95278
commit 1b491357ab
45 changed files with 2341 additions and 81 deletions
+39
View File
@@ -89,10 +89,21 @@ html[lang='en'] .article-body {
html[lang='en'] .article-body p {
margin-top: 1.25rem;
}
html[lang='en'] .article-body h1,
html[lang='en'] .article-body h2,
html[lang='en'] .article-body h3 {
line-height: 1.4;
}
/* هدینگ‌ها نسبت به متن ۱۷px انگلیسی بزرگ‌تر — همان نسبت نسخه فارسی */
html[lang='en'] .article-body h1 {
font-size: 22px;
}
html[lang='en'] .article-body h2 {
font-size: 19px;
}
html[lang='en'] .article-body h3 {
font-size: 16px;
}
::selection {
background-color: #d5874c;
color: #1e1a16;
@@ -482,9 +493,37 @@ html[lang='en'] .article-body h3 {
.article-body table,
.ProseMirror table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
margin-top: 1.5rem;
font-size: 0.92em;
overflow: hidden;
}
.ProseMirror td,
.ProseMirror th {
position: relative;
box-sizing: border-box;
}
.ProseMirror .column-resize-handle {
position: absolute;
top: 0;
bottom: -1px;
left: -2px;
width: 4px;
z-index: 20;
background-color: rgba(213, 135, 76, 0.6);
pointer-events: none;
}
.ProseMirror.resize-cursor {
cursor: col-resize;
}
.ProseMirror .selectedCell::after {
content: '';
position: absolute;
z-index: 2;
inset: 0;
background: rgba(213, 135, 76, 0.12);
pointer-events: none;
}
.article-body th,
.article-body td,