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

Files changed (1) hide show
  1. app.py +33 -28
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: #0f4d3f;
15
- --og-mint: #38c49d;
16
- --og-fern: #1c6b53;
17
- --og-cream: #f5f3ec;
18
- --og-shadow: 0 18px 40px rgba(10,48,38,0.18);
19
  }
20
  html, body { overflow-x: hidden; }
21
  body, .gradio-container {
22
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
23
- background:
24
- url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNDAnIGhlaWdodD0nMjQwJyB2aWV3Qm94PScwIDAgMjQwIDI0MCc+CjxwYXRoIGQ9J00xMCAyMDAgQyA2MCAxNTAsIDEyMCAxMjAsIDE0MCA3MCBDIDE1NSA0MCwgMTg1IDMwLCAyMjAgMjAnIHN0cm9rZT0nIzFjNmI1Mycgc3Ryb2tlLXdpZHRoPSc0JyBmaWxsPSdub25lJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1vcGFjaXR5PScuMTYnLz4KPHBhdGggZD0nTTUwIDIyMCBDIDkwIDE5MCwgMTMwIDE0MCwgMTcwIDEwMCcgc3Ryb2tlPScjM2NiZjlhJyBzdHJva2Utd2lkdGg9JzMnIGZpbGw9J25vbmUnIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLW9wYWNpdHk9Jy4yMCcvPgo8Y2lyY2xlIGN4PSc5MCcgY3k9JzE1MCcgcj0nMTAnIGZpbGw9JyMzY2JmOWEnIGZpbGwtb3BhY2l0eT0nLjI1Jy8+CjxjaXJjbGUgY3g9JzE1MCcgY3k9JzkwJyByPSc5JyBmaWxsPScjMGY0ZDNmJyBmaWxsLW9wYWNpdHk9Jy4xOCcvPgo8Y2lyY2xlIGN4PScyMDAnIGN5PSc1MCcgcj0nNycgZmlsbD0nIzhiZDdiMScgZmlsbC1vcGFjaXR5PScuMjInLz4KPC9zdmc+") repeat,
25
- radial-gradient(circle at 12% 20%, rgba(60,191,154,0.10), transparent 32%),
26
- radial-gradient(circle at 82% 16%, rgba(15,77,63,0.10), transparent 30%),
27
- linear-gradient(135deg, #f8f7f2 0%, #ecf2e9 100%);
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(120deg, rgba(15,77,63,0.32), rgba(56,196,157,0.18)),
37
- linear-gradient(160deg, rgba(140,215,177,0.20), rgba(15,77,63,0.14)),
38
- url("assets/trellis.jpg?v=1");
39
- background-size: cover;
40
- background-position: center;
41
- background-repeat: no-repeat;
42
- border: 1px solid rgba(15,77,63,0.16);
43
  box-shadow: var(--og-shadow);
44
- border-radius: 18px;
45
- padding: 22px;
46
  position: relative;
47
  overflow: hidden;
48
  }
49
- .og-hero::before,
 
 
 
 
 
 
 
 
 
50
  .og-hero::after {
51
  content: "";
52
  position: absolute;
53
- inset: -80px -20px auto auto;
54
- width: 240px;
55
- height: 240px;
56
- background: radial-gradient(circle at 40% 40%, rgba(60,191,154,0.4), transparent 60%),
57
- radial-gradient(circle at 70% 70%, rgba(15,77,63,0.45), transparent 62%);
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;