diff --git a/index.html b/index.html index 047b2a6..87819a9 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + @@ -313,39 +313,37 @@ html.night .tg-s{background:rgba(255,255,255,.1);color:#E9D6E2} /* —— 我的孕期数据:彩色光斑底 + 毛玻璃格 —— */ /* 2026-10-31 用户:背景太乱太花 → 整块只留一层很淡的暖色底,格子去掉光晕和毛玻璃,字一律实色 */ - .vt{position:relative;margin-top:18px;padding:14px 12px 12px;border-radius:22px;background:linear-gradient(180deg,#FFF1EA,#FFF8F4);border:1px solid #F8E3DA} + .vt{position:relative;margin-top:18px;padding:14px 12px 12px;border-radius:22px;background:linear-gradient(180deg,#FFE9DF,#FFF4EE);border:1px solid #F6DCD1} .vt.hide,.vt-it.hide{display:none} .vt-h{display:flex;align-items:baseline;gap:8px;margin:0 4px 11px} .vt-h b{font-size:15.5px;color:#3B2A2A} .vt-h span{font-size:11.5px;color:#7A6663} .vt-row{display:grid;grid-template-columns:repeat(2,1fr);gap:9px} - .vt-it{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 12px 11px;border-radius:16px;min-width:0;text-align:left;font:inherit;color:inherit;background:#fff;border:0;box-shadow:0 2px 8px rgba(190,120,100,.06)} + .vt-it{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 12px 11px;border-radius:16px;min-width:0;text-align:left;font:inherit;color:inherit;background:var(--vt-bg,#fff);border:0;box-shadow:0 2px 8px rgba(190,120,100,.06)} .vt-it.span2{grid-column:span 2} .vt-top{display:flex;align-items:center;gap:6px;width:100%} - .vt-ic{flex:none;width:26px;height:26px;border-radius:9px;display:grid;place-items:center;color:var(--vt-c);background:#FFF3EE} + .vt-ic{flex:none;width:26px;height:26px;border-radius:9px;display:grid;place-items:center;color:var(--vt-c);background:#fff} .vt-ic svg{width:18px;height:18px} .vt-l{font-size:13.5px;color:#2F2424;font-weight:700;white-space:nowrap} .vt-u{margin-left:auto;font-size:11px;color:#7A6663} .vt-v{margin-top:2px;white-space:nowrap} .vt-v b{font-size:25px;line-height:1.15;font-weight:800;letter-spacing:-.5px;color:#3B2A2A;font-variant-numeric:tabular-nums} .vt-f{display:flex;align-items:center;gap:6px;width:100%;min-width:0} - .vt-s{flex:none;font-size:11px;line-height:1.4;padding:1px 8px;border-radius:99px;background:#FFF3EE;color:var(--vt-c);font-weight:700;white-space:nowrap} + .vt-s{flex:none;font-size:11px;line-height:1.4;padding:1px 8px;border-radius:99px;background:#fff;color:var(--vt-c);font-weight:700;white-space:nowrap} .vt-s:empty{display:none} - .vt-it.empty .vt-s{background:none;padding:1px 0;color:var(--vt-c)} + .vt-it.empty:not(.demo) .vt-s{background:none;padding:1px 0;color:var(--vt-c)} .vt-s.ok{background:rgba(47,138,94,.12);color:#2F8A5E} .vt-s.hi{background:rgba(210,69,59,.12);color:#D2453B} .vt-s.lo{background:rgba(199,122,30,.14);color:#C77A1E} .vt-d{font-size:11px;color:#6E5A57;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis} .vt-d:empty{display:none} - .vt-it.empty .vt-s.dm{padding:1px 8px;background:#FFF1D6;color:#B8862B} - .vt-it.demo .vt-d{color:var(--vt-c);font-weight:700} - html.night .vt-it.empty .vt-s.dm{background:rgba(255,200,100,.16);color:#F0C67A} - .vt-k{--vt-c:#E9673F} - .vt-w{--vt-c:#E5606A} - .vt-p{--vt-c:#C94F8C} - .vt-g{--vt-c:#22968A} - .vt-c{--vt-c:#7A5BC8} - .vt-e{--vt-c:#4E74C4} + /* 每格一层很淡的同色底(2026-10-31 用户:稍微加一点点背景色) */ + .vt-k{--vt-c:#E9673F;--vt-bg:#FFF5F0} + .vt-w{--vt-c:#E5606A;--vt-bg:#FFF4F4} + .vt-p{--vt-c:#C94F8C;--vt-bg:#FDF3F8} + .vt-g{--vt-c:#22968A;--vt-bg:#F0FAF8} + .vt-c{--vt-c:#7A5BC8;--vt-bg:#F6F2FD} + .vt-e{--vt-c:#4E74C4;--vt-bg:#F1F5FD} html.night .vt{background:#2A2231;border-color:rgba(255,255,255,.08)} html.night .vt-it{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.1);box-shadow:none} html.night .vt-ic,html.night .vt-s{background:rgba(255,255,255,.1)} @@ -2213,7 +2211,7 @@ - +