From b73701b71c6b0041188f77577255ddd6cb8c8c74 Mon Sep 17 00:00:00 2001 From: patarapolw Date: Tue, 13 Aug 2019 06:58:58 +0700 Subject: [PATCH] edit post --- config.yaml | 2 +- src/app.scss | 9 +++++++++ src/app.ts | 1 + src/pages/p/2019/08/千字文1.pug | 2 +- src/pages/p/2019/08/千字文2.pug | 2 +- 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index fbe9b52..88fb0e9 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -title: Blog | Cogear.JS – modern static websites generator +title: 中文 Diary description: keywords: theme: blog diff --git a/src/app.scss b/src/app.scss index e69de29..1ba61de 100644 --- a/src/app.scss +++ b/src/app.scss @@ -0,0 +1,9 @@ +.hanzi-img { + display: flex; + justify-content: center; + align-items: center; + width: 100px; + height: 100px; + font-size: 80px; + font-family: serif; +} \ No newline at end of file diff --git a/src/app.ts b/src/app.ts index a646a25..8b03a21 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,4 +1,5 @@ import "./disqus"; +import "./app.scss"; window.addEventListener("keydown", (ev) => { if (ev.key === "s") { diff --git a/src/pages/p/2019/08/千字文1.pug b/src/pages/p/2019/08/千字文1.pug index 66f6bdb..c2331bb 100644 --- a/src/pages/p/2019/08/千字文1.pug +++ b/src/pages/p/2019/08/千字文1.pug @@ -1,5 +1,5 @@ --- -title: "千字文 (qian2 zi3 wen2) - 1" +title: "千字文 - 1" date: "2019-08-11" tags: - 千字文 diff --git a/src/pages/p/2019/08/千字文2.pug b/src/pages/p/2019/08/千字文2.pug index fe32438..55ccc0a 100644 --- a/src/pages/p/2019/08/千字文2.pug +++ b/src/pages/p/2019/08/千字文2.pug @@ -18,7 +18,7 @@ tags: img(src="https://www.mdbg.net/chinese/rsc/img/stroke_anim/30408.gif" height=100) figcaption.text-center ying2 figure.d-inline-block - .d-flex.justify-content-center.align-items-center(style="font-size: 80px; font-family: Serif; width: 100px; height: 100px") 昃 + .hanzi-img 昃 figcaption.text-center ze4 .w-100 figure.d-inline-block