SplatNet/ranking/styles.css

112 lines
2.1 KiB
CSS
Raw Normal View History

2026-02-02 07:38:35 +01:00
@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;
}
.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: 250px;
background-color: rgba(0,0,0,0.8);
border: 3px solid white;
border-radius: 12px;
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;
2026-02-02 07:38:35 +01:00
}