From cda8a3e0ee9386e239d9b66b6c9a20241405b9f9 Mon Sep 17 00:00:00 2001 From: Chuyaoyuan Date: Wed, 13 May 2026 15:22:39 +0800 Subject: [PATCH] Update UI --- src/main/resources/static/semanticui/my.css | 5 +++++ src/main/resources/templates/comm/footer.ftl | 2 +- src/main/resources/templates/discussions.ftl | 2 +- src/main/resources/templates/index.ftl | 2 +- src/main/resources/templates/login.ftl | 2 +- src/main/resources/templates/newdiccuss.ftl | 2 +- src/main/resources/templates/newtag.ftl | 2 +- src/main/resources/templates/register.ftl | 2 +- 8 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/main/resources/static/semanticui/my.css b/src/main/resources/static/semanticui/my.css index 2ec4b7d..7f103b6 100644 --- a/src/main/resources/static/semanticui/my.css +++ b/src/main/resources/static/semanticui/my.css @@ -26,9 +26,14 @@ body { background-color: var(--bg-page) !important; color: var(--text-primary); position: sticky; top: 0; z-index: 999; + margin-top: 0 !important; + margin-bottom: 0 !important; box-shadow: 0 2px 6px rgba(0,0,0,.08); } +/* ── Page content spacing ─────────────────────────────────────────────────── */ +#container { margin-top: 1.5rem !important; } + /* ── Back-to-top button ───────────────────────────────────────────────────── */ #backToTop { position: fixed; diff --git a/src/main/resources/templates/comm/footer.ftl b/src/main/resources/templates/comm/footer.ftl index 1b4f1fc..a0687b0 100644 --- a/src/main/resources/templates/comm/footer.ftl +++ b/src/main/resources/templates/comm/footer.ftl @@ -7,8 +7,8 @@

关于遥远

diff --git a/src/main/resources/templates/discussions.ftl b/src/main/resources/templates/discussions.ftl index dfc8107..1a6c7ac 100644 --- a/src/main/resources/templates/discussions.ftl +++ b/src/main/resources/templates/discussions.ftl @@ -1,7 +1,7 @@ -主题详情页 +主题详情页 diff --git a/src/main/resources/templates/index.ftl b/src/main/resources/templates/index.ftl index 059f8f2..3d4b7b6 100644 --- a/src/main/resources/templates/index.ftl +++ b/src/main/resources/templates/index.ftl @@ -1,7 +1,7 @@ -Jiscuss Demo +Jiscuss Demo diff --git a/src/main/resources/templates/login.ftl b/src/main/resources/templates/login.ftl index ad0c2a3..248a806 100644 --- a/src/main/resources/templates/login.ftl +++ b/src/main/resources/templates/login.ftl @@ -1,7 +1,7 @@ -Jiscuss Demo +Jiscuss Demo <#include "comm/commjs.ftl"/>