351 lines
No EOL
6.1 KiB
CSS
351 lines
No EOL
6.1 KiB
CSS
@font-face {
|
|
font-family: "Splatoon1";
|
|
src: url("../splatoon1.otf") format("opentype");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Regular";
|
|
src: url("../regular.otf") format("opentype");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
min-height: 100vh;
|
|
background-image: url("/assets/en/bg/@2x/bg_ranking-a7432ce7bf194d220345649d7369a52fb977878c79c539ed40e2065ec5d8cb85.png");
|
|
background-repeat: repeat;
|
|
background-size: 800px 800px;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
:root {
|
|
--sidebar-width: 330px;
|
|
}
|
|
|
|
.menu-item .hover-state {
|
|
display: none;
|
|
}
|
|
|
|
.menu-item:hover .hover-state,
|
|
.menu-item.active .hover-state {
|
|
display: block;
|
|
}
|
|
|
|
.menu-item:hover .default,
|
|
.menu-item.active .default {
|
|
display: none;
|
|
}
|
|
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 200px;
|
|
height: 200px;
|
|
background-color: rgba(0,0,0);
|
|
border-radius: 20px;
|
|
padding: 20px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#loading-canvas {
|
|
image-rendering: pixelated;
|
|
width: 100px;
|
|
height: 100px;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#loading-text {
|
|
margin-top: 12px;
|
|
color: white;
|
|
font-family: "Splatoon1", sans-serif;
|
|
font-size: 20px;
|
|
letter-spacing: 1.2px;
|
|
text-align: center;
|
|
}
|
|
|
|
#squid-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
#squid-canvas {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0;
|
|
transform: translateX(-50%);
|
|
width: 1920px;
|
|
height: 1080px;
|
|
will-change: transform;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
z-index: 0;
|
|
display: block;
|
|
}
|
|
|
|
#loading-text img {
|
|
height: 35px;
|
|
width: auto;
|
|
display: block;
|
|
}
|
|
|
|
.logo-left-align {
|
|
display: flex-start;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
#stage-header-logo {
|
|
position: relative;
|
|
width: 400px;
|
|
height: 80px;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#stage-header-logo .bg-layer {
|
|
width: 400px;
|
|
height: auto;
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
#stage-header-logo .icon-layer {
|
|
position: absolute;
|
|
width: 65px;
|
|
left: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 2;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#stage-header-logo .label-layer {
|
|
position: absolute;
|
|
width: 200px;
|
|
left: 110px;
|
|
top: 45%;
|
|
transform: translateY(-50%);
|
|
z-index: 2;
|
|
}
|
|
|
|
.equipmentsubtitle-text {
|
|
margin: 0;
|
|
padding-top: 20px;
|
|
padding-right: 100px;
|
|
max-width: 1200px;
|
|
text-align: left;
|
|
color: white;
|
|
font-family: "Regular", sans-serif;
|
|
font-size: 24px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.mode-selection {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.mode-button { width: 280px; transition: transform 0.1s ease; }
|
|
.mode-button:hover { transform: scale(1.03); }
|
|
|
|
.rank-glass-panel {
|
|
width: 1044px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-radius: 25px;
|
|
margin: 40px auto;
|
|
padding: 30px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.rank-header-area {
|
|
text-align: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.splatfest-title-svg {
|
|
height: 45px;
|
|
width: auto;
|
|
}
|
|
|
|
.splatfest-subtitle {
|
|
font-family: "Regular", sans-serif;
|
|
color: white;
|
|
font-size: 22px;
|
|
margin-top: 5px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.rank-card-container {
|
|
position: relative;
|
|
width: 1000px;
|
|
height: 237px;
|
|
}
|
|
|
|
.rank-bg {
|
|
position: absolute;
|
|
left: 27px;
|
|
top: 35px;
|
|
width: 952px;
|
|
height: 187px;
|
|
background-color: #000000;
|
|
border-radius: 30px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.rank-profile-circle {
|
|
position: absolute;
|
|
left: 74px;
|
|
top: 79px;
|
|
width: 96px;
|
|
height: 96px;
|
|
background: #ffffff;
|
|
border-radius: 50%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.rank-name-row {
|
|
position: absolute;
|
|
left: 204px;
|
|
top: 55px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
z-index: 3;
|
|
}
|
|
|
|
.rank-name {
|
|
font-family: 'Regular', sans-serif;
|
|
font-size: 40px;
|
|
color: white;
|
|
}
|
|
|
|
.rank-power-icon { width: 54px; height: 42px; }
|
|
|
|
.rank-power-value {
|
|
position: absolute;
|
|
left: 200px;
|
|
top: 70px;
|
|
font-family: 'Splatoon1', sans-serif;
|
|
font-size: 90px;
|
|
color: white;
|
|
z-index: 3;
|
|
}
|
|
|
|
.rank-gear-row {
|
|
position: absolute;
|
|
left: 510px;
|
|
top: 95px;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 12px;
|
|
z-index: 3;
|
|
}
|
|
|
|
.gear-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.gear-wrapper.main {
|
|
width: 130px;
|
|
height: 112px;
|
|
}
|
|
|
|
.gear-wrapper.sub {
|
|
width: 84px;
|
|
height: 73px;
|
|
}
|
|
|
|
.gear-bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.gear-icon {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 85%;
|
|
height: 85%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.gear-main { width: 130px; height: 112px; }
|
|
.gear-sub { width: 84px; height: 73px; }
|
|
|
|
.rank-accent {
|
|
position: absolute;
|
|
left: 47px;
|
|
top: 20px;
|
|
width: 21px;
|
|
height: 41px;
|
|
z-index: 4;
|
|
}
|
|
|
|
.rank-accent.standard-mode-fix {
|
|
transform: scale(2.0);
|
|
transform-origin: center;
|
|
}
|
|
|
|
.main-wrapper {
|
|
width: calc(100% - var(--sidebar-width));
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.rank-empty-message {
|
|
font-family: "Splatoon1", sans-serif;
|
|
color: white;
|
|
font-size: 28px;
|
|
text-align: center;
|
|
line-height: 1.4;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 150px;
|
|
width: 100%;
|
|
padding: 40px;
|
|
box-sizing: border-box;
|
|
} |