「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
Add approved scrolling talent icons; preserve existing content |
Replace sliding talent icons with static random selection fitting page width |
||
| (同じ利用者による、間の2版が非表示) | |||
| 2行目: | 2行目: | ||
/* STARTLENO TALENT MARQUEE v1 BEGIN */ | /* STARTLENO TALENT MARQUEE v1 BEGIN */ | ||
#sl-talent-marquee { width:100%; max-width:100%; min-width:0; } | #sl-talent-marquee { width:100%; max-width:100%; min-width:0; } | ||
.sl-marquee-viewport { width:100%; overflow:hidden; padding:8px 0; } | .sl-marquee-viewport { width:100%; overflow:hidden; padding:8px 0; } | ||
.sl-marquee-track { display:flex; width:max-content; animation: | .sl-marquee-track { display:flex; width:max-content; animation:none; } | ||
.sl-marquee-group { display:flex; flex:none; gap:22px; padding-right: | .sl-marquee-group { display:flex; flex:none; gap:22px; padding-right:0; } | ||
.sl-marquee-card { display:flex; flex-direction:column; align-items:center; gap:10px; flex:0 0 132px; width:132px; text-align:center; text-decoration:none !important; color:inherit; } | .sl-marquee-card { display:flex; flex-direction:column; align-items:center; gap:10px; flex:0 0 var(--sl-marquee-card-width,132px); width:var(--sl-marquee-card-width,132px); text-align:center; text-decoration:none !important; color:inherit; } | ||
.sl-marquee-portrait { position:relative; display:block; width:104px; height:104px; border-radius:50%; overflow:hidden; background:linear-gradient(140deg,#e2defc,#dcecf4); box-shadow:0 3px 12px #0002; } | .sl-marquee-portrait { position:relative; display:block; width:104px; height:104px; border-radius:50%; overflow:hidden; background:linear-gradient(140deg,#e2defc,#dcecf4); box-shadow:0 3px 12px #0002; } | ||
.sl-marquee-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#57437b; font-size:36px; font-weight:bold; } | .sl-marquee-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#57437b; font-size:36px; font-weight:bold; } | ||
.sl-marquee-portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; } | .sl-marquee-portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; } | ||
.sl-marquee-name { font-weight:600; font-size:14px; overflow-wrap:anywhere; } | .sl-marquee-name { font-weight:600; font-size:14px; overflow-wrap:anywhere; } | ||
.sl-marquee-card:focus-visible { outline:3px solid #6250ab; outline-offset:-3px; border-radius:8px; } | .sl-marquee-card:focus-visible { outline:3px solid #6250ab; outline-offset:-3px; border-radius:8px; } | ||
@media(max-width:600px) { .sl-marquee-card { width:var(--sl-marquee-card-width,108px); flex-basis:var(--sl-marquee-card-width,108px); } .sl-marquee-portrait { width:84px; height:84px; } .sl-marquee-group { gap:14px; padding-right:0; } .sl-marquee-name { font-size:13px; } } | |||
@media(max-width:600px) { .sl-marquee-card { width:108px; flex-basis:108px; } .sl-marquee-portrait { width:84px; height:84px; } .sl-marquee-group { gap:14px; padding-right: | .sl-marquee-card[hidden] { display:none; } | ||
} | |||
/* STARTLENO TALENT MARQUEE v1 END */ | /* STARTLENO TALENT MARQUEE v1 END */ | ||
2026年11月17日 (火) 05:21時点における最新版
/* STARTLENO TALENT MARQUEE v1 BEGIN */
#sl-talent-marquee { width:100%; max-width:100%; min-width:0; }
.sl-marquee-viewport { width:100%; overflow:hidden; padding:8px 0; }
.sl-marquee-track { display:flex; width:max-content; animation:none; }
.sl-marquee-group { display:flex; flex:none; gap:22px; padding-right:0; }
.sl-marquee-card { display:flex; flex-direction:column; align-items:center; gap:10px; flex:0 0 var(--sl-marquee-card-width,132px); width:var(--sl-marquee-card-width,132px); text-align:center; text-decoration:none !important; color:inherit; }
.sl-marquee-portrait { position:relative; display:block; width:104px; height:104px; border-radius:50%; overflow:hidden; background:linear-gradient(140deg,#e2defc,#dcecf4); box-shadow:0 3px 12px #0002; }
.sl-marquee-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#57437b; font-size:36px; font-weight:bold; }
.sl-marquee-portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.sl-marquee-name { font-weight:600; font-size:14px; overflow-wrap:anywhere; }
.sl-marquee-card:focus-visible { outline:3px solid #6250ab; outline-offset:-3px; border-radius:8px; }
@media(max-width:600px) { .sl-marquee-card { width:var(--sl-marquee-card-width,108px); flex-basis:var(--sl-marquee-card-width,108px); } .sl-marquee-portrait { width:84px; height:84px; } .sl-marquee-group { gap:14px; padding-right:0; } .sl-marquee-name { font-size:13px; } }
.sl-marquee-card[hidden] { display:none; }
/* STARTLENO TALENT MARQUEE v1 END */