Spaces:
Sleeping
Sleeping
Scott Harshman commited on
Add !important to quiz CSS to override Streamlit defaults
Browse files
app.py
CHANGED
|
@@ -1660,14 +1660,14 @@ st.markdown(
|
|
| 1660 |
<style>
|
| 1661 |
.quiz-progress { margin: 1rem 0 1.5rem; padding: 0; }
|
| 1662 |
.quiz-progress-text {
|
| 1663 |
-
color: #ffc533;
|
| 1664 |
-
font-family: 'Barlow Condensed', sans-serif;
|
| 1665 |
-
font-weight: 700;
|
| 1666 |
-
font-size: 0.85rem;
|
| 1667 |
-
letter-spacing: 1px;
|
| 1668 |
-
text-transform: uppercase;
|
| 1669 |
-
margin-bottom: 8px;
|
| 1670 |
-
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
| 1671 |
}
|
| 1672 |
.quiz-progress-bar {
|
| 1673 |
width: 100%;
|
|
@@ -1682,21 +1682,21 @@ st.markdown(
|
|
| 1682 |
border-radius: 3px;
|
| 1683 |
transition: width 0.4s ease;
|
| 1684 |
}
|
| 1685 |
-
.quiz-question {
|
| 1686 |
-
color: #ffffff;
|
| 1687 |
-
font-family: 'Barlow Condensed', sans-serif;
|
| 1688 |
-
font-weight: 800;
|
| 1689 |
-
text-shadow: 0 1px 2px rgba(0,0,0,0.
|
| 1690 |
-
font-size: 1.65rem;
|
| 1691 |
-
line-height: 1.25;
|
| 1692 |
-
margin: 1rem 0 0.5rem;
|
| 1693 |
}
|
| 1694 |
-
.quiz-helper {
|
| 1695 |
-
color: #8ecae6;
|
| 1696 |
-
font-size: 0.95rem;
|
| 1697 |
-
line-height: 1.5;
|
| 1698 |
-
margin-bottom: 1.5rem;
|
| 1699 |
-
text-shadow: 0 1px 2px rgba(0,0,0,0.25);
|
| 1700 |
}
|
| 1701 |
div[data-testid="stButton"] > button {
|
| 1702 |
background: #ffffff !important;
|
|
|
|
| 1660 |
<style>
|
| 1661 |
.quiz-progress { margin: 1rem 0 1.5rem; padding: 0; }
|
| 1662 |
.quiz-progress-text {
|
| 1663 |
+
color: #ffc533 !important;
|
| 1664 |
+
font-family: 'Barlow Condensed', sans-serif !important;
|
| 1665 |
+
font-weight: 700 !important;
|
| 1666 |
+
font-size: 0.85rem !important;
|
| 1667 |
+
letter-spacing: 1px !important;
|
| 1668 |
+
text-transform: uppercase !important;
|
| 1669 |
+
margin-bottom: 8px !important;
|
| 1670 |
+
text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
|
| 1671 |
}
|
| 1672 |
.quiz-progress-bar {
|
| 1673 |
width: 100%;
|
|
|
|
| 1682 |
border-radius: 3px;
|
| 1683 |
transition: width 0.4s ease;
|
| 1684 |
}
|
| 1685 |
+
.quiz-question, .quiz-question * {
|
| 1686 |
+
color: #ffffff !important;
|
| 1687 |
+
font-family: 'Barlow Condensed', sans-serif !important;
|
| 1688 |
+
font-weight: 800 !important;
|
| 1689 |
+
text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
|
| 1690 |
+
font-size: 1.65rem !important;
|
| 1691 |
+
line-height: 1.25 !important;
|
| 1692 |
+
margin: 1rem 0 0.5rem !important;
|
| 1693 |
}
|
| 1694 |
+
.quiz-helper, .quiz-helper * {
|
| 1695 |
+
color: #8ecae6 !important;
|
| 1696 |
+
font-size: 0.95rem !important;
|
| 1697 |
+
line-height: 1.5 !important;
|
| 1698 |
+
margin-bottom: 1.5rem !important;
|
| 1699 |
+
text-shadow: 0 1px 2px rgba(0,0,0,0.25) !important;
|
| 1700 |
}
|
| 1701 |
div[data-testid="stButton"] > button {
|
| 1702 |
background: #ffffff !important;
|