|
271 | 271 | @media (max-width:640px){ .glass{padding:28px 18px; border-radius:18px} } |
272 | 272 |
|
273 | 273 | /* Self-checking section — lint report + explanations */ |
274 | | - .lintgrid{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:26px; align-items:start; margin-top:22px} |
275 | | - @media (max-width:860px){.lintgrid{grid-template-columns:1fr}} |
| 274 | + /* Stacked: full-width terminal report on top, explanations below it */ |
| 275 | + .lintgrid{margin-top:22px} |
| 276 | + .lintgrid .lintreport{max-width:900px; margin:0 0 28px} |
276 | 277 | .lintreport{ |
277 | 278 | background:#0b1420; color:#c7d3e6; border-radius:14px; overflow:hidden; |
278 | 279 | border:1px solid rgba(140,170,210,.16); box-shadow:0 18px 46px -22px rgba(0,0,0,.6); |
|
294 | 295 | .lintreport .ln{color:#c7d3e6} |
295 | 296 | .lintreport .pass{color:#5fe3c0} |
296 | 297 |
|
297 | | - .lintwhat{margin:0; padding:0; list-style:none} |
298 | | - .lintwhat li{padding:8px 0; border-bottom:1px solid var(--card-bd); font-size:.92rem; color:var(--muted)} |
| 298 | + .lintwhat{margin:0 0 22px; padding:0; list-style:none; column-width:330px; column-gap:38px} |
| 299 | + .lintwhat li{padding:8px 0; border-bottom:1px solid var(--card-bd); font-size:.92rem; color:var(--muted); break-inside:avoid} |
299 | 300 | .lintwhat li:last-child{border-bottom:0} |
300 | 301 | .lintwhat code{color:var(--accent); background:var(--code-bg); padding:.1em .4em; border-radius:5px; font-size:.82em} |
301 | 302 | .lintwhat b{color:var(--fg); font-weight:600} |
302 | 303 | .lintwhy{margin-top:22px} |
303 | 304 | .lintwhy h3{font-size:1.02rem; margin:0 0 .5em} |
304 | | - .whycards{display:grid; gap:12px} |
| 305 | + .whycards{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:12px} |
305 | 306 | .whycards .why{background:var(--card-glass); border:1px solid var(--card-bd); border-left:3px solid var(--accent-ui); border-radius:10px; padding:13px 15px; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px)} |
306 | 307 | .whycards .why b{color:var(--fg)} |
307 | 308 | .whycards .why p{margin:.2em 0 0; color:var(--muted); font-size:.9rem} |
|
0 commit comments