From 351e1f18aec21fb31ec275b5cb0f22858fabe7fb Mon Sep 17 00:00:00 2001 From: mac Date: Fri, 24 Jul 2026 17:25:57 +0800 Subject: [PATCH] =?UTF-8?q?v2.0.7=20=E2=80=94=20=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E5=91=A8=E9=80=89=E6=8B=A9=E5=99=A8=E7=A7=BB=E5=85=A5=E6=89=93?= =?UTF-8?q?=E5=8D=A1=E9=9D=A2=E6=9D=BF=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style.css | 33 +++++++++++++++++++++++++++++++++ templates/index.html | 16 ++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/static/style.css b/static/style.css index 52639a0..0b8cf62 100644 --- a/static/style.css +++ b/static/style.css @@ -177,6 +177,39 @@ body { .calendar-widget { padding: 0 16px 12px; } +.calendar-widget.inline { + margin: 0 0 16px; + padding: 12px 0; + border: 1.5px solid var(--border); + border-radius: var(--radius); + background: var(--card); +} +.calendar-widget.inline .cal-header { + padding: 0 14px 8px; + display: flex; + justify-content: space-between; + align-items: center; +} +.cal-nav-group { display: flex; gap: 4px; } +.cal-nav { + display: flex; + align-items: center; + justify-content: center; + width: 28px; + height: 28px; + border: 1px solid var(--border); + border-radius: 6px; + background: var(--card); + cursor: pointer; + color: var(--text-dim); +} +.cal-nav:hover { background: var(--bg); color: var(--text); } +.cal-week-list { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 6px 4px; + padding: 0 14px; +} .cal-header { display: flex; diff --git a/templates/index.html b/templates/index.html index 676c6ca..db6ed65 100644 --- a/templates/index.html +++ b/templates/index.html @@ -87,6 +87,22 @@ + +
+
+ 2026年 +
+ + +
+
+
+
+