scmlewis commited on
Commit
46b8f96
·
verified ·
1 Parent(s): e55ab8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -76,10 +76,14 @@ def reset_inputs(api_key_value=None):
76
  # Reset all inputs, keeping API key unchanged
77
  return None, "", api_key_value or ""
78
 
79
- # Styles
80
  css_style = """
81
  :root { --bg: #0f111a; --panel: #1b1e28; --text: #e9eefc; --muted: #9fb3c8; --accent: #6a8efd; }
82
- body, .app-container { background: var(--bg); color: var(--text); }
 
 
 
 
83
  .header-block { width: 100%; display: flex; justify-content: center; padding: 8px 0; }
84
  .header-gradient { width: 100%; padding: 20px 0; border-radius: 12px; background: linear-gradient(90deg, #6a8efd, #44abc7); text-align: center; }
85
  .header-title { margin: 0; font-size: 2.6rem; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
 
76
  # Reset all inputs, keeping API key unchanged
77
  return None, "", api_key_value or ""
78
 
79
+ # Styles with gradient background for body/app container
80
  css_style = """
81
  :root { --bg: #0f111a; --panel: #1b1e28; --text: #e9eefc; --muted: #9fb3c8; --accent: #6a8efd; }
82
+ body, .app-container {
83
+ /* Gradient background instead of solid */
84
+ background: linear-gradient(135deg, #2a3a67, #1b254b);
85
+ color: var(--text);
86
+ }
87
  .header-block { width: 100%; display: flex; justify-content: center; padding: 8px 0; }
88
  .header-gradient { width: 100%; padding: 20px 0; border-radius: 12px; background: linear-gradient(90deg, #6a8efd, #44abc7); text-align: center; }
89
  .header-title { margin: 0; font-size: 2.6rem; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.25); }