MediaWiki:KuranokaPageTransition.css:修订间差异
MediaWiki界面页面
更多操作
创建页面,内容为“→================================================================ KURANOKA / KURONATA — PAGE TRANSITION 1.0 Paste the ENTIRE file at the end of MediaWiki:Citizen.css. This does not change the Citizen glass layout or Stormbreak FX. ================================================================: →Allow same-origin document navigation to retain old/new snapshots. The default transition for unrelated Wiki pages stays very short.: @view-t…” |
无编辑摘要 |
||
| (未显示同一用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
/* | /* Kuranoka Page Transition V4 — EMBER / AURORA | ||
Load only on /wiki/Kuranoka and /wiki/Kuronata. | |||
No Citizen.css / Common.css changes. */ | |||
#kkpt-toggle { | #kkpt-toggle { | ||
--kkpt- | --kkpt-tone: #a7e7ff; | ||
--kkpt- | --kkpt-panel: rgba(7,28,49,.87); | ||
position: fixed; | position: fixed; | ||
right: clamp(12px, 2.3vw, 34px); | z-index: 2147483000; | ||
bottom: clamp(14px, 3.4vh, 34px) | right: clamp(12px,2.3vw,34px); | ||
bottom: clamp(14px,3.4vh,34px); | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 10px; | ||
max-width: calc(100vw - 24px); | |||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 12px 17px; | |||
padding: | border: 1px solid color-mix(in srgb,var(--kkpt-tone) 60%,transparent); | ||
border: 1px solid color-mix(in srgb, var(--kkpt- | |||
border-radius: 999px; | border-radius: 999px; | ||
background: var(--kkpt- | background: var(--kkpt-panel); | ||
- | box-shadow: 0 8px 35px #0007,0 0 20px color-mix(in srgb,var(--kkpt-tone) 25%,transparent); | ||
color: #f1fcff !important; | |||
color: | font: 650 13px/1.3 system-ui,sans-serif; | ||
font: | letter-spacing: .045em; | ||
letter-spacing: . | |||
text-decoration: none !important; | text-decoration: none !important; | ||
cursor: pointer; | cursor: pointer; | ||
backdrop-filter: blur(18px) saturate(145%); | |||
-webkit-backdrop-filter: blur(18px) saturate(145%); | |||
transition: transform .22s,box-shadow .22s,opacity .22s; | |||
} | } | ||
#kkpt-toggle | #kkpt-toggle.kkpt-dark { | ||
--kkpt-tone: #ff6b7e; | |||
--kkpt-panel: rgba(41,4,14,.88); | |||
color: #fff1f1 !important; | |||
} | } | ||
#kkpt-toggle:focus-visible { | #kkpt-toggle:hover,#kkpt-toggle:focus-visible { | ||
transform: translateY(-3px); | |||
box-shadow: 0 9px 38px #0008,0 0 32px var(--kkpt-tone); | |||
# | |||
} | } | ||
#kkpt-toggle:focus-visible {outline: 2px solid var(--kkpt-tone);outline-offset: 4px} | |||
#kkpt-toggle .kkpt-icon {font-size: 23px;color: var(--kkpt-tone);text-shadow: 0 0 13px var(--kkpt-tone)} | |||
#kkpt-toggle .kkpt-text {display: flex;flex-direction: column;gap: 2px} | |||
} | #kkpt-toggle .kkpt-sub {font-size: 10px;opacity: .74} | ||
#kkpt-toggle.kkpt-busy {pointer-events: none} | |||
#kkpt-toggle.kkpt-quiet {opacity: 0;pointer-events: none} | |||
/* Real interactive Wiki page, retained after the transition finishes. */ | |||
#kkpt-preview { | |||
position: fixed !important; | |||
z-index: 2147481000 !important; | |||
inset: 0 !important; | |||
display: block !important; | |||
box-sizing: border-box !important; | |||
width: 100vw !important; | |||
height: 100vh !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: 0 !important; | |||
border-radius: 0 !important; | |||
overflow: hidden !important; | |||
clip-path: inset(0 0 0 100%); | |||
pointer-events: none !important; | |||
background: #1f0710; | |||
transform: translateZ(0); | |||
will-change: clip-path; | |||
} | } | ||
body.page-Kuronata #kkpt-preview {background: #c0eafe} | |||
#kkpt-preview.kkpt-active {pointer-events: auto !important;clip-path: inset(0)} | |||
} | |||
/* | /* WebGL volumetric fire / electric aurora; visual only. */ | ||
#kkpt-vfx { | |||
position: fixed !important; | |||
z-index: 2147482000 !important; | |||
inset: 0 !important; | |||
display: block !important; | |||
width: 100vw !important; | |||
height: 100vh !important; | |||
pointer-events: none !important; | |||
z-index: | transition: opacity 180ms linear; | ||
} | } | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
#kkpt-toggle { padding: 10px 13px; gap: 8px | #kkpt-toggle {padding: 10px 13px;gap: 8px} | ||
#kkpt-toggle .kkpt- | #kkpt-toggle .kkpt-sub {display:none} | ||
} | } | ||
@media (prefers-reduced-motion: reduce) { | @media (prefers-reduced-motion: reduce) { | ||
#kkpt-toggle {transition:none !important} | |||
#kkpt-vfx {display:none !important} | |||
} | |||
@media print { | |||
#kkpt-toggle,#kkpt-preview,#kkpt-vfx {display:none !important} | |||
#kkpt-toggle { | |||
} | } | ||
2026年10月23日 (五) 12:28的版本
/* Kuranoka Page Transition V4 — EMBER / AURORA
Load only on /wiki/Kuranoka and /wiki/Kuronata.
No Citizen.css / Common.css changes. */
#kkpt-toggle {
--kkpt-tone: #a7e7ff;
--kkpt-panel: rgba(7,28,49,.87);
position: fixed;
z-index: 2147483000;
right: clamp(12px,2.3vw,34px);
bottom: clamp(14px,3.4vh,34px);
display: flex;
align-items: center;
gap: 10px;
max-width: calc(100vw - 24px);
box-sizing: border-box;
padding: 12px 17px;
border: 1px solid color-mix(in srgb,var(--kkpt-tone) 60%,transparent);
border-radius: 999px;
background: var(--kkpt-panel);
box-shadow: 0 8px 35px #0007,0 0 20px color-mix(in srgb,var(--kkpt-tone) 25%,transparent);
color: #f1fcff !important;
font: 650 13px/1.3 system-ui,sans-serif;
letter-spacing: .045em;
text-decoration: none !important;
cursor: pointer;
backdrop-filter: blur(18px) saturate(145%);
-webkit-backdrop-filter: blur(18px) saturate(145%);
transition: transform .22s,box-shadow .22s,opacity .22s;
}
#kkpt-toggle.kkpt-dark {
--kkpt-tone: #ff6b7e;
--kkpt-panel: rgba(41,4,14,.88);
color: #fff1f1 !important;
}
#kkpt-toggle:hover,#kkpt-toggle:focus-visible {
transform: translateY(-3px);
box-shadow: 0 9px 38px #0008,0 0 32px var(--kkpt-tone);
}
#kkpt-toggle:focus-visible {outline: 2px solid var(--kkpt-tone);outline-offset: 4px}
#kkpt-toggle .kkpt-icon {font-size: 23px;color: var(--kkpt-tone);text-shadow: 0 0 13px var(--kkpt-tone)}
#kkpt-toggle .kkpt-text {display: flex;flex-direction: column;gap: 2px}
#kkpt-toggle .kkpt-sub {font-size: 10px;opacity: .74}
#kkpt-toggle.kkpt-busy {pointer-events: none}
#kkpt-toggle.kkpt-quiet {opacity: 0;pointer-events: none}
/* Real interactive Wiki page, retained after the transition finishes. */
#kkpt-preview {
position: fixed !important;
z-index: 2147481000 !important;
inset: 0 !important;
display: block !important;
box-sizing: border-box !important;
width: 100vw !important;
height: 100vh !important;
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
border-radius: 0 !important;
overflow: hidden !important;
clip-path: inset(0 0 0 100%);
pointer-events: none !important;
background: #1f0710;
transform: translateZ(0);
will-change: clip-path;
}
body.page-Kuronata #kkpt-preview {background: #c0eafe}
#kkpt-preview.kkpt-active {pointer-events: auto !important;clip-path: inset(0)}
/* WebGL volumetric fire / electric aurora; visual only. */
#kkpt-vfx {
position: fixed !important;
z-index: 2147482000 !important;
inset: 0 !important;
display: block !important;
width: 100vw !important;
height: 100vh !important;
pointer-events: none !important;
transition: opacity 180ms linear;
}
@media (max-width: 600px) {
#kkpt-toggle {padding: 10px 13px;gap: 8px}
#kkpt-toggle .kkpt-sub {display:none}
}
@media (prefers-reduced-motion: reduce) {
#kkpt-toggle {transition:none !important}
#kkpt-vfx {display:none !important}
}
@media print {
#kkpt-toggle,#kkpt-preview,#kkpt-vfx {display:none !important}
}