ysharma HF staff commited on
Commit
0760cc6
·
verified ·
1 Parent(s): b9b94a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -95,15 +95,26 @@ custom_css = """
95
  margin: 20px 0 10px 0 !important;
96
  width: 100% !important;
97
  }
98
- /* Description text */
99
  .description {
100
- color: rgba(76, 175, 147, 0.7) !important;
101
  text-align: center !important;
102
  max-width: 800px !important;
103
  margin: 0 auto 30px auto !important;
104
  font-size: 0.9em !important;
105
  line-height: 1.6 !important;
106
  }
 
 
 
 
 
 
 
 
 
 
 
107
 
108
  .container-wrap {
109
  display: flex !important;
 
95
  margin: 20px 0 10px 0 !important;
96
  width: 100% !important;
97
  }
98
+ /* Description text - Dark mode */
99
  .description {
100
+ color: var(--body-text-color, rgba(76, 175, 147, 0.7)) !important;
101
  text-align: center !important;
102
  max-width: 800px !important;
103
  margin: 0 auto 30px auto !important;
104
  font-size: 0.9em !important;
105
  line-height: 1.6 !important;
106
  }
107
+ /* Description text - Light mode override */
108
+ .light-mode .description,
109
+ [data-theme="light"] .description {
110
+ color: rgba(55, 65, 81, 0.9) !important;
111
+ }
112
+ /* Description text - Bold elements in light mode */
113
+ .light-mode .description b,
114
+ [data-theme="light"] .description b {
115
+ color: rgb(55, 65, 81) !important;
116
+ font-weight: 600 !important;
117
+ }
118
 
119
  .container-wrap {
120
  display: flex !important;