MC/website/web/api-developer.css

1 line
No EOL
2.1 KiB
CSS

*{box-sizing:border-box}body{margin:0;background:#0b241c;color:#eee6ce;font:16px/1.6 system-ui,Arial,sans-serif}a{color:#e4ca83;text-decoration:none}a:hover{text-decoration:underline}header,footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px max(24px,calc((100vw - 1150px)/2));border-bottom:1px solid #7b724b}footer{border-top:1px solid #7b724b;border-bottom:0;flex-wrap:wrap}.brand{font-weight:800;letter-spacing:.12em}.brand span,.eyebrow{color:#c9b477;font-size:.8rem;letter-spacing:.15em}main{max-width:1150px;margin:auto;padding:28px 24px 90px}.hero{padding:56px 0 36px;border-bottom:1px solid #776b43}h1{font-size:clamp(2.5rem,7vw,5rem);line-height:1.1;margin:10px 0}h1 em{font-style:normal;color:#e1c576}.hero>p:not(.eyebrow){max-width:720px;color:#bac9b4}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:38px}.stats>div,article,.response,.guide,.private{border:1px solid #73815a;background:#15372b;border-radius:12px;padding:20px}.stats span{display:block;color:#b7c8b3;font-size:.75rem;letter-spacing:.08em}.stats strong{font-size:1.2rem}.content{margin-top:45px}.section-head p,.notice{color:#b8c8b4}.endpoints{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px;margin:24px 0}article code{color:#e8ce8b}article h3{margin:12px 0 4px}article p{min-height:72px;color:#c7d1bc}button,.primary{cursor:pointer;border:1px solid #b49750;background:#234536;color:#f3e7c2;border-radius:7px;padding:10px 15px;font:inherit}.response{padding:0;overflow:hidden}.response-head{display:flex;justify-content:space-between;background:#1c3d2e;padding:12px 18px;gap:12px}.response pre{overflow:auto;max-height:340px;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;margin:0;font-size:.85rem}.private{padding:28px}.link-grid,#guest-links{display:flex;flex-wrap:wrap;gap:16px}.link-grid a{border:1px solid #88784d;padding:10px 14px;border-radius:7px}.guide p{margin:12px 0}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}footer nav{display:flex;gap:20px;flex-wrap:wrap}@media(max-width:650px){header{flex-wrap:wrap}.stats{grid-template-columns:1fr}.hero{padding-top:22px}}