chore: fixes

This commit is contained in:
MattTheTekie 2026-03-28 16:54:10 -04:00
commit a7a7927990

View file

@ -818,44 +818,71 @@ a:hover {
.left_banner {
position:fixed;
top: 250px;
left: 40px;
width: 383px;
height: 626px;
background-image: url("https://www.veltron.net/images/dragon.png");
background-size: contain;
background-position: center;
background-repeat: no-repeat;
animation: float 6s ease-in-out infinite;
z-index: 94;
}
.left_banner,
.right_banner {
position:fixed;
top: 150px;
right: 40px;
width: 383px;
height: 626px;
background-image: url("https://www.veltron.net/images/digimon.png");
position: fixed;
top: 50%;
transform: translateY(-50%);
/* Scale based on viewport but respect 1980px design intent */
width: clamp(160px, 18vw, 383px);
aspect-ratio: 383 / 626;
height: auto;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
animation: float 6s ease-in-out infinite;
z-index: 94;
pointer-events: none; /* prevents blocking clicks */
}
/* LEFT banner (dragon) */
.left_banner {
left: clamp(10px, 2vw, 80px);
background-image: url("https://www.veltron.net/images/dragon.png");
}
/* RIGHT banner (digimon) */
.right_banner {
right: clamp(10px, 2vw, 80px);
background-image: url("https://www.veltron.net/images/digimon.png");
}
/* Floating animation (if not already defined) */
@keyframes float {
0% {
transform: translateY(-50%) translateY(0px);
}
50% {
transform: translateY(-50%) translateY(-12px);
}
100% {
transform: translateY(-50%) translateY(0px);
}
}
/* Hide on mobile */
@media (max-width: 600px) {
.decor.left_banner,
.decor.right_banner {
display: none !important;
}
}
/* Extra safety: very small screens */
@media (max-width: 400px) {
.decor {
display: none !important;
}
}
/* Ultra-wide scaling (keeps proportion on big monitors) */
@media (min-width: 2000px) {
.left_banner,
.right_banner {
width: 420px;
}
}