Spaces:
Running
Running
Update index.html
Browse files- index.html +28 -3
index.html
CHANGED
|
@@ -99,11 +99,12 @@ a{color:var(--gold)}
|
|
| 99 |
linear-gradient(rgba(245,200,106,.5),rgba(245,200,106,.5)) center/74px 1px no-repeat,
|
| 100 |
linear-gradient(rgba(245,200,106,.5),rgba(245,200,106,.5)) center/1px 74px no-repeat}
|
| 101 |
@keyframes twinkle{0%,100%{filter:brightness(1)}50%{filter:brightness(1.45)}}
|
| 102 |
-
#tooltip{position:absolute;z-index:9;pointer-events:none;opacity:0;transition:opacity .
|
|
|
|
| 103 |
background:rgba(5,8,16,.88);border:1px solid var(--line);border-radius:10px;
|
| 104 |
padding:8px 11px;font-size:.8rem;line-height:1.45;white-space:nowrap;
|
| 105 |
box-shadow:0 6px 30px rgba(0,0,0,.5);backdrop-filter:blur(8px)}
|
| 106 |
-
#tooltip.show{opacity:1}
|
| 107 |
#tooltip .tt-name{font-family:Cinzel,serif;color:var(--gold);font-size:.82rem}
|
| 108 |
#tooltip .tt-meta{color:var(--muted)}
|
| 109 |
.scroll-cue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:5;
|
|
@@ -202,6 +203,29 @@ a{color:var(--gold)}
|
|
| 202 |
.org-bar{grid-column:1/3;height:6px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}
|
| 203 |
.org-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--neb1),var(--gold))}
|
| 204 |
.kbd{font-size:.68rem;border:1px solid var(--line);border-radius:6px;padding:1px 6px;color:var(--faint)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
/* ---------- division toppers + divider rail ---------- */
|
| 206 |
#champs-panel{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.025);
|
| 207 |
padding:20px;margin:18px 0 14px}
|
|
@@ -559,6 +583,7 @@ function renderGalaxy(models){
|
|
| 559 |
if(!reduced){dot.style.animation="twinkle "+period+"s ease-in-out "+(hash01(i*7.7)*3).toFixed(2)+"s infinite";}
|
| 560 |
b.appendChild(dot);
|
| 561 |
b.dataset.glow=glow.toFixed(1);b.dataset.color=color;
|
|
|
|
| 562 |
var label=m.model+" · CI "+fmtCI(m.ci_index)+" · "+fmtParams(m.params_m);
|
| 563 |
b.setAttribute("aria-label",label+" — open profile");
|
| 564 |
b.dataset.model=m.model;
|
|
@@ -657,7 +682,7 @@ function filteredByLeague(leagueId){
|
|
| 657 |
function shortName(id){var s=String(id||"");var i=s.indexOf("/");return i>=0?s.slice(i+1):s;}
|
| 658 |
function renderChamps(){
|
| 659 |
els.champsGrid.innerHTML="";
|
| 660 |
-
LEAGUES.forEach(function(L){
|
| 661 |
var rows=filteredByLeague(L.id);
|
| 662 |
var b=document.createElement("button");
|
| 663 |
b.type="button";b.className="champ"+(state.league===L.id?" active":"");
|
|
|
|
| 99 |
linear-gradient(rgba(245,200,106,.5),rgba(245,200,106,.5)) center/74px 1px no-repeat,
|
| 100 |
linear-gradient(rgba(245,200,106,.5),rgba(245,200,106,.5)) center/1px 74px no-repeat}
|
| 101 |
@keyframes twinkle{0%,100%{filter:brightness(1)}50%{filter:brightness(1.45)}}
|
| 102 |
+
#tooltip{position:absolute;z-index:9;pointer-events:none;opacity:0;transition:opacity .18s ease, transform .18s ease;
|
| 103 |
+
transform:translateY(4px);
|
| 104 |
background:rgba(5,8,16,.88);border:1px solid var(--line);border-radius:10px;
|
| 105 |
padding:8px 11px;font-size:.8rem;line-height:1.45;white-space:nowrap;
|
| 106 |
box-shadow:0 6px 30px rgba(0,0,0,.5);backdrop-filter:blur(8px)}
|
| 107 |
+
#tooltip.show{opacity:1;transform:none}
|
| 108 |
#tooltip .tt-name{font-family:Cinzel,serif;color:var(--gold);font-size:.82rem}
|
| 109 |
#tooltip .tt-meta{color:var(--muted)}
|
| 110 |
.scroll-cue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:5;
|
|
|
|
| 203 |
.org-bar{grid-column:1/3;height:6px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}
|
| 204 |
.org-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--neb1),var(--gold))}
|
| 205 |
.kbd{font-size:.68rem;border:1px solid var(--line);border-radius:6px;padding:1px 6px;color:var(--faint)}
|
| 206 |
+
/* ---------- smoothness + chrome polish ---------- */
|
| 207 |
+
html{scrollbar-color:rgba(245,200,106,.45) rgba(5,8,16,.6)}
|
| 208 |
+
body::-webkit-scrollbar{width:10px}
|
| 209 |
+
body::-webkit-scrollbar-track{background:#050810}
|
| 210 |
+
body::-webkit-scrollbar-thumb{background:linear-gradient(#6b4fd8,#f5c86a);border-radius:99px;border:2px solid #050810}
|
| 211 |
+
#cat-rail::-webkit-scrollbar{height:6px}
|
| 212 |
+
#cat-rail::-webkit-scrollbar-thumb{background:rgba(245,200,106,.35);border-radius:99px}
|
| 213 |
+
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;z-index:4;
|
| 214 |
+
pointer-events:none;background:linear-gradient(transparent,rgba(5,8,16,.85))}
|
| 215 |
+
#leagues{box-shadow:0 10px 30px rgba(0,0,0,.35)}
|
| 216 |
+
#ranking-wrap,#view-profile{scroll-margin-top:64px}
|
| 217 |
+
#ranking{scroll-margin-top:140px}
|
| 218 |
+
.section-label{display:flex;align-items:center;gap:14px}
|
| 219 |
+
.section-label::before,.section-label::after{content:"";height:1px;flex:1;
|
| 220 |
+
background:linear-gradient(90deg,transparent,rgba(245,200,106,.5),transparent)}
|
| 221 |
+
@keyframes starIn{from{opacity:0}to{opacity:1}}
|
| 222 |
+
.star{animation:starIn .9s ease backwards}
|
| 223 |
+
@keyframes growX{from{transform:scaleX(0)}to{transform:scaleX(1)}}
|
| 224 |
+
.org-bar i,.bar i,.cat-bar i{transform-origin:left;animation:growX 1s cubic-bezier(.22,.8,.3,1) backwards}
|
| 225 |
+
.card,.pill,.org-pill,.cat-pill,.org-row,.champ{transition-timing-function:cubic-bezier(.22,.8,.3,1)}
|
| 226 |
+
.org-pill,.cat-pill,.org-row{transition:all .2s cubic-bezier(.22,.8,.3,1)}
|
| 227 |
+
.pill:active,.org-pill:active,.cat-pill:active,.champ:active,.org-row:active{transform:scale(.97)}
|
| 228 |
+
.search-box,.sort-wrap #sort{transition:border-color .2s ease, box-shadow .2s ease}
|
| 229 |
/* ---------- division toppers + divider rail ---------- */
|
| 230 |
#champs-panel{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.025);
|
| 231 |
padding:20px;margin:18px 0 14px}
|
|
|
|
| 583 |
if(!reduced){dot.style.animation="twinkle "+period+"s ease-in-out "+(hash01(i*7.7)*3).toFixed(2)+"s infinite";}
|
| 584 |
b.appendChild(dot);
|
| 585 |
b.dataset.glow=glow.toFixed(1);b.dataset.color=color;
|
| 586 |
+
if(!reduced){b.style.animationDelay=Math.min(i*90,900)+"ms";}
|
| 587 |
var label=m.model+" · CI "+fmtCI(m.ci_index)+" · "+fmtParams(m.params_m);
|
| 588 |
b.setAttribute("aria-label",label+" — open profile");
|
| 589 |
b.dataset.model=m.model;
|
|
|
|
| 682 |
function shortName(id){var s=String(id||"");var i=s.indexOf("/");return i>=0?s.slice(i+1):s;}
|
| 683 |
function renderChamps(){
|
| 684 |
els.champsGrid.innerHTML="";
|
| 685 |
+
LEAGUES.slice().reverse().forEach(function(L){
|
| 686 |
var rows=filteredByLeague(L.id);
|
| 687 |
var b=document.createElement("button");
|
| 688 |
b.type="button";b.className="champ"+(state.league===L.id?" active":"");
|