adjust css

This commit is contained in:
KS Jannette
2026-03-05 02:07:51 -05:00
parent 068ca2f834
commit 9414af8108
3 changed files with 35 additions and 7 deletions

Binary file not shown.

View File

@@ -1,19 +1,38 @@
.login-page {
min-height: 100vh;
background-image: url(/ping.png);
background-size: 67%;
background-position: center;
background-repeat: no-repeat;
position: relative;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: #000000;
}
.login-bg-video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
z-index: 0;
filter: grayscale(85%);
-webkit-filter: grayscale(85%);
opacity: 0.06;
}
.login-card {
position: relative;
z-index: 1;
max-width: 400px;
margin: 20px auto;
margin: 0 auto;
padding: 2rem;
padding-top: 8rem;
border: 1px solid var(--color-border-light);
border-radius: var(--radius-xl);
background-color: rgba(0, 0, 0, 0.75);
top: 20px;
}
.login-heading {
@@ -32,7 +51,6 @@
padding: 0.75rem;
font-size: 1.2rem;
margin-top: 16px;
;
}
.login-footer {

View File

@@ -36,6 +36,16 @@ export default function Login() {
return (
<div className="login-page">
<video
autoPlay
loop
muted
playsInline
className="login-bg-video"
>
<source src="/koin_spin.mp4" type="video/mp4" />
</video>
<div className="login-card" onMouseEnter={() => setIsVisible(true)}>
<h1 className="login-heading">
<span className="login-brand">Koin Ping</span> - Login