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

v2.3.2: bump intro-text selector specificity so the light color actually wins

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1792,8 +1792,11 @@ st.markdown(
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;
 
1792
  }
1793
 
1794
  /* v2.3.1: body intro paragraph between hero and question card.
1795
+ Reads on the now-dark transparent body background.
1796
+ Selector specificity must beat `div[data-testid="stMarkdownContainer"] p`. */
1797
+ div[data-testid="stMarkdownContainer"] p.quiz-intro-text,
1798
+ .stMarkdown p.quiz-intro-text,
1799
+ p.quiz-intro-text {
1800
  color: #d5ffff !important;
1801
  font-family: 'Barlow', 'Segoe UI', sans-serif !important;
1802
  font-size: 1.0rem !important;