SplatNet/styles.css

141 lines
2.5 KiB
CSS

@font-face {
font-family: "Splatoon1";
src: url("./splatoon1.otf") format("opentype");
font-weight: normal;
font-style: normal;
}
.loading-overlay {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
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;
width: 200px; /* Updated width */
height: 250px; /* Updated height */
box-sizing: border-box;
}
#loading-canvas {
image-rendering: pixelated;
/* Make sure canvas doesn't get resized by CSS */
width: 100px;
height: 100px;
display: block;
margin: 0 auto; /* center horizontally */
}
#loading-text {
margin-top: 12px;
color: white;
font-family: "Splatoon1", sans-serif;
font-size: 20px;
letter-spacing: 1.2px;
text-align: center;
}
html, body {
margin: 0;
padding: 0;
}
body {
background-image: url("/assets/stage.png");
background-repeat: repeat;
background-size: 800px 800px;
}
/* HEADER */
.header {
position: relative;
height: 150px;
background-color: black;
display: flex;
justify-content: center;
align-items: flex-start;
clip-path: polygon(
0% 0%, 100% 0%, 100% 80%,
90% 85%, 80% 75%, 70% 85%,
60% 75%, 50% 85%, 40% 75%,
30% 85%, 20% 75%, 10% 85%,
0% 80%
);
}
.logo {
max-height: 120px;
z-index: 2;
}
/* MAIN CONTENT */
.content {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 24px;
}
.stage-info {
width: 65%;
max-width: 600px;
height: auto;
margin-bottom: 20px;
}
/* STAGES */
.stages-container {
width: 100%;
max-width: 600px;
display: flex;
flex-direction: column;
gap: 32px;
padding-bottom: 40px;
}
.stages-section {
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
}
.stages-section h2 {
margin: 0;
color: white;
text-align: center;
font-family: "Splatoon1", sans-serif;
font-size: 28px;
letter-spacing: 1px;
}
.stages {
display: flex;
flex-direction: column;
gap: 16px;
width: 100%;
}
.stages img {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
}
.error-message {
color: white;
font-family: "Splatoon1", sans-serif;
text-align: center;
margin-top: 40px;
}