Maryam Ilka commited on
Commit
1d44839
·
verified ·
1 Parent(s): 05390a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py CHANGED
@@ -527,6 +527,14 @@ def map_view():
527
 
528
  def attention_check1():
529
  """سوال توجه اول (بدون بررسی پاسخ صحیح)"""
 
 
 
 
 
 
 
 
530
  st.markdown("### سوال توجه")
531
 
532
  answer = st.radio(
@@ -542,6 +550,14 @@ def attention_check1():
542
 
543
  def attention_check2():
544
  """سوال توجه دوم (بدون بررسی پاسخ صحیح)"""
 
 
 
 
 
 
 
 
545
  st.markdown("### سوال توجه")
546
 
547
  answer = st.radio(
 
527
 
528
  def attention_check1():
529
  """سوال توجه اول (بدون بررسی پاسخ صحیح)"""
530
+ st.markdown("""
531
+ <style>
532
+ /* تضمین رنگ متن برای تمام سطوح */
533
+ .st-ec, .st-ed, .st-ee, .st-ef, .st-eg, .st-eh, .st-ei, .st-ej {
534
+ color: black !important;
535
+ }
536
+ </style>
537
+ """, unsafe_allow_html=True)
538
  st.markdown("### سوال توجه")
539
 
540
  answer = st.radio(
 
550
 
551
  def attention_check2():
552
  """سوال توجه دوم (بدون بررسی پاسخ صحیح)"""
553
+ st.markdown("""
554
+ <style>
555
+ /* تضمین رنگ متن برای تمام سطوح */
556
+ .st-ec, .st-ed, .st-ee, .st-ef, .st-eg, .st-eh, .st-ei, .st-ej {
557
+ color: black !important;
558
+ }
559
+ </style>
560
+ """, unsafe_allow_html=True)
561
  st.markdown("### سوال توجه")
562
 
563
  answer = st.radio(