ghostai1 commited on
Commit
9eb5e06
·
verified ·
1 Parent(s): 6d33749

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +32 -8
style.css CHANGED
@@ -199,24 +199,48 @@ pre {
199
  padding: 20px;
200
  }
201
 
202
- /* Specific fix for Usage section to prevent grey-on-grey */
203
- .usage-text {
204
- color: #ffffff !important; /* Ensure white text on dark background */
205
  }
206
 
207
- .usage-light {
208
- color: #000000 !important; /* Ensure black text on light background */
209
  }
210
 
211
- #usage .card.bg-ghost-light .card-body {
 
 
 
 
 
 
 
 
 
 
 
 
212
  background: #e0e0e0 !important; /* Light background for contrast */
213
  color: #000000 !important; /* Black text for readability */
214
  }
215
 
216
- #usage ol, #usage ul {
 
217
  color: #ffffff !important; /* White text for list items on dark sections */
218
  }
219
 
220
- #usage .card.bg-ghost-light ol, #usage .card.bg-ghost-light ul {
 
221
  color: #000000 !important; /* Black text for list items on light cards */
 
 
 
 
 
 
 
 
 
 
222
  }
 
199
  padding: 20px;
200
  }
201
 
202
+ /* Fix for grey-on-grey text across all sections */
203
+ .lead-text {
204
+ color: #ffffff !important; /* White text on dark backgrounds */
205
  }
206
 
207
+ .light-lead-text {
208
+ color: #000000 !important; /* Black text on light backgrounds */
209
  }
210
 
211
+ .bg-ghost-card .lead-text,
212
+ .bg-dark .lead-text {
213
+ color: #ffffff !important; /* Ensure white text in dark cards and sections */
214
+ }
215
+
216
+ .bg-ghost-light .light-lead-text,
217
+ .bg-light .light-lead-text {
218
+ color: #000000 !important; /* Ensure black text in light cards and sections */
219
+ }
220
+
221
+ /* Specific fix for Usage and Tutorials sections */
222
+ #usage .card.bg-ghost-light .card-body,
223
+ #tutorials .card.bg-ghost-light .card-body {
224
  background: #e0e0e0 !important; /* Light background for contrast */
225
  color: #000000 !important; /* Black text for readability */
226
  }
227
 
228
+ #usage ol, #usage ul,
229
+ #tutorials ol, #tutorials ul {
230
  color: #ffffff !important; /* White text for list items on dark sections */
231
  }
232
 
233
+ #usage .card.bg-ghost-light ol, #usage .card.bg-ghost-light ul,
234
+ #tutorials .card.bg-ghost-light ol, #tutorials .card.bg-ghost-light ul {
235
  color: #000000 !important; /* Black text for list items on light cards */
236
+ }
237
+
238
+ /* Apply to all lead texts site-wide */
239
+ .lead {
240
+ color: #ffffff !important; /* Default white for lead text on dark backgrounds */
241
+ }
242
+
243
+ .bg-light .lead,
244
+ .bg-ghost-light .lead {
245
+ color: #000000 !important; /* Black for lead text on light backgrounds */
246
  }