维护页:钻石镐改用 Minecraft 原版 16×16 物品图(平时整像素对齐、就是原版图标;挥的时候绕柄尾转)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 285 B |
+8
-10
@@ -50,11 +50,12 @@ body{min-height:100%;display:flex;align-items:center;justify-content:center;padd
|
|||||||
.gem::after{content:"";position:absolute;inset:0;-webkit-mask:url('/assets/gem.webp') center/contain no-repeat;mask:url('/assets/gem.webp') center/contain no-repeat;
|
.gem::after{content:"";position:absolute;inset:0;-webkit-mask:url('/assets/gem.webp') center/contain no-repeat;mask:url('/assets/gem.webp') center/contain no-repeat;
|
||||||
background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.95) 50%,transparent 65%) no-repeat;background-size:260% 100%;background-position:120% 0;animation:glint var(--T) ease-out infinite}
|
background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.95) 50%,transparent 65%) no-repeat;background-size:260% 100%;background-position:120% 0;animation:glint var(--T) ease-out infinite}
|
||||||
/* 像素钻石镐:绕握把末端转,抬起 → 猛地敲下 → 回弹 */
|
/* 像素钻石镐:绕握把末端转,抬起 → 猛地敲下 → 回弹 */
|
||||||
/* 握在左下角的柄尾(16×16 图第 1 列第 14 行那格),镐头在右上;顺时针转 = 往钻石那边砸 */
|
/* 钻石镐:Minecraft 原版 16×16 物品图(assets/diamond-pickaxe.png),一格像素放大成 3px;
|
||||||
.pick{position:absolute;left:12px;top:-26px;width:64px;height:64px;transform-origin:6px 58px;animation:swing var(--T) cubic-bezier(.5,0,.2,1) infinite}
|
平时就是原版图标的样子(0°、整像素对齐),只在挥的时候绕柄尾(左下角那格)转;顺时针转 = 往钻石那边砸 */
|
||||||
.pick svg{display:block;width:100%;height:100%;shape-rendering:crispEdges;filter:drop-shadow(1px 3px 2px rgba(30,36,64,.25))}
|
.pick{position:absolute;left:22px;top:-17px;width:48px;height:48px;transform-origin:8px 43px;animation:swing var(--T) cubic-bezier(.5,0,.2,1) infinite}
|
||||||
|
.pick img{display:block;width:48px;height:48px;image-rendering:pixelated;image-rendering:crisp-edges;filter:drop-shadow(1px 3px 2px rgba(30,36,64,.25))}
|
||||||
/* 火花:五粒光谱色像素,敲中时迸出去、划个弧落下 */
|
/* 火花:五粒光谱色像素,敲中时迸出去、划个弧落下 */
|
||||||
.spark{position:absolute;left:63px;top:25px;width:6px;height:6px;opacity:0;animation:spark var(--T) cubic-bezier(.2,.7,.4,1) infinite}
|
.spark{position:absolute;left:61px;top:23px;width:6px;height:6px;opacity:0;animation:spark var(--T) cubic-bezier(.2,.7,.4,1) infinite}
|
||||||
.spark:nth-of-type(1){background:#FF8FAB;--dx:-30px;--dy:-26px}
|
.spark:nth-of-type(1){background:#FF8FAB;--dx:-30px;--dy:-26px}
|
||||||
.spark:nth-of-type(2){background:#FFC24D;--dx:-6px;--dy:-44px;width:5px;height:5px}
|
.spark:nth-of-type(2){background:#FFC24D;--dx:-6px;--dy:-44px;width:5px;height:5px}
|
||||||
.spark:nth-of-type(3){background:#6FDB9A;--dx:22px;--dy:-36px}
|
.spark:nth-of-type(3){background:#6FDB9A;--dx:22px;--dy:-36px}
|
||||||
@@ -63,8 +64,8 @@ body{min-height:100%;display:flex;align-items:center;justify-content:center;padd
|
|||||||
|
|
||||||
@keyframes spin{to{transform:rotate(360deg)}}
|
@keyframes spin{to{transform:rotate(360deg)}}
|
||||||
@keyframes float{0%,100%{transform:translateY(0)}25%{transform:translateY(-6px)}}
|
@keyframes float{0%,100%{transform:translateY(0)}25%{transform:translateY(-6px)}}
|
||||||
/* 一轮 2.4s:0–30% 往后抡起,30–37% 砸下,37–38% 镐尖碰到钻石(敲中),之后弹开、落回 */
|
/* 一轮 2.4s:0% 原版图标的样子 → 28% 往后抡起 → 36–38% 砸下、镐尖碰到钻石顶(敲中)→ 弹开、落回 0° */
|
||||||
@keyframes swing{0%{transform:rotate(-36deg)}30%{transform:rotate(-78deg)}37%{transform:rotate(-11deg)}38%{transform:rotate(-12deg)}46%{transform:rotate(-26deg)}53%{transform:rotate(-19deg)}66%,100%{transform:rotate(-36deg)}}
|
@keyframes swing{0%{transform:rotate(0)}28%{transform:rotate(-38deg)}36%{transform:rotate(16deg)}38%{transform:rotate(14deg)}47%{transform:rotate(4deg)}56%,100%{transform:rotate(0)}}
|
||||||
@keyframes squash{0%,37%{transform:scale(1,1)}40%{transform:scale(1.14,.82)}46%{transform:scale(.92,1.1)}53%{transform:scale(1.04,.97)}60%,100%{transform:scale(1,1)}}
|
@keyframes squash{0%,37%{transform:scale(1,1)}40%{transform:scale(1.14,.82)}46%{transform:scale(.92,1.1)}53%{transform:scale(1.04,.97)}60%,100%{transform:scale(1,1)}}
|
||||||
@keyframes spark{0%,37%{opacity:0;transform:translate(0,0)}39%{opacity:1;transform:translate(calc(var(--dx)*.25),calc(var(--dy)*.4))}58%{opacity:1;transform:translate(var(--dx),var(--dy))}74%{opacity:0;transform:translate(calc(var(--dx)*1.3),calc(var(--dy)*.2 + 26px))}100%{opacity:0}}
|
@keyframes spark{0%,37%{opacity:0;transform:translate(0,0)}39%{opacity:1;transform:translate(calc(var(--dx)*.25),calc(var(--dy)*.4))}58%{opacity:1;transform:translate(var(--dx),var(--dy))}74%{opacity:0;transform:translate(calc(var(--dx)*1.3),calc(var(--dy)*.2 + 26px))}100%{opacity:0}}
|
||||||
@keyframes glint{0%,42%{background-position:120% 0}64%,100%{background-position:-20% 0}}
|
@keyframes glint{0%,42%{background-position:120% 0}64%,100%{background-position:-20% 0}}
|
||||||
@@ -109,10 +110,7 @@ small{display:block;margin-top:16px;color:var(--ink-3);font-size:12.5px}
|
|||||||
<span class="halo"></span><span class="ring"></span><span class="floor"></span>
|
<span class="halo"></span><span class="ring"></span><span class="floor"></span>
|
||||||
<div class="gem"><img src="/assets/gem.webp" alt="" width="72" height="72"></div>
|
<div class="gem"><img src="/assets/gem.webp" alt="" width="72" height="72"></div>
|
||||||
<i class="spark"></i><i class="spark"></i><i class="spark"></i><i class="spark"></i><i class="spark"></i>
|
<i class="spark"></i><i class="spark"></i><i class="spark"></i><i class="spark"></i><i class="spark"></i>
|
||||||
<div class="pick" aria-hidden="true">
|
<div class="pick" aria-hidden="true"><img src="/assets/diamond-pickaxe.png" alt="" width="48" height="48"></div>
|
||||||
<!-- 像素钻石镐:标准 16×16 物品图的样子(拱形镐头沿上边和右边、两头尖、凹面朝柄;木柄从左下斜插进拱的内角;钻石青配色 + 深青描边) -->
|
|
||||||
<svg viewBox="0 0 16 16"><g fill="#113F3C"><rect x="4" y="0" width="1" height="1"/><rect x="5" y="0" width="1" height="1"/><rect x="2" y="1" width="1" height="1"/><rect x="3" y="1" width="1" height="1"/><rect x="6" y="1" width="1" height="1"/><rect x="7" y="1" width="1" height="1"/><rect x="8" y="1" width="1" height="1"/><rect x="1" y="2" width="1" height="1"/><rect x="9" y="2" width="1" height="1"/><rect x="2" y="3" width="1" height="1"/><rect x="3" y="3" width="1" height="1"/><rect x="4" y="3" width="1" height="1"/><rect x="10" y="3" width="1" height="1"/><rect x="5" y="4" width="1" height="1"/><rect x="11" y="4" width="1" height="1"/><rect x="6" y="5" width="1" height="1"/><rect x="7" y="5" width="1" height="1"/><rect x="12" y="5" width="1" height="1"/><rect x="8" y="6" width="1" height="1"/><rect x="13" y="6" width="1" height="1"/><rect x="9" y="7" width="1" height="1"/><rect x="14" y="7" width="1" height="1"/><rect x="10" y="8" width="1" height="1"/><rect x="14" y="8" width="1" height="1"/><rect x="10" y="9" width="1" height="1"/><rect x="14" y="9" width="1" height="1"/><rect x="11" y="10" width="1" height="1"/><rect x="15" y="10" width="1" height="1"/><rect x="12" y="11" width="1" height="1"/><rect x="15" y="11" width="1" height="1"/><rect x="12" y="12" width="1" height="1"/><rect x="14" y="12" width="1" height="1"/><rect x="12" y="13" width="1" height="1"/><rect x="14" y="13" width="1" height="1"/><rect x="13" y="14" width="1" height="1"/></g><g fill="#A1FBE8"><rect x="4" y="1" width="1" height="1"/><rect x="5" y="1" width="1" height="1"/><rect x="6" y="2" width="1" height="1"/><rect x="7" y="2" width="1" height="1"/><rect x="8" y="2" width="1" height="1"/><rect x="9" y="3" width="1" height="1"/><rect x="10" y="4" width="1" height="1"/><rect x="11" y="5" width="1" height="1"/><rect x="12" y="6" width="1" height="1"/><rect x="13" y="7" width="1" height="1"/><rect x="13" y="8" width="1" height="1"/><rect x="13" y="9" width="1" height="1"/><rect x="14" y="10" width="1" height="1"/><rect x="14" y="11" width="1" height="1"/></g><g fill="#4AEDD9"><rect x="2" y="2" width="1" height="1"/><rect x="3" y="2" width="1" height="1"/><rect x="4" y="2" width="1" height="1"/><rect x="5" y="2" width="1" height="1"/><rect x="6" y="3" width="1" height="1"/><rect x="7" y="3" width="1" height="1"/><rect x="8" y="3" width="1" height="1"/><rect x="8" y="4" width="1" height="1"/><rect x="9" y="4" width="1" height="1"/><rect x="10" y="5" width="1" height="1"/><rect x="11" y="6" width="1" height="1"/><rect x="11" y="7" width="1" height="1"/><rect x="12" y="7" width="1" height="1"/><rect x="12" y="8" width="1" height="1"/><rect x="12" y="9" width="1" height="1"/><rect x="13" y="10" width="1" height="1"/><rect x="13" y="11" width="1" height="1"/><rect x="13" y="12" width="1" height="1"/><rect x="13" y="13" width="1" height="1"/></g><g fill="#24A694"><rect x="5" y="3" width="1" height="1"/><rect x="6" y="4" width="1" height="1"/><rect x="7" y="4" width="1" height="1"/><rect x="8" y="5" width="1" height="1"/><rect x="9" y="5" width="1" height="1"/><rect x="9" y="6" width="1" height="1"/><rect x="10" y="6" width="1" height="1"/><rect x="10" y="7" width="1" height="1"/><rect x="11" y="8" width="1" height="1"/><rect x="11" y="9" width="1" height="1"/><rect x="12" y="10" width="1" height="1"/></g><g fill="#493615"><rect x="8" y="7" width="1" height="1"/><rect x="6" y="9" width="1" height="1"/><rect x="4" y="11" width="1" height="1"/><rect x="2" y="13" width="1" height="1"/></g><g fill="#896727"><rect x="7" y="8" width="1" height="1"/><rect x="5" y="10" width="1" height="1"/><rect x="3" y="12" width="1" height="1"/><rect x="1" y="14" width="1" height="1"/></g></svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<h1>金钻客栈</h1>
|
<h1>金钻客栈</h1>
|
||||||
<div class="tag">正在打磨中<span class="dots" aria-hidden="true"><i>.</i><i>.</i><i>.</i></span></div>
|
<div class="tag">正在打磨中<span class="dots" aria-hidden="true"><i>.</i><i>.</i><i>.</i></span></div>
|
||||||
|
|||||||
+1
-1
@@ -130,7 +130,7 @@
|
|||||||
- 画展长图(宽高比 0.45 那种)在大图里整张放得下(按视口高度限,网格行高 auto 时百分比 max-height 不生效);列表缩略图还没下完时大图先铺缩略图。
|
- 画展长图(宽高比 0.45 那种)在大图里整张放得下(按视口高度限,网格行高 auto 时百分比 max-height 不生效);列表缩略图还没下完时大图先铺缩略图。
|
||||||
- 点击光效:门户各页不加点击光效;下单页用它原来那套(按下发光、面板染色、邻按钮照亮)。(10-06 晚加过一版全站「彩虹边缘光段 + Q 弹」`fx.js`,店主看了说不要,已删。)
|
- 点击光效:门户各页不加点击光效;下单页用它原来那套(按下发光、面板染色、邻按钮照亮)。(10-06 晚加过一版全站「彩虹边缘光段 + Q 弹」`fx.js`,店主看了说不要,已删。)
|
||||||
- **手机深色模式**:系统设成深色时,手机宽度(≤760px)整站换夜间版(门户六页、画展大图、宇宙页、加载动画、下单页、流动背景着色器 `uDark`);电脑宽度保持浅色。要让电脑也跟随,把 `site.css` / 下单页 `jz-site` 里那段媒体查询的 `(max-width:760px) and` 去掉,`site.js` 里 `mqDark` 同步改。
|
- **手机深色模式**:系统设成深色时,手机宽度(≤760px)整站换夜间版(门户六页、画展大图、宇宙页、加载动画、下单页、流动背景着色器 `uDark`);电脑宽度保持浅色。要让电脑也跟随,把 `site.css` / 下单页 `jz-site` 里那段媒体查询的 `(max-width:760px) and` 去掉,`site.js` 里 `mqDark` 同步改。
|
||||||
- **维护页** `portal/maintenance.html`:「钻石在打磨中」—— 像素钻石镐抡起、镐尖敲钻石、钻石一扁一弹、光谱像素火花、白光扫过;MC 方块进度条每敲一下亮一格、满了闪光谱色重来;点钻石也会敲一下;「下单 / 取图照常」按钮。上维护:`cp maintenance.html index.html`(先备份 index.html);撤维护:换回备份。
|
- **维护页** `portal/maintenance.html`:「钻石在打磨中」—— 钻石镐用 Minecraft 原版 16×16 物品图(`portal/assets/diamond-pickaxe.png`,取自 Minecraft Wiki,版权归 Mojang;本站是非官方粉丝向站点,别拿它做商品图),平时就是原版图标的样子(0°、3px 一格),挥的时候抡起、镐尖敲钻石、钻石一扁一弹、光谱像素火花、白光扫过;MC 方块进度条每敲一下亮一格、满了闪光谱色重来;点钻石也会敲一下;「下单 / 取图照常」按钮。上维护:`cp maintenance.html index.html`(先备份 index.html);撤维护:换回备份。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user