Yufan_Zhou commited on
Commit
29b565d
·
1 Parent(s): 84356b9

Improve section header visibility with better styling and contrast

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -122,16 +122,26 @@ div, section, form, .app, .contain, .wrap {
122
  .section-header {
123
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
124
  color: white !important;
125
- padding: 8px 16px;
126
  border-radius: 8px;
127
- margin: 0 0 -8px 0;
128
- font-weight: 600;
129
- font-size: 1.4em;
 
 
130
  }
131
 
132
  /* h3 elements */
133
  h3 {
134
  font-size: 1.8em !important;
 
 
 
 
 
 
 
 
135
  }
136
 
137
  .input-column {
 
122
  .section-header {
123
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
124
  color: white !important;
125
+ padding: 12px 20px;
126
  border-radius: 8px;
127
+ margin: 0 0 12px 0;
128
+ font-weight: 700;
129
+ font-size: 1.5em;
130
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
131
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
132
  }
133
 
134
  /* h3 elements */
135
  h3 {
136
  font-size: 1.8em !important;
137
+ color: #333 !important;
138
+ font-weight: 700 !important;
139
+ }
140
+
141
+ /* Ensure section headers inside h3 are visible */
142
+ h3 .section-header {
143
+ display: inline-block;
144
+ width: 100%;
145
  }
146
 
147
  .input-column {