Scott Harshman commited on
Commit
ae666aa
·
verified ·
1 Parent(s): b3d0687

v2.3.1: light text color for body intro paragraph (was unreadable on dark bg)

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -1791,6 +1791,17 @@ st.markdown(
1791
  font-weight: 400;
1792
  }
1793
 
 
 
 
 
 
 
 
 
 
 
 
1794
  /* Quiz option buttons — white cards floating on the dark page */
1795
  div[data-testid="stButton"] > button {
1796
  background: #ffffff !important;
@@ -2177,8 +2188,11 @@ st.markdown(
2177
  unsafe_allow_html=True,
2178
  )
2179
  st.markdown(
2180
- "Five questions, about 60 seconds. We will match you to the right Ignite program "
2181
- "and our physician team personally reviews each result before reaching out within 24 to 48 hours."
 
 
 
2182
  )
2183
 
2184
  # =============================================================================
 
1791
  font-weight: 400;
1792
  }
1793
 
1794
+ /* v2.3.1: body intro paragraph between hero and question card.
1795
+ Reads on the now-dark transparent body background. */
1796
+ .quiz-intro-text {
1797
+ color: #d5ffff !important;
1798
+ font-family: 'Barlow', 'Segoe UI', sans-serif !important;
1799
+ font-size: 1.0rem !important;
1800
+ line-height: 1.55 !important;
1801
+ margin: 0.75rem 0 1.25rem !important;
1802
+ font-weight: 400 !important;
1803
+ }
1804
+
1805
  /* Quiz option buttons — white cards floating on the dark page */
1806
  div[data-testid="stButton"] > button {
1807
  background: #ffffff !important;
 
2188
  unsafe_allow_html=True,
2189
  )
2190
  st.markdown(
2191
+ '<p class="quiz-intro-text">'
2192
+ 'Five questions, about 60 seconds. We will match you to the right Ignite program '
2193
+ 'and our physician team personally reviews each result before reaching out within 24 to 48 hours.'
2194
+ '</p>',
2195
+ unsafe_allow_html=True,
2196
  )
2197
 
2198
  # =============================================================================