From c15ec60382d96c776ba6c0a95e20ccc84caa8fd8 Mon Sep 17 00:00:00 2001 From: glossimute Date: Mon, 19 May 2025 13:03:02 +0900 Subject: [PATCH] Update post.html --- templates/post.html | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/templates/post.html b/templates/post.html index cc7a9d0..0e185b5 100644 --- a/templates/post.html +++ b/templates/post.html @@ -24,12 +24,22 @@ margin: 0 auto; padding-left: 16px; padding-right: 16px; + text-align: center; } #postBody hr{height:2px;} #cmButton{height:48px;margin-top:48px;} #comments{margin-top:64px;} .g-emoji{font-size:24px;} + +#alignToggleBtn { + margin: 24px auto; + display: block; + padding: 8px 12px; + font-size: 14px; + cursor: pointer; +} + @media (max-width: 600px) { body {padding: 8px;} .postTitle{font-size:24px;} @@ -50,6 +60,7 @@ {{ blogBase['style'] }} {% endblock %} + {% block header %}

{{ blogBase['postTitle'] }}

@@ -71,9 +82,8 @@ -
- +
{{ blogBase['postBody'] }}
{{ blogBase['bottomText'] }}
{% if blogBase['needComment']==1 %} @@ -93,13 +104,7 @@