新增搜尋框,放兩個開源連結

This commit is contained in:
Sahik committed 2026-12-01 03:44:06 +08:00
1 parent 61e8580c72
commit 695e29324e
11 files changed
+82 -11

No files matched your search

+13 -1
View File
@@ -125,7 +125,15 @@ button.link:disabled { color: var(--muted); }
.title-form .grow { flex: 1; min-width: 0; }
.title-form input[type=color] { width: 64px; height: 44px; padding: 4px; cursor: pointer; }
.lang { margin-top: auto; }
/* UID 搜尋:電腦在品牌下面一整行;手機在 ☰ 左邊(見下面的 @media) */
.brand { flex-wrap: wrap; gap: 12px; }
.uid-search { flex: 1 1 100%; }
.uid-search input { padding: 8px 12px; }
/* 側欄最底下:語言與開源連結 */
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.oss-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.oss-links span { width: 100%; }
/* ---------- 主畫面 ---------- */
#main { flex: 1; min-width: 0; padding: 40px 24px 24px; display: flex; flex-direction: column; align-items: center; }
@@ -421,6 +429,10 @@ dialog h2 { margin: 0 0 4px; }
.layout { flex-direction: column; }
#sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--line); padding: 12px 16px; gap: 12px; }
.only-mobile { display: inline-flex; }
.brand { flex-wrap: nowrap; }
.uid-search { flex: 1 1 0; min-width: 80px; max-width: 160px; margin-left: auto; }
.brand a, .brand-text { min-width: 0; } /* 螢幕太窄時標語用「…」截斷,不擠掉搜尋框 */
.brand-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sidebar:not(.open) #sidebar-body { display: none; }
#sidebar-body { padding-bottom: 8px; }
#main { padding: 24px 16px 20px; }