Download preview-effects.html from Lashtw/idle: direct link, hf CLI and curl.
- Browser
- Download file 17.6 kB
-
https://huggingface.co/spaces/Lashtw/idle/resolve/main/preview-effects.html
- Command line
-
hf download hf://spaces/Lashtw/idle/preview-effects.html
-
curl -L -o preview-effects.html https://huggingface.co/spaces/Lashtw/idle/resolve/main/preview-effects.html
17.6 kB
| <html lang="zh-TW"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>大內官窯・第二紀元飛升特效候選預覽器</title> | |
| <style> | |
| :root { | |
| --bg: #181512; | |
| --card-bg: rgba(30, 26, 22, 0.9); | |
| --gold: #f59e0b; | |
| --gold-light: #fef08a; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif; | |
| background: var(--bg); | |
| color: #f3f4f6; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 24px 16px; | |
| } | |
| header { | |
| text-align: center; | |
| max-width: 800px; | |
| margin-bottom: 20px; | |
| } | |
| h1 { | |
| font-size: 24px; | |
| color: #fbbf24; | |
| margin-bottom: 8px; | |
| } | |
| p.desc { | |
| font-size: 14px; | |
| color: #9ca3af; | |
| line-height: 1.6; | |
| } | |
| .toolbar { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 10px; | |
| justify-content: center; | |
| margin-bottom: 20px; | |
| max-width: 900px; | |
| } | |
| .btn-opt { | |
| padding: 10px 18px; | |
| border-radius: 99px; | |
| border: 1.5px solid rgba(245, 158, 11, 0.4); | |
| background: rgba(45, 35, 25, 0.9); | |
| color: #e5e7eb; | |
| font-size: 14px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .btn-opt:hover { | |
| border-color: #f59e0b; | |
| transform: translateY(-2px); | |
| } | |
| .btn-opt.active { | |
| background: linear-gradient(135deg, #f59e0b, #d97706); | |
| color: #111827; | |
| border-color: #fde047; | |
| box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45); | |
| transform: scale(1.04); | |
| } | |
| .stage-container { | |
| width: 100%; | |
| max-width: 860px; | |
| height: 460px; | |
| background: url('assets/map_chibi.jpg') center 45%/cover no-repeat; | |
| border: 2px solid rgba(245, 158, 11, 0.35); | |
| border-radius: 20px; | |
| box-shadow: 0 20px 40px rgba(0,0,0,0.6); | |
| position: relative; | |
| overflow: hidden; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .stage-overlay { | |
| position: absolute; | |
| inset: 0; | |
| background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%); | |
| pointer-events: none; | |
| } | |
| .town-spot { | |
| position: relative; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| z-index: 10; | |
| } | |
| .town-wrap { | |
| position: relative; | |
| width: 155px; | |
| height: 155px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .town-img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| z-index: 5; | |
| position: relative; | |
| filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45)); | |
| } | |
| .town-label { | |
| margin-top: -8px; | |
| padding: 4px 12px; | |
| border-radius: 12px; | |
| font-size: 12px; | |
| font-weight: 800; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 2px; | |
| z-index: 8; | |
| box-shadow: 0 6px 16px rgba(0,0,0,0.3); | |
| white-space: nowrap; | |
| } | |
| .label-top { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .badge-nirvana { | |
| font-size: 10px; | |
| font-weight: 800; | |
| padding: 1px 5px; | |
| border-radius: 4px; | |
| background: linear-gradient(135deg, #f59e0b, #d97706); | |
| color: #fff; | |
| } | |
| .label-prod { | |
| font-size: 10px; | |
| font-weight: 900; | |
| padding: 1px 8px; | |
| border-radius: 99px; | |
| } | |
| /* 方案 1:周天靈光・升騰金輝 */ | |
| .effect-1 .town-img { | |
| filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.8)) | |
| drop-shadow(0 0 24px rgba(254, 240, 138, 0.5)) | |
| drop-shadow(0 14px 20px rgba(0,0,0,0.55)); | |
| animation: floatBreath 3.5s ease-in-out infinite; | |
| } | |
| .effect-1 .particles-wrap { | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| z-index: 6; | |
| } | |
| .spark { | |
| position: absolute; | |
| width: 4px; | |
| height: 4px; | |
| background: #fef08a; | |
| border-radius: 50%; | |
| box-shadow: 0 0 6px #f59e0b, 0 0 10px #fff; | |
| animation: sparkRise 3s infinite ease-out; | |
| opacity: 0; | |
| } | |
| .spark:nth-child(1) { left: 45%; bottom: 35%; animation-delay: 0.2s; } | |
| .spark:nth-child(2) { left: 55%; bottom: 30%; animation-delay: 1.1s; } | |
| .spark:nth-child(3) { left: 35%; bottom: 45%; animation-delay: 1.8s; } | |
| .spark:nth-child(4) { left: 65%; bottom: 40%; animation-delay: 2.3s; } | |
| .spark:nth-child(5) { left: 50%; bottom: 55%; animation-delay: 0.7s; } | |
| @keyframes sparkRise { | |
| 0% { transform: translateY(0) scale(0.6); opacity: 0; } | |
| 20% { opacity: 0.95; transform: translateY(-20px) scale(1.2); } | |
| 80% { opacity: 0.6; transform: translateY(-70px) scale(0.8); } | |
| 100% { opacity: 0; transform: translateY(-110px) scale(0.2); } | |
| } | |
| @keyframes floatBreath { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-4px); } | |
| } | |
| .effect-1 .town-label { | |
| background: rgba(255, 255, 255, 0.96); | |
| border: 1.5px solid #f59e0b; | |
| color: #78350f; | |
| } | |
| .effect-1 .label-prod { | |
| background: rgba(245, 158, 11, 0.15); | |
| color: #b45309; | |
| } | |
| /* 方案 2:等角仙韻・祥雲繚繞 */ | |
| .effect-2 .town-img { | |
| filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6)) drop-shadow(0 12px 18px rgba(0,0,0,0.5)); | |
| } | |
| .effect-2 .cloud-orbit { | |
| position: absolute; | |
| bottom: 6%; | |
| left: 50%; | |
| width: 130px; | |
| height: 65px; | |
| transform: translateX(-50%); | |
| pointer-events: none; | |
| z-index: 4; | |
| } | |
| .cloud-orb { | |
| position: absolute; | |
| width: 52px; | |
| height: 26px; | |
| background: radial-gradient(ellipse at center, rgba(254, 240, 138, 0.8) 0%, rgba(245, 158, 11, 0.35) 60%, transparent 100%); | |
| border-radius: 50%; | |
| filter: blur(4px); | |
| } | |
| .cloud-orb.c1 { animation: orbitCloud1 6s infinite ease-in-out; } | |
| .cloud-orb.c2 { animation: orbitCloud2 6s infinite ease-in-out; } | |
| @keyframes orbitCloud1 { | |
| 0% { transform: translate(-30px, 10px) scale(0.85); opacity: 0.45; } | |
| 50% { transform: translate(35px, -15px) scale(1.15); opacity: 0.95; } | |
| 100% { transform: translate(-30px, 10px) scale(0.85); opacity: 0.45; } | |
| } | |
| @keyframes orbitCloud2 { | |
| 0% { transform: translate(30px, -10px) scale(1.1); opacity: 0.9; } | |
| 50% { transform: translate(-35px, 15px) scale(0.8); opacity: 0.4; } | |
| 100% { transform: translate(30px, -10px) scale(1.1); opacity: 0.9; } | |
| } | |
| .effect-2 .town-label { | |
| background: linear-gradient(135deg, #fffbeb, #fef3c7); | |
| border: 1.5px solid #d97706; | |
| color: #92400e; | |
| } | |
| .effect-2 .label-prod { | |
| background: rgba(217, 119, 6, 0.18); | |
| color: #b45309; | |
| } | |
| /* 方案 3:天降帝威・沐浴聖光 */ | |
| .effect-3 .sunbeam-wrap { | |
| position: absolute; | |
| top: -120px; | |
| left: 50%; | |
| width: 200px; | |
| height: 320px; | |
| transform: translateX(-50%) rotate(-20deg); | |
| background: linear-gradient(180deg, rgba(254, 240, 138, 0.38) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 95%); | |
| clip-path: polygon(40% 0%, 60% 0%, 90% 100%, 10% 100%); | |
| filter: blur(8px); | |
| pointer-events: none; | |
| z-index: 3; | |
| animation: beamPulse 4s infinite alternate ease-in-out; | |
| } | |
| @keyframes beamPulse { | |
| 0% { opacity: 0.45; transform: translateX(-50%) rotate(-20deg) scaleX(0.9); } | |
| 100% { opacity: 0.9; transform: translateX(-50%) rotate(-20deg) scaleX(1.1); } | |
| } | |
| .effect-3 .town-img { | |
| filter: drop-shadow(0 0 16px rgba(254, 240, 138, 0.85)) drop-shadow(0 14px 22px rgba(0,0,0,0.55)); | |
| } | |
| .effect-3 .town-label { | |
| background: rgba(255, 255, 255, 0.98); | |
| border: 2px solid #f59e0b; | |
| box-shadow: 0 0 14px rgba(245, 158, 11, 0.4); | |
| color: #78350f; | |
| } | |
| .effect-3 .label-prod { | |
| background: #fef3c7; | |
| color: #b45309; | |
| } | |
| /* 方案 4:等角乾坤・地脈菱紋 */ | |
| .effect-4 .diamond-base { | |
| position: absolute; | |
| bottom: 2%; | |
| left: 50%; | |
| width: 120px; | |
| height: 60px; | |
| transform: translateX(-50%); | |
| border: 1.5px solid rgba(245, 158, 11, 0.75); | |
| border-radius: 8px; | |
| box-shadow: 0 0 14px rgba(245, 158, 11, 0.5), inset 0 0 10px rgba(245, 158, 11, 0.3); | |
| background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.25) 0%, transparent 70%); | |
| pointer-events: none; | |
| z-index: 3; | |
| animation: diamondBreathe 2.8s infinite alternate ease-in-out; | |
| } | |
| .effect-4 .diamond-base::after { | |
| content: ''; | |
| position: absolute; | |
| inset: 4px; | |
| border: 1px dashed rgba(254, 240, 138, 0.65); | |
| border-radius: 6px; | |
| } | |
| @keyframes diamondBreathe { | |
| 0% { opacity: 0.5; transform: translateX(-50%) scale(0.96); } | |
| 100% { opacity: 1; transform: translateX(-50%) scale(1.04); filter: drop-shadow(0 0 8px #f59e0b); } | |
| } | |
| .effect-4 .town-img { | |
| filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5)) drop-shadow(0 12px 16px rgba(0,0,0,0.5)); | |
| } | |
| .effect-4 .town-label { | |
| background: rgba(24, 20, 16, 0.94); | |
| border: 1.5px solid #f59e0b; | |
| color: #fef08a; | |
| } | |
| .effect-4 .label-prod { | |
| background: rgba(245, 158, 11, 0.2); | |
| color: #fde047; | |
| } | |
| /* 方案 5:皇家名都・極簡金輝 */ | |
| .effect-5 .town-img { | |
| filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.65)) drop-shadow(0 12px 18px rgba(0,0,0,0.45)); | |
| transition: all 0.3s ease; | |
| } | |
| .effect-5:hover .town-img { | |
| filter: drop-shadow(0 0 20px rgba(254, 240, 138, 0.95)) drop-shadow(0 16px 24px rgba(0,0,0,0.6)); | |
| transform: translateY(-4px) scale(1.05); | |
| } | |
| .effect-5 .town-label { | |
| background: rgba(255, 255, 255, 0.96); | |
| border: 1.5px solid #d97706; | |
| box-shadow: 0 4px 14px rgba(0,0,0,0.18), 0 0 10px rgba(245, 158, 11, 0.35); | |
| color: #78350f; | |
| } | |
| .effect-5 .label-prod { | |
| background: #fef3c7; | |
| color: #b45309; | |
| } | |
| .details-card { | |
| margin-top: 20px; | |
| max-width: 860px; | |
| width: 100%; | |
| background: var(--card-bg); | |
| border: 1.5px solid rgba(245, 158, 11, 0.3); | |
| border-radius: 16px; | |
| padding: 20px 24px; | |
| box-shadow: 0 12px 28px rgba(0,0,0,0.5); | |
| } | |
| .details-title { | |
| font-size: 18px; | |
| color: #fbbf24; | |
| font-weight: 800; | |
| margin-bottom: 8px; | |
| } | |
| .details-desc { | |
| font-size: 14px; | |
| color: #d1d5db; | |
| line-height: 1.7; | |
| } | |
| .details-tags { | |
| display: flex; | |
| gap: 8px; | |
| margin-top: 12px; | |
| flex-wrap: wrap; | |
| } | |
| .tag-item { | |
| font-size: 12px; | |
| background: rgba(245, 158, 11, 0.15); | |
| color: #fde047; | |
| padding: 3px 10px; | |
| border-radius: 99px; | |
| border: 1px solid rgba(245, 158, 11, 0.3); | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>🏺 大內官窯・第二紀元飛升特效候選預覽器</h1> | |
| <p class="desc"> | |
| 請點擊下方按鈕切換觀看 Live 即時動態,挑選您最滿意的一款! | |
| </p> | |
| </header> | |
| <div class="toolbar"> | |
| <button class="btn-opt active" onclick="selectEffect(1)">✨ 方案 1:周天靈光・升騰金輝</button> | |
| <button class="btn-opt" onclick="selectEffect(2)">☁️ 方案 2:等角仙韻・祥雲繚繞</button> | |
| <button class="btn-opt" onclick="selectEffect(3)">☀️ 方案 3:天降帝威・沐浴聖光</button> | |
| <button class="btn-opt" onclick="selectEffect(4)">🔷 方案 4:等角乾坤・地脈菱紋</button> | |
| <button class="btn-opt" onclick="selectEffect(5)">👑 方案 5:皇家名都・極簡金輝</button> | |
| </div> | |
| <div class="stage-container"> | |
| <div class="stage-overlay"></div> | |
| <div id="targetSpot" class="town-spot effect-1"> | |
| <div class="sunbeam-wrap" id="sunbeamEl" style="display:none;"></div> | |
| <div class="town-wrap"> | |
| <div class="diamond-base" id="diamondEl" style="display:none;"></div> | |
| <div class="cloud-orbit" id="cloudEl" style="display:none;"> | |
| <div class="cloud-orb c1"></div> | |
| <div class="cloud-orb c2"></div> | |
| </div> | |
| <div class="particles-wrap" id="particlesEl"> | |
| <div class="spark"></div> | |
| <div class="spark"></div> | |
| <div class="spark"></div> | |
| <div class="spark"></div> | |
| <div class="spark"></div> | |
| </div> | |
| <img class="town-img" src="assets/building_b1_era2.png" alt="大內官窯手辦"> | |
| </div> | |
| <div class="town-label"> | |
| <div class="label-top"> | |
| <span>🏺 大內官窯</span> | |
| <span class="badge-nirvana">🧬 涅槃</span> | |
| </div> | |
| <div class="label-prod">🌾 +266B/秒</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="details-card"> | |
| <div class="details-title" id="infoTitle">✨ 方案 1:【周天靈光・升騰金輝】(Ascending Divine Sparks)</div> | |
| <div class="details-desc" id="infoDesc"> | |
| 徹底移除外圈生硬的大圓環。特效回歸手辦模型本體:大內官窯散發天朝雙層金青琉璃高光,窯爐與青瓷頂部持續升騰出微細飄逸的仙氣金光火星,配合手辦輕盈的浮空呼吸微動,既有神品出世的尊榮感,又完全不遮擋鄰近城池與地圖山水! | |
| </div> | |
| <div class="details-tags" id="infoTags"> | |
| <span class="tag-item">無突兀大圈圈</span> | |
| <span class="tag-item">靈氣粒子升騰</span> | |
| <span class="tag-item">白琉璃金邊標牌</span> | |
| <span class="tag-item">完全不擋路</span> | |
| </div> | |
| </div> | |
| <script> | |
| const EFFECT_INFO = { | |
| 1: { | |
| title: "✨ 方案 1:【周天靈光・升騰金輝】(Ascending Divine Sparks)", | |
| desc: "徹底移除外圈生硬的大圓環。特效回歸手辦模型本體:大內官窯散發天朝雙層金青琉璃高光,窯爐與青瓷頂部持續升騰出微細飄逸的仙氣金光火星,配合手辦輕盈的浮空呼吸微動,既有神品出世的尊榮感,又完全不遮擋鄰近城池與地圖山水!", | |
| tags: ["無突兀大圈圈", "靈氣粒子升騰", "白琉璃金邊標牌", "完全不擋路"], | |
| showSunbeam: false, showCloud: false, showDiamond: false, showParticles: true | |
| }, | |
| 2: { | |
| title: "☁️ 方案 2:【等角仙韻・祥雲繚繞】(Isometric Cloud Mist)", | |
| desc: "以東方古典仙俠的『祥雲仙霧』取代機械光環。兩朵柔和半透明的金色瑞氣祥雲,配合 2.5D 等角地勢,沿著地基緩緩漂浮繚繞,營造大內名都隱於仙界山水間的唯美意境。", | |
| tags: ["東方仙韻祥雲", "柔和自然不刺眼", "契合 2.5D 等角角度", "暖金霞光"], | |
| showSunbeam: false, showCloud: true, showDiamond: false, showParticles: false | |
| }, | |
| 3: { | |
| title: "☀️ 方案 3:【天降帝威・沐浴聖光】(Imperial Sunbeams)", | |
| desc: "打破地盤圓圈的思維,從天際以 45 度角斜灑下兩道半透明的晨曦天光(God Rays),柔和照耀在大內官窯上,配合屋頂與煙囪的受光微閃,呈現『皇天庇佑、天命所歸』的神聖帝王氣魄!", | |
| tags: ["天界破空聖光", "斜向空間縱深感", "皇朝神聖氣勢", "高光立體"], | |
| showSunbeam: true, showCloud: false, showDiamond: false, showParticles: false | |
| }, | |
| 4: { | |
| title: "🔷 方案 4:【等角乾坤・地脈菱紋】(Isometric Diamond Rune)", | |
| desc: "針對喜歡法陣感的設計,但將生硬的大正圓改成『嚴格契合 2.5D 等角俯視角』的精緻菱形幾何金線法陣。尺寸精準緊貼在泥土地基內部,旋轉平緩細膩,絕不越界踩到隔壁的水寨與稻鄉!", | |
| tags: ["嚴格等角菱形", "精細金絲法陣", "緊貼地基邊界", "科技修仙美學"], | |
| showSunbeam: false, showCloud: false, showDiamond: true, showParticles: false | |
| }, | |
| 5: { | |
| title: "👑 方案 5:【皇家名都・極簡金輝】(Clean Royal Prestige)", | |
| desc: "追求極致純淨的沙盤微縮模型美學。地表不做任何多餘裝飾,手辦本體增加精緻的多重金色投影與微浮動,搭配重新設計的羊脂白琉璃金色名牌,乾淨俐落、高貴不俗套。", | |
| tags: ["零多餘裝飾", "最純淨手辦美感", "清爽不眼花", "白玉金邊名牌"], | |
| showSunbeam: false, showCloud: false, showDiamond: false, showParticles: false | |
| } | |
| }; | |
| function selectEffect(id) { | |
| document.querySelectorAll('.btn-opt').forEach((btn, idx) => { | |
| btn.classList.toggle('active', (idx + 1) === id); | |
| }); | |
| const spot = document.getElementById('targetSpot'); | |
| spot.className = 'town-spot effect-' + id; | |
| const data = EFFECT_INFO[id]; | |
| document.getElementById('infoTitle').textContent = data.title; | |
| document.getElementById('infoDesc').textContent = data.desc; | |
| document.getElementById('infoTags').innerHTML = data.tags.map(t => `<span class="tag-item">${t}</span>`).join(''); | |
| document.getElementById('sunbeamEl').style.display = data.showSunbeam ? 'block' : 'none'; | |
| document.getElementById('cloudEl').style.display = data.showCloud ? 'block' : 'none'; | |
| document.getElementById('diamondEl').style.display = data.showDiamond ? 'block' : 'none'; | |
| document.getElementById('particlesEl').style.display = data.showParticles ? 'block' : 'none'; | |
| } | |
| </script> | |
| </body> | |
| </html> | |