Spaces:
Running

Dzung Doan commited on
Commit
584040f
·
1 Parent(s): 3bc2c1e

update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -6
app.py CHANGED
@@ -117,13 +117,23 @@ st.markdown("""
117
  font-weight: bold;
118
  }
119
 
120
- /* Enhanced title styling */
121
  .main-title {
122
- background: linear-gradient(45deg, #ffd700, #ffed4e);
123
- -webkit-background-clip: text;
124
- -webkit-text-fill-color: transparent;
125
- background-clip: text;
126
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
 
 
 
 
 
 
 
 
 
 
127
  }
128
 
129
  /* Enhanced input area */
 
117
  font-weight: bold;
118
  }
119
 
120
+ /* Enhanced title styling - HF Spaces compatible */
121
  .main-title {
122
+ color: #ffd700 !important;
123
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
124
+ font-weight: bold !important;
125
+ background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
126
+ -webkit-background-clip: text !important;
127
+ -webkit-text-fill-color: transparent !important;
128
+ background-clip: text !important;
129
+ }
130
+
131
+ /* Fallback for browsers that don't support gradient text */
132
+ @supports not (-webkit-background-clip: text) {
133
+ .main-title {
134
+ color: #ffd700 !important;
135
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
136
+ }
137
  }
138
 
139
  /* Enhanced input area */