qr-generator / static /style.css
ministerchief's picture
Update static/style.css
614f6d8 verified
Raw
History Blame Contribute Delete
1.78 kB
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
overflow: hidden;
color: white;
background: black;
/* CENTER THE CARD */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* 3D SPACE BACKGROUND */
#bg {
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
/* MAIN CARD */
.container {
background: rgba(10, 10, 30, 0.75);
backdrop-filter: blur(12px);
padding: 40px;
border-radius: 15px;
width: 380px;
box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
/* FLOATING EFFECT */
animation: float 6s ease-in-out infinite;
}
/* FLOATING ANIMATION */
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-12px);
}
100% {
transform: translateY(0px);
}
}
/* TITLE */
.container h2 {
text-align: center;
margin-bottom: 20px;
color: cyan;
}
/* INPUTS */
input,
select {
width: 100%;
margin: 10px 0;
padding: 10px;
border-radius: 6px;
border: 1px solid #222;
background: #0f0f20;
color: white;
}
/* INPUT FOCUS */
input:focus,
select:focus {
outline: none;
border: 1px solid cyan;
}
/* BUTTON */
button {
width: 100%;
padding: 12px;
border-radius: 8px;
border: none;
background: linear-gradient(45deg, #00ffff, #4e73df);
color: white;
cursor: pointer;
font-weight: bold;
transition: 0.3s;
}
/* BUTTON HOVER */
button:hover {
transform: scale(1.05);
box-shadow: 0 0 20px cyan;
}
/* QR IMAGE PREVIEW */
img {
margin-top: 15px;
border-radius: 10px;
padding: 5px;
background: white;
display: block;
margin-left: auto;
margin-right: auto;
}