feat: 放大标题并调整标题框
- 标题框左右各留 2 格,高度改为 4 行 - 标题字号 1.6em 放大到 1.8em - PDF 默认输出恢复为 dist/封面demo.pdf,移除根目录旧 PDF
This commit is contained in:
1 parent
f3d165b0f6
commit
b9ed01d91b
5 files changed
+9
-10
No files matched your search
@@ -57,7 +57,7 @@ body {
|
||||
.title-panel .title {
|
||||
margin: 0;
|
||||
color: #e6e6e6;
|
||||
font-size: 1.6em;
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
letter-spacing: 0;
|
||||
|
||||
+3
-3
@@ -69,13 +69,13 @@
|
||||
{ n: 8, x: 24, y: 37, w: 4, h: 7 },
|
||||
];
|
||||
|
||||
/* 标题区:整格扣出的居中矩形,左右各留 3 格 */
|
||||
/* 标题区:整格扣出的居中矩形,左右各留 2 格 */
|
||||
const TITLE = {
|
||||
text: '关于「甲子」的虚构故事',
|
||||
emphasis: '甲子',
|
||||
top: 14,
|
||||
height: 5,
|
||||
side: 3,
|
||||
height: 4,
|
||||
side: 2,
|
||||
};
|
||||
|
||||
const BIRD_WORDS = { sparrow: '麻雀', magpie: '喜鹊', crow: '乌鸦' };
|
||||
|
||||
Reference in new issue
Block a user