From a78cbbce64da66508259e4768f8102cbc78b6770 Mon Sep 17 00:00:00 2001 From: uncle6me-web Date: Sat, 1 Aug 2026 16:31:07 +0800 Subject: [PATCH] =?UTF-8?q?portal=20CIS=20=E6=94=B6=E5=B0=BE=EF=BC=9A?= =?UTF-8?q?=E5=81=B4=E9=82=8A=E6=AC=84=E5=A3=9E=20SVG=EF=BC=88=E5=AD=97?= =?UTF-8?q?=E8=85=94=E7=BC=BA=E5=A4=B1=EF=BC=89=E6=8F=9B=202x=20=E5=AE=98?= =?UTF-8?q?=E6=96=B9=E5=9C=96=EF=BC=8B.logo=20svg=E2=86=92img=20CSS=20?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=EF=BC=8B=E5=85=A8=E7=AB=99=20logo=20?= =?UTF-8?q?=E5=8A=A0=20responsive=20clamp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- console-ui/public/portal/index.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/console-ui/public/portal/index.html b/console-ui/public/portal/index.html index 3c6685b..8082f60 100644 --- a/console-ui/public/portal/index.html +++ b/console-ui/public/portal/index.html @@ -62,7 +62,7 @@ height:44px 時實際字高僅約 14px,看起來過小。改用裁淨版(493x88,長寬比 5.604:1, 四邊已裁到字腔邊緣無留白),此時 height:44px=實際字高 44px。 */ .brand { display: flex; justify-content: center; } - .brand img { height: 44px; width: auto; display: block; } + .brand img { height: clamp(32px, 8.5vw, 48px); width: auto; display: block; max-width: 100%; } .brand .wm-paper { display: none; } :root[data-theme="dark"] .brand .wm-ink { display: none; } :root[data-theme="dark"] .brand .wm-paper { display: block; } @@ -88,7 +88,10 @@ main { padding-bottom: 20px; } #sidenav { display: flex; width: 216px; flex: none; position: sticky; top: 0; height: 100vh; border-right: 2px solid rgba(var(--amber-rgb),.35); padding: 28px 0; flex-direction: column; gap: 4px; } #sidenav .logo { display: flex; color: var(--ink); padding: 0 24px 20px; } - #sidenav .logo svg { height: 26px; width: auto; display: block; } + #sidenav .logo img { height: clamp(26px, 6vw, 34px); width: auto; display: block; max-width: 100%; } + #sidenav .logo .wm-paper { display: none; } + :root[data-theme="dark"] #sidenav .logo .wm-ink { display: none; } + :root[data-theme="dark"] #sidenav .logo .wm-paper { display: block; } #sidenav .nav { padding: 13px 24px; font-size: 16px; cursor: pointer; letter-spacing: .08em; color: rgba(var(--ink-rgb),.6); border-right: 2px solid transparent; } #sidenav .nav.on { color: var(--amber); background: rgba(var(--amber-rgb),.08); border-right-color: var(--amber); font-family: 'Songti TC','LiSong Pro',PMingLiU,serif; font-weight: 600; } #sidenav .nav.hide { display: none; } @@ -191,7 +194,7 @@
- +
知識入口・Portal
@@ -210,7 +213,7 @@
- +
歡迎!先建立你的帳號
@@ -229,7 +232,7 @@
- +