Spaces:
Sleeping
Sleeping
Update static/style.css (#11)
Browse files- Update static/style.css (3c1a4dcc0c77accf7ed5fa2c9786e6aef2709607)
- static/style.css +99 -28
static/style.css
CHANGED
|
@@ -1,41 +1,112 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
|
|
|
|
| 9 |
.gradio-container {
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
| 15 |
}
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
|
|
|
| 21 |
button, .gr-button {
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
border: 1px solid #ccc;
|
| 41 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* style.css — Feminine, ethereal UI for GenBuddy */
|
| 2 |
+
|
| 3 |
+
:root{
|
| 4 |
+
--accent-1: #8ec5ff; /* ice blue */
|
| 5 |
+
--accent-2: #d3b8ff; /* soft lilac */
|
| 6 |
+
--accent-3: #ffb3d9; /* pastel pink */
|
| 7 |
+
--bg-start: #f6f9ff;
|
| 8 |
+
--bg-end: #fff6fb;
|
| 9 |
+
--card-bg: rgba(255,255,255,0.70);
|
| 10 |
+
--glass-blur: 8px;
|
| 11 |
+
--radius-lg: 16px;
|
| 12 |
+
--shadow-soft: 0 10px 30px rgba(12,18,35,0.08);
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
html,body{
|
| 16 |
+
height:100%;
|
| 17 |
+
margin:0;
|
| 18 |
+
font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
|
| 19 |
+
background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
|
| 20 |
+
-webkit-font-smoothing:antialiased;
|
| 21 |
+
-moz-osx-font-smoothing:grayscale;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.title {
|
| 25 |
+
font-size: 28px;
|
| 26 |
+
font-weight: 700;
|
| 27 |
+
text-align:center;
|
| 28 |
+
margin: 6px 0 18px 0;
|
| 29 |
+
background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
|
| 30 |
+
-webkit-background-clip:text;
|
| 31 |
+
background-clip:text;
|
| 32 |
+
color: transparent;
|
| 33 |
+
letter-spacing: 0.2px;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.app-accent {
|
| 37 |
+
position: fixed;
|
| 38 |
+
right: 30px;
|
| 39 |
+
top: 20px;
|
| 40 |
+
width: 220px;
|
| 41 |
+
height: 220px;
|
| 42 |
+
pointer-events: none;
|
| 43 |
+
background: radial-gradient(circle at 20% 20%, rgba(142,197,255,0.18), transparent 15%),
|
| 44 |
+
radial-gradient(circle at 80% 80%, rgba(211,184,255,0.14), transparent 15%);
|
| 45 |
+
filter: blur(28px);
|
| 46 |
+
border-radius: 50%;
|
| 47 |
+
z-index: 0;
|
| 48 |
}
|
| 49 |
|
| 50 |
+
/* container override for Gradio */
|
| 51 |
.gradio-container {
|
| 52 |
+
max-width: 1200px !important;
|
| 53 |
+
margin: 20px auto !important;
|
| 54 |
+
padding: 22px !important;
|
| 55 |
+
border-radius: var(--radius-lg);
|
| 56 |
+
background: var(--card-bg);
|
| 57 |
+
box-shadow: var(--shadow-soft);
|
| 58 |
+
border: 1px solid rgba(255,255,255,0.6);
|
| 59 |
+
backdrop-filter: blur(var(--glass-blur)) saturate(115%);
|
| 60 |
}
|
| 61 |
|
| 62 |
+
/* Columns and rows */
|
| 63 |
+
.gr-row { gap: 14px; }
|
| 64 |
+
|
| 65 |
+
/* Input styles */
|
| 66 |
+
input[type="text"], textarea, .gr-input input, .gr-input textarea {
|
| 67 |
+
border-radius: 12px !important;
|
| 68 |
+
padding: 10px !important;
|
| 69 |
+
border: 1px solid rgba(10,18,36,0.06) !important;
|
| 70 |
+
background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.88)) !important;
|
| 71 |
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
|
| 72 |
}
|
| 73 |
|
| 74 |
+
/* Buttons */
|
| 75 |
button, .gr-button {
|
| 76 |
+
border-radius: 12px !important;
|
| 77 |
+
padding: 10px 14px !important;
|
| 78 |
+
border: none !important;
|
| 79 |
+
font-weight: 700;
|
| 80 |
+
cursor: pointer;
|
| 81 |
+
color: #06203a;
|
| 82 |
+
background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
|
| 83 |
+
box-shadow: 0 8px 30px rgba(142,197,255,0.10);
|
| 84 |
+
transition: transform 0.18s ease, box-shadow 0.18s ease;
|
| 85 |
+
}
|
| 86 |
+
button:hover, .gr-button:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(142,197,255,0.12); }
|
| 87 |
+
|
| 88 |
+
/* Status boxes & outputs */
|
| 89 |
+
.gr-textbox, .gr-file {
|
| 90 |
+
background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,255,0.96));
|
| 91 |
+
border-radius: 12px;
|
| 92 |
+
padding: 8px;
|
| 93 |
}
|
| 94 |
|
| 95 |
+
/* Small meta text */
|
| 96 |
+
.gr-label {
|
| 97 |
+
color: rgba(7,18,34,0.8);
|
| 98 |
+
font-weight: 600;
|
| 99 |
}
|
| 100 |
|
| 101 |
+
/* Template box */
|
| 102 |
+
.gr-textbox textarea[readonly] {
|
| 103 |
+
background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.88));
|
|
|
|
| 104 |
}
|
| 105 |
+
|
| 106 |
+
/* Responsive */
|
| 107 |
+
@media (max-width: 900px) {
|
| 108 |
+
.gradio-container { padding: 14px; }
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
/* subtle accents */
|
| 112 |
+
.gr-markdown h3 { color: #1b2b47; }
|