Kesheratmex commited on
Commit
3e8da44
·
1 Parent(s): 4ed22bd

Improve main header styling: enforce white color, stronger shadows

Browse files
Files changed (1) hide show
  1. app.py +15 -8
app.py CHANGED
@@ -1084,18 +1084,25 @@ with gr.Blocks(
1084
  }
1085
 
1086
  .main-header h1 {
1087
- color: white;
1088
  font-size: 2.5rem;
1089
- font-weight: 700;
1090
  margin: 0 0 10px 0;
1091
- text-shadow: 0 2px 4px rgba(0,0,0,0.3);
1092
  }
1093
 
1094
  .main-header p {
1095
- color: rgba(255,255,255,0.9);
1096
  font-size: 1.2rem;
1097
  margin: 0;
1098
- font-weight: 300;
 
 
 
 
 
 
 
1099
  }
1100
 
1101
  /* Secciones con mejor espaciado */
@@ -1290,9 +1297,9 @@ with gr.Blocks(
1290
  # Header principal mejorado
1291
  gr.HTML("""
1292
  <div class="main-header">
1293
- <h1 style="color: #ffffff; text-shadow: 2px 2px 4px rgba(0,0,0,0.7);">KESHERAT AI</h1>
1294
- <p style="color: #ffffff; text-shadow: 1px 1px 3px rgba(0,0,0,0.6);">Sistema Inteligente de Inspección para Turbinas Eólicas</p>
1295
- <div style="margin-top: 15px; font-size: 14px; color: #ffffff; text-shadow: 1px 1px 2px rgba(0,0,0,0.5);">
1296
  Detección automática de defectos • Análisis multimodal • Reportes profesionales
1297
  </div>
1298
  </div>
 
1084
  }
1085
 
1086
  .main-header h1 {
1087
+ color: #ffffff !important;
1088
  font-size: 2.5rem;
1089
+ font-weight: 700 !important;
1090
  margin: 0 0 10px 0;
1091
+ text-shadow: 3px 3px 6px rgba(0,0,0,0.9) !important;
1092
  }
1093
 
1094
  .main-header p {
1095
+ color: #ffffff !important;
1096
  font-size: 1.2rem;
1097
  margin: 0;
1098
+ font-weight: 500 !important;
1099
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
1100
+ }
1101
+
1102
+ .main-header div {
1103
+ color: #ffffff !important;
1104
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
1105
+ font-weight: 500 !important;
1106
  }
1107
 
1108
  /* Secciones con mejor espaciado */
 
1297
  # Header principal mejorado
1298
  gr.HTML("""
1299
  <div class="main-header">
1300
+ <h1 style="color: #ffffff !important; text-shadow: 3px 3px 6px rgba(0,0,0,0.8) !important; font-weight: 700 !important;">KESHERAT AI</h1>
1301
+ <p style="color: #ffffff !important; text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important; font-weight: 500 !important;">Sistema Inteligente de Inspección para Turbinas Eólicas</p>
1302
+ <div style="margin-top: 15px; font-size: 14px; color: #ffffff !important; text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important; font-weight: 500 !important;">
1303
  Detección automática de defectos • Análisis multimodal • Reportes profesionales
1304
  </div>
1305
  </div>