widuri-ai/css/alien.css
2025-05-16 22:34:27 +07:00

121 lines
2.3 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
/* Body setup */
body {
font-family: 'Share Tech Mono', monospace;
background: radial-gradient(circle at center, #020d0d 0%, #000000 100%);
color: #d1ffd1;
margin: 0;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
background-color:#000000;
background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
}
/* Title */
.title {
font-size: 2.2rem;
font-weight: bold;
color: #7fff00;
text-shadow: 0 0 10px #7fff00, 0 0 30px #39ff14;
margin-bottom: 1.5rem;
letter-spacing: 1.5px;
text-transform: uppercase;
}
/* Form / Textarea */
.form {
width: 100%;
max-width: 700px;
min-height: 150px;
background: #001a0f;
border: 1px solid #39ff14;
border-radius: 10px;
padding: 1rem;
color: #d1ffd1;
font-size: 1rem;
resize: vertical;
box-shadow: 0 0 10px #39ff1444;
transition: box-shadow 0.3s ease, border 0.3s;
}
.form:focus {
outline: none;
border-color: #9fff3f;
box-shadow: 0 0 20px #7fff00aa;
}
/* Button */
.button {
background: linear-gradient(45deg, #39ff14, #00cc66);
color: #000;
border: none;
padding: 0.8rem 1.5rem;
font-size: 1rem;
font-weight: bold;
border-radius: 10px;
margin-top: 1rem;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.button:hover {
transform: translateY(-2px);
box-shadow: 0 0 12px #39ff14aa;
}
.button:disabled {
background: #333;
color: #888;
cursor: not-allowed;
}
/* Status */
.status {
margin-top: 1rem;
font-size: 0.95rem;
font-style: italic;
color: #aaffaa;
}
.status.loading {
color: #ffff00;
animation: flicker 1s infinite;
}
.status.generate {
color: #39ff14;
}
.status.done {
color: #00ffcc;
}
/* Flicker animation */
@keyframes flicker {
0%, 100% { opacity: 1; }
50% { opacity: 0.3; }
}
/* Response */
.response {
width: 100%;
max-width: 700px;
background: #001a0f;
border: 2px solid #39ff14;
border-radius: 10px;
margin-top: 2rem;
padding: 1rem;
color: #ccffe6;
font-family: 'Courier New', Courier, monospace;
white-space: pre-wrap;
line-height: 1.5;
box-shadow: 0 0 15px #39ff1455;
max-height: 400px;
overflow-y: auto;
}