SUNO_API / static /style.css
zenjoul80's picture
Create static/style.css
87e6d64 verified
:root {
--primary: #6366f1;
--bg-dark: #0f111a;
--card: #1a1d29;
--input: #252a3d;
--text: #f8fafc;
}
body {
background: var(--bg-dark);
color: var(--text);
font-family: 'Inter', sans-serif;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
}
.box {
width: 100%;
max-width: 800px;
background: var(--card);
padding: 30px;
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.grid-input {
display: grid;
grid-template-columns: 1fr;
gap: 15px;
margin-bottom: 15px;
}
/* Tablet/Desktop Grid */
@media (min-width: 768px) {
.grid-input { grid-template-columns: 1fr 1fr; }
.full-width { grid-column: span 2; }
}
input, select, textarea {
width: 100%;
padding: 12px;
background: var(--input);
border: 1px solid #334155;
border-radius: 8px;
color: white;
font-size: 15px;
}
button {
background: var(--primary);
color: white;
padding: 15px;
border: none;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
transition: 0.2s;
}
button:hover { filter: brightness(1.2); }
#log {
margin-top: 20px;
background: #000;
padding: 15px;
border-radius: 8px;
font-family: monospace;
font-size: 13px;
max-height: 150px;
overflow-y: auto;
color: #94a3b8;
}
.dl-btn {
display: none;
background: #10b981;
text-align: center;
text-decoration: none;
padding: 15px;
margin-top: 10px;
border-radius: 8px;
color: white;
font-weight: bold;
}