From 966d60ac0ebaf05d4d48404ea1cd9994560e9da1 Mon Sep 17 00:00:00 2001 From: glossimute Date: Mon, 19 May 2025 12:02:45 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9post=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + templates/post.html | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2d531a0..907330a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__ nohup.out .git-credentials venv/ +.idea \ No newline at end of file diff --git a/templates/post.html b/templates/post.html index 4749df9..ddd4cc0 100644 --- a/templates/post.html +++ b/templates/post.html @@ -17,8 +17,16 @@ .postTitle{margin: auto 0;font-size:40px;font-weight:bold;} .title-right{display:flex;margin:auto 0 0 auto;} .title-right .circle{padding: 14px 16px;margin-right:8px;} -#postBody{border-bottom: 1px solid var(--color-border-default);padding-bottom:36px;} +#postBody { + border-bottom: 1px solid var(--color-border-default); + padding-bottom: 36px; + max-width: 720px; + margin: 0 auto; + padding-left: 16px; + padding-right: 16px; +} #postBody hr{height:2px;} + #cmButton{height:48px;margin-top:48px;} #comments{margin-top:64px;} .g-emoji{font-size:24px;}