Files
rice-pk-xhs/web/style.css
T
codex-bot e99a2bb4d4
Verify mini program and deploy preview / verify-deploy (push) Failing after 32s
feat: launch PK testing application
2026-09-18 21:50:25 +08:00

3 lines
4.1 KiB
CSS

:root{--paper:#fff8f2;--ink:#201d1b;--orange:#ff6b35;--blue:#2766df;--muted:#887d75}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,"PingFang SC",sans-serif}button{border:0;font:inherit;cursor:pointer}header{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;padding:18px max(22px,calc((100vw - 960px)/2));background:rgba(255,248,242,.92);border-bottom:1px solid rgba(50,30,20,.08);backdrop-filter:blur(14px)}header button{background:none;font-weight:950;letter-spacing:2px}header span{color:var(--muted);font-size:13px}.shell{width:min(960px,calc(100% - 32px));margin:34px auto 80px}.hero{position:relative;overflow:hidden;padding:55px;border-radius:40px;background:var(--orange);color:white;box-shadow:0 25px 65px rgba(160,60,20,.2)}.label{font-size:12px;letter-spacing:5px;opacity:.75}.hero h1{margin:35px 0 25px;font-size:clamp(58px,10vw,112px);line-height:.86;letter-spacing:-.07em}.hero p{max-width:590px;font-size:18px;line-height:1.65}.bowl{position:absolute;right:25px;top:25px;font-size:155px;transform:rotate(12deg)}.button{display:inline-block;margin-top:28px;padding:15px 28px;border-radius:99px;background:var(--ink);color:white;font-weight:850}.section-head{display:flex;justify-content:space-between;margin:52px 4px 18px}.muted{color:var(--muted)}.result-row{display:flex;align-items:center;gap:18px;width:100%;margin:12px 0;padding:21px;text-align:left;border-radius:24px;background:white;box-shadow:0 8px 28px rgba(50,30,20,.07)}.medal{display:grid;width:62px;height:62px;place-items:center;border-radius:18px;background:var(--orange);color:white;font-weight:950}.result-row strong{display:block;margin-top:3px;font-size:25px}.result-row>span:last-child{margin-left:auto}.bind{margin-top:35px;padding:28px;border-radius:28px;background:#f5eaff}.bind input{width:100%;height:55px;margin-top:15px;padding:0 18px;border:0;border-radius:16px;font-size:24px;letter-spacing:8px}.loading,.empty{padding:90px 20px;text-align:center;color:var(--muted)}.arena{max-width:900px}.arena-top{display:flex;justify-content:space-between}.progress{height:9px;margin:17px 0 48px;overflow:hidden;border-radius:99px;background:#e9ded6}.progress span{display:block;height:100%;background:var(--orange)}.arena h1{font-size:clamp(45px,7vw,78px);line-height:1.05}.pair{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:24px}.choice{position:relative;min-height:400px;padding:38px;text-align:left;border-radius:38px;color:white;transition:.15s}.choice:hover{transform:scale(1.015)}.choice:first-child{background:var(--orange)}.choice:last-child{background:var(--blue)}.letter{display:grid;width:52px;height:52px;place-items:center;border:2px solid rgba(255,255,255,.6);border-radius:50%;font-weight:900}.food{position:absolute;right:28px;top:22px;font-size:84px}.name{display:block;margin-top:80px;font-size:clamp(42px,6vw,70px);font-weight:950}.hint{position:absolute;left:38px;bottom:32px;opacity:.7}.vs{position:absolute;z-index:2;left:50%;top:50%;display:grid;width:76px;height:76px;place-items:center;transform:translate(-50%,-50%) rotate(-9deg);border:5px solid var(--ink);border-radius:50%;background:white;font-weight:950}.champion{padding:55px;text-align:center;border-radius:38px;background:var(--ink);color:white}.champion h1{margin:18px 0;font-size:clamp(60px,10vw,108px)}.result-layout{display:grid;grid-template-columns:1fr 310px;gap:28px;margin-top:30px}.poster{width:100%;border-radius:28px;box-shadow:0 18px 55px rgba(50,30,20,.15)}.controls{padding:27px;border-radius:28px;background:white}.theme{width:100%;margin:7px 0;padding:14px;text-align:left;border:2px solid #e8ddd5;border-radius:17px;background:white;font-weight:800}.theme.active{background:var(--ink);color:white}.wide{width:100%}#toast{position:fixed;left:50%;bottom:28px;padding:14px 22px;transform:translate(-50%,25px);border-radius:99px;background:var(--ink);color:white;opacity:0;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:720px){.hero{padding:38px 28px}.bowl{font-size:100px;opacity:.75}.pair,.result-layout{grid-template-columns:1fr}.choice{min-height:290px}.vs{top:50%}}