Spaces:
Sleeping
Sleeping
Graham Paasch commited on
Commit ·
571933b
1
Parent(s): 86892f6
Soften color scheme and improve background pattern
Browse files- Lighter, easier-on-eyes green palette
- Replace busy background with subtle crosshatch pattern
- Cleaner hero section with trellis-inspired diagonal lines
- Reduced shadows and better contrast
app.py
CHANGED
|
@@ -11,52 +11,57 @@ from agent import topology
|
|
| 11 |
VINE_CSS = """
|
| 12 |
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');
|
| 13 |
:root {
|
| 14 |
-
--og-green: #
|
| 15 |
-
--og-mint: #
|
| 16 |
-
--og-fern: #
|
| 17 |
-
--og-cream: #
|
| 18 |
-
--og-shadow: 0
|
| 19 |
}
|
| 20 |
html, body { overflow-x: hidden; }
|
| 21 |
body, .gradio-container {
|
| 22 |
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
| 23 |
-
background:
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
color: #0f1b1a;
|
| 29 |
position: relative;
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
.gradio-container > * { position: relative; z-index: 1; }
|
| 33 |
|
| 34 |
.og-hero {
|
| 35 |
background:
|
| 36 |
-
linear-gradient(
|
| 37 |
-
linear-gradient(
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
background-repeat: no-repeat;
|
| 42 |
-
border: 1px solid rgba(15,77,63,0.16);
|
| 43 |
box-shadow: var(--og-shadow);
|
| 44 |
-
border-radius:
|
| 45 |
-
padding:
|
| 46 |
position: relative;
|
| 47 |
overflow: hidden;
|
| 48 |
}
|
| 49 |
-
.og-hero::before
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
.og-hero::after {
|
| 51 |
content: "";
|
| 52 |
position: absolute;
|
| 53 |
-
inset:
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
filter: blur(6px);
|
| 59 |
-
opacity: 0.35;
|
| 60 |
}
|
| 61 |
.og-hero::after {
|
| 62 |
inset: auto auto -120px -20px;
|
|
|
|
| 11 |
VINE_CSS = """
|
| 12 |
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');
|
| 13 |
:root {
|
| 14 |
+
--og-green: #2d5f4f;
|
| 15 |
+
--og-mint: #5fc9a0;
|
| 16 |
+
--og-fern: #3d8169;
|
| 17 |
+
--og-cream: #fafaf8;
|
| 18 |
+
--og-shadow: 0 8px 24px rgba(45,95,79,0.12);
|
| 19 |
}
|
| 20 |
html, body { overflow-x: hidden; }
|
| 21 |
body, .gradio-container {
|
| 22 |
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
| 23 |
+
background:
|
| 24 |
+
repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(95,201,160,0.03) 35px, rgba(95,201,160,0.03) 70px),
|
| 25 |
+
repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(61,129,105,0.03) 35px, rgba(61,129,105,0.03) 70px),
|
| 26 |
+
linear-gradient(to bottom, #fafaf8, #f5f7f5);
|
| 27 |
+
color: #1a2f26;
|
|
|
|
| 28 |
position: relative;
|
| 29 |
+
min-height: 100vh;
|
| 30 |
}
|
| 31 |
|
| 32 |
.gradio-container > * { position: relative; z-index: 1; }
|
| 33 |
|
| 34 |
.og-hero {
|
| 35 |
background:
|
| 36 |
+
linear-gradient(135deg, rgba(95,201,160,0.08), rgba(61,129,105,0.12)),
|
| 37 |
+
repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(95,201,160,0.04) 20px, rgba(95,201,160,0.04) 40px),
|
| 38 |
+
repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(61,129,105,0.04) 20px, rgba(61,129,105,0.04) 40px),
|
| 39 |
+
linear-gradient(to bottom right, #f8faf9, #f0f5f2);
|
| 40 |
+
border: 1px solid rgba(95,201,160,0.2);
|
|
|
|
|
|
|
| 41 |
box-shadow: var(--og-shadow);
|
| 42 |
+
border-radius: 16px;
|
| 43 |
+
padding: 28px;
|
| 44 |
position: relative;
|
| 45 |
overflow: hidden;
|
| 46 |
}
|
| 47 |
+
.og-hero::before {
|
| 48 |
+
content: "";
|
| 49 |
+
position: absolute;
|
| 50 |
+
top: 0;
|
| 51 |
+
left: 0;
|
| 52 |
+
right: 0;
|
| 53 |
+
height: 3px;
|
| 54 |
+
background: linear-gradient(90deg, transparent, var(--og-mint), transparent);
|
| 55 |
+
opacity: 0.6;
|
| 56 |
+
}
|
| 57 |
.og-hero::after {
|
| 58 |
content: "";
|
| 59 |
position: absolute;
|
| 60 |
+
inset: 0;
|
| 61 |
+
background:
|
| 62 |
+
radial-gradient(circle at 20% 30%, rgba(95,201,160,0.08), transparent 40%),
|
| 63 |
+
radial-gradient(circle at 80% 70%, rgba(61,129,105,0.08), transparent 40%);
|
| 64 |
+
pointer-events: none;
|
|
|
|
|
|
|
| 65 |
}
|
| 66 |
.og-hero::after {
|
| 67 |
inset: auto auto -120px -20px;
|