Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
8 lines (8 loc) · 16.4 KB
/
Copy pathstyle.css
File metadata and controls
8 lines (8 loc) · 16.4 KB
1
2
3
4
5
6
7
8
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=ZCOOL+XiaoWei&display=swap');
:root{--ink:#173c34;--muted:#7c8d7b;--gold:#c3a460;--paper:#f7f6ef;--sprites:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Serif SC','Songti SC',serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #cd9850;outline-offset:3px}header{height:90px;border-bottom:1px solid #dce1d5;display:flex;align-items:center;justify-content:space-between;padding:0 4.5%;gap:30px;background:#fafaf5}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;color:var(--ink);font-family:Georgia,serif;font-weight:bold;letter-spacing:3px;font-size:22px}.brand-mark{font-size:42px;color:#9a793d}.brand-sub{display:block;font:12px 'Noto Serif SC',serif;letter-spacing:6px;margin-top:5px}nav{display:flex;gap:36px;height:100%;align-items:center}.nav{height:100%;border:0;background:none;padding:0 4px;color:#7e897b;position:relative}.nav.active{color:var(--ink);font-weight:bold}.nav.active:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;background:var(--ink)}.header-right{display:flex;gap:22px;align-items:center;font-size:12px}.save-indicator{color:#718773}.header-right button{background:none;border:1px solid #dbe1d4;border-radius:5px;padding:7px 10px}main{max-width:1640px;margin:auto;padding:36px 4.5% 0}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font:10px Georgia,serif;letter-spacing:2px;color:#8b987e;margin:0 0 14px}h1{font-size:32px;font-weight:600;letter-spacing:2px;margin:0 0 13px}.subtitle{color:#87917f;font-size:12px;letter-spacing:1px;margin:0}.progress-head{text-align:right;min-width:150px}.progress-head>span{font-size:11px;color:#87917f;letter-spacing:2px;display:block}.progress-head strong{font:40px Georgia,serif;display:block;margin:6px 0}.progress-head small{font-size:17px;color:#aab09e}.progress-line{height:3px;background:#e2e5d7}.progress-line i{height:100%;background:var(--gold);display:block}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px}.world-panel{border:1px solid #bcc7ac;border-radius:9px;overflow:hidden;box-shadow:0 10px 30px #213d2c0b}.world-top{height:42px;display:flex;align-items:center;justify-content:space-between;background:#ecf0e4;padding:0 20px;font-size:12px}.world-top small{color:#849278;margin-left:4px}.world-top>span:last-child{font:10px Georgia;letter-spacing:2px;color:#77836c}.live-dot{display:inline-block;width:6px;height:6px;background:#6d9164;border-radius:50%;margin-right:8px}.scene{height:465px;background-size:cover;background-position:center;position:relative;overflow:hidden;cursor:crosshair;image-rendering:pixelated}.scene-shade{position:absolute;inset:0;background:linear-gradient(#122f2930,transparent 30%,transparent 70%,#102b2bcc);pointer-events:none}.location-label{position:absolute;left:26px;top:23px;color:#ffffdd;text-shadow:0 2px 4px #092b27}.location-label>span{font-size:10px;letter-spacing:2px;color:#e8cf8c}.location-label h2{font-size:22px;margin:8px 0}.map-marker{position:absolute;transform:translate(-50%,-75%);text-align:center;cursor:pointer}.map-marker small{display:block;font-size:10px;white-space:nowrap;color:#fff8d5;text-shadow:0 2px 3px #000;background:#143a3277;padding:3px 6px;border-radius:4px}.sprite{width:90px;height:90px;background-image:var(--sprites);background-size:200% 200%;image-rendering:pixelated;background-repeat:no-repeat}.knight{background-position:0 0;width:75px;height:75px}.wizard{background-position:100% 0}.dragon{background-position:0 100%;width:140px;height:140px}.bubble{font-size:10px;background:#fffae3;color:#34523a;padding:7px 10px;border:1px solid #a79868;display:block;white-space:nowrap;box-shadow:0 3px 0 #153c3466;border-radius:4px;position:absolute;top:-16px;left:50%;transform:translateX(-50%);animation:float 3s ease-in-out infinite}.scene-bottom{position:absolute;bottom:15px;left:22px;right:22px;display:flex;justify-content:space-between;color:#dedebd;font-size:10px;pointer-events:none}kbd{font:10px monospace;border:1px solid #a6b195;padding:3px 5px;border-radius:3px;margin-right:3px;background:#193d3466}.world-footer{height:72px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;background:#fcfbf4;gap:10px}.world-footer>div:first-child{display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;background:#e9ecda;width:36px;height:36px;color:#a38b54;border-radius:5px;font-size:24px}.world-footer strong{display:block;font-size:12px}.world-footer small{display:block;color:#89967a;font-size:10px;margin-top:5px}.health{font-size:10px;color:#a1a58f}.health span{color:#b87362;margin-left:10px;font-size:14px;letter-spacing:3px}.world-footer button{background:none;border:1px solid #cfdbc2;padding:9px 13px;font-size:11px;border-radius:4px}.quest-panel{padding:25px 24px;background:#eeeee2;border:1px solid #dce1d2;border-radius:9px;display:flex;flex-direction:column}.quest-panel .eyebrow{font-size:9px}.quest-number{font:48px Georgia;color:#afbc9d;margin-top:8px}.quest-number span{font-size:16px;color:#a8b397}.quest-panel h2{font-size:23px;font-weight:600;margin:12px 0 15px}.quest-description{font-size:12px;line-height:2.15;color:#7b8872;margin:0}.quest-divider{height:1px;background:#d7ddca;margin:20px 0}.label{font-size:10px;color:#8d957d;letter-spacing:2px}.topic-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 16px}.topic-tags span{background:#e1e6d5;color:#66785c;font-size:10px;padding:5px 7px;border-radius:3px}.reward{display:flex;gap:12px;align-items:center;margin:auto 0 20px;padding-top:10px}.rune-icon{font-size:35px;color:#b99754}.reward small{display:block;color:#92997e;font-size:9px;margin-bottom:5px}.reward strong{font-size:11px}.primary{border:1px solid #275248;background:#214b40;color:#f5f0d8;border-radius:5px;padding:13px 18px;font-size:12px;box-shadow:0 3px 0 #14382e;display:flex;justify-content:space-between;gap:20px;align-items:center;transition:background .2s}.primary:hover{background:#346451}.text-btn{border:0;background:none;font-size:11px;color:#869575;margin-top:16px}.journey{margin:26px 0 30px;border-bottom:1px solid #dde2d4;padding-bottom:25px}.journey-title{display:flex;justify-content:space-between;font-size:12px;margin-bottom:20px}.journey-title small{font-size:10px;color:#96a089}.route{display:flex;justify-content:space-between;position:relative;gap:5px}.route:before{content:'';position:absolute;top:15px;left:20px;right:20px;border-top:1px solid #d2dbc5}.route button{background:none;border:0;position:relative;padding:0;text-align:center;z-index:1}.route span{display:grid;place-items:center;height:30px;width:30px;border:1px solid #d3dcc7;border-radius:50%;background:var(--paper);color:#a9b398;font:11px Georgia;margin:auto}.route small{font-size:9px;color:#a6af98;display:block;margin-top:9px}.route .current span{background:#254c3e;color:#eee4bf;border-color:#254c3e;box-shadow:0 0 0 4px #e2e7d8}.route .current small{color:#305340}.route .done span{border-color:#b7a06a;color:#a18448;background:#efecd9}footer{display:flex;justify-content:space-between;gap:15px;align-items:center;color:#929d84;font-size:10px;padding-bottom:24px}footer>span:first-child{color:#60745a}footer small{color:#a5af98;margin-left:12px}footer button{border:0;background:none;color:#687d61;font-size:10px}.particles{position:absolute;left:60%;top:30%;color:#fcebb2;animation:float 4s infinite;pointer-events:none}.particles span{position:absolute;left:80px;top:50px}.particles span:last-child{left:-110px;top:110px}@keyframes float{50%{transform:translateY(-8px)}}.walking .knight{animation:step .22s infinite alternate}@keyframes step{to{transform:translateY(-4px)}}.modal-backdrop{position:fixed;inset:0;background:#102e28bb;backdrop-filter:blur(5px);z-index:10;display:grid;place-items:center;padding:30px}.modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:#f8f5e8;border:2px solid #c5b789;border-radius:10px;padding:36px;position:relative;box-shadow:0 20px 80px #0006}.close{position:absolute;right:18px;top:12px;background:none;border:0;font-size:26px;color:#8d947d}.modal h2{font-size:26px;margin-top:8px}.modal p{line-height:1.9;color:#66775d;font-size:13px}.modal h3{font-size:15px;line-height:1.8}.modal pre,.lesson pre{background:#193c34;color:#e0dfbb;border:1px solid #486754;border-radius:5px;padding:20px;font:12px/1.9 Menlo,monospace;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.answers{display:grid;gap:9px}.answers button{display:flex;gap:16px;align-items:center;text-align:left;border:1px solid #d9dbc8;background:#fffdf3;border-radius:5px;padding:12px;font-size:13px}.answers button span{color:#9b9e83;font:14px Georgia}.answers button:hover{border-color:#8eab83}.answers .correct{background:#e5edda;border-color:#88a878}.answers .incorrect{border-color:#be8b72}.success{background:#e6ecd9;padding:15px;margin:18px 0;color:#456c3d}.success p{margin:8px 0 0}.error{color:#ad6e52!important}.trial-note{display:block;color:#929a80;margin-top:18px;font-size:10px}.dialogue-head{display:flex;align-items:center;gap:20px}.dialogue-head .sprite{width:100px;height:100px}blockquote{border-left:2px solid #ba9d5c;margin:20px 0;padding:8px 20px;color:#657750;line-height:2;font-size:15px}.book-layout{display:grid;grid-template-columns:210px 1fr;gap:30px}.chapter-list{display:flex;flex-direction:column;gap:4px}.chapter-list button{border:0;background:transparent;display:flex;gap:14px;padding:13px;text-align:left;font-size:12px}.chapter-list span{color:#96a381;font:12px Georgia}.chapter-list small{margin-left:auto}.chapter-list .selected{background:#e6ebdc;border-radius:5px}.lesson{background:#fffef7;border:1px solid #dbe1d0;padding:30px;border-radius:8px}.lesson h2{font-size:27px}.lesson>p{line-height:2.3;color:#6d7d63}.assignment{padding:20px;background:#f0eddd;margin:20px 0}.assignment p{line-height:2;font-size:12px}.assignment small{color:#91957d;font-size:11px}.rune-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.rune-card{border:1px solid #dce2d0;background:#eeefe5;border-radius:8px;padding:25px 15px;color:#9aa58b}.rune-card>span{display:block;font-size:46px;color:#acb89b;margin-bottom:12px}.rune-card>small{display:block;font:9px Georgia;letter-spacing:2px}.rune-card strong{display:block;margin:10px 0;font-size:18px}.rune-card p{font-size:12px}.rune-card em{font-style:normal;font-size:10px}.rune-card.collected{background:#f5efd9;border-color:#c9b788;color:#66784f}.rune-card.collected>span{color:#b89447}.regex-lab{background:#e9eddf;padding:20px;margin:20px 0}.regex-lab p{font-size:11px;line-height:1.8;color:#859274}.regex-lab label{display:block;font-size:12px;margin:12px 0}.regex-lab input,.regex-lab textarea{display:block;width:100%;margin-top:8px;border:1px solid #b8c5a6;background:#fffdf4;border-radius:4px;padding:10px;color:#254638;font:12px/1.8 Menlo,monospace}.regex-lab textarea{min-height:85px}.regex-lab button{padding:8px 15px;border:1px solid #96a584;background:#dbe4cc;border-radius:4px}.regex-lab output{display:block;margin-top:15px;font:12px/1.8 Menlo,monospace;overflow-wrap:anywhere}.ending-dragon{margin:0 auto;width:180px;height:180px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#224d3f;color:#f5efd4;padding:15px 25px;border-radius:5px;box-shadow:0 5px 25px #0003;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px}#toast.show{opacity:1}@media(min-width:1500px){.scene{height:550px}}@media(max-width:1100px){nav{gap:18px}.game-layout{grid-template-columns:1fr 250px;gap:16px}.quest-panel{padding:20px}.health{display:none}.route small{font-size:8px}main{padding-left:3%;padding-right:3%}footer small{display:none}}@media(max-width:800px){header{padding:0 20px;height:75px;gap:15px}.brand{font-size:16px}.brand-mark{font-size:30px}.header-right .save-indicator{display:none}nav{gap:12px;font-size:12px}.heading{gap:20px}h1{font-size:24px}.subtitle{line-height:1.8}.game-layout{grid-template-columns:1fr}.quest-panel{display:block}.quest-number{display:none}.quest-panel .primary{width:100%}.scene{height:420px}.route{overflow:auto;gap:18px;padding:4px}.route small{white-space:nowrap}.progress-head{min-width:90px}.book-layout{grid-template-columns:1fr}.chapter-list{display:grid;grid-template-columns:repeat(3,1fr)}.rune-grid{grid-template-columns:repeat(2,1fr)}footer{flex-wrap:wrap;line-height:2}.scene-bottom{font-size:8px}.world-footer{padding:0 12px}.lesson{padding:20px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:520px){header{flex-wrap:wrap;height:auto;padding:12px 16px;gap:10px}.brand-sub{font-size:9px;letter-spacing:3px}.brand{white-space:nowrap}.header-right{margin-left:auto;gap:0}.header-right button{font-size:10px;white-space:nowrap}nav{order:3;width:100%;justify-content:space-around;height:38px}.nav{white-space:nowrap}.heading{align-items:flex-start}.progress-head strong{font-size:30px}.scene{height:380px}.chapter-list{grid-template-columns:repeat(2,1fr)}.scene-bottom{left:10px;right:10px;gap:10px}.scene-bottom span{max-width:50%;line-height:2}}
.route{overflow-x:auto;gap:16px;padding:6px 4px 12px;scrollbar-width:thin;scrollbar-color:#bec8ae transparent}.route button{min-width:64px}.route small{white-space:nowrap}.route:before{min-width:2520px}.route .current{scroll-margin:200px}.quest-panel h2{font-size:20px;line-height:1.6}
.app-icon{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}.brand-mark.app-icon{font-size:initial}.rune-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:800px){.rune-grid{grid-template-columns:repeat(2,1fr)}}
.hotspot-ring{position:absolute;width:74px;height:24px;border:1px solid #edce8566;border-radius:50%;left:50%;top:60%;transform:translate(-50%,-50%);background:radial-gradient(ellipse,#fbd87718,transparent 65%);box-shadow:0 0 10px #ffd98022;pointer-events:none;z-index:2;transition:border-color .25s}.hotspot-ring.near{border-color:#fff2ba;animation:hotspot-glimmer 1.5s ease-in-out infinite;box-shadow:0 0 15px #ffdc8699,0 0 35px #ffc65966,inset 0 0 12px #ffdb7377;background:radial-gradient(ellipse,#ffe9a055,transparent 70%)}.map-hotspot{position:absolute;transform:translate(-50%,-75%);background:none;border:0;padding:0;z-index:2;width:75px;display:flex;flex-direction:column;align-items:center;cursor:pointer}.map-hotspot .hotspot-ring{top:73%}.map-hotspot small{white-space:nowrap;font-size:10px;color:#fff8d5;text-shadow:0 2px 3px #000;background:#143a3277;padding:3px 6px;border-radius:4px;margin-top:3px}.stone-rune{display:grid;place-items:center;width:36px;height:47px;background:linear-gradient(90deg,#324e42,#78917a,#30493e);border:3px solid #233e34;border-top:3px solid #a7ae89;border-radius:4px 4px 0 0;color:#ead49a;font-size:30px;box-shadow:3px 3px 0 #152e28}.portal-glyph{width:44px;height:56px;border:4px solid #617968;border-top-color:#adb390;background:radial-gradient(ellipse,#83ccb155,#173e3877);border-radius:50% 50% 3px 3px;display:grid;place-items:center;color:#e1d59a;font-size:35px;box-shadow:3px 3px 0 #102a24}.proximity-hint{position:absolute;left:50%;bottom:48px;transform:translateX(-50%);padding:8px 16px;background:#153a32e8;border:1px solid #d6bc77;color:#ffebad;box-shadow:0 0 16px #ffdb7122;border-radius:4px;font-size:11px;z-index:5;opacity:0;pointer-events:none;transition:opacity .2s;white-space:nowrap}.proximity-hint.visible{opacity:1}.player{z-index:4}.wizard-marker,.dragon-marker{z-index:3}@keyframes hotspot-glimmer{0%,100%{opacity:.45;filter:brightness(.9);transform:translate(-50%,-50%) scale(.94)}50%{opacity:1;filter:brightness(1.35);transform:translate(-50%,-50%) scale(1.08)}}@media(prefers-reduced-motion:reduce){.hotspot-ring.near{opacity:1;outline:2px solid #fff2ba}}
.chapter-list button:disabled,.rune-card:disabled{opacity:.5;cursor:not-allowed}
.trial-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 22px;padding-bottom:16px;border-bottom:1px solid #d6ddc7}.trial-progress strong{font-size:12px;color:#738567}.trial-progress>span{display:flex;gap:9px}.trial-progress i{font:12px Georgia;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #c9d2ba;color:#9ba48b}.trial-progress i.current{background:#284e40;color:#fff0c4;border-color:#284e40}.trial-progress i.answered{background:#eee6c9;border-color:#c6ac69;color:#9a7c37}.trial-summary{font-size:11px;color:#7f8e70;margin:0 0 12px;letter-spacing:1px}