Spaces:
Sleeping
Sleeping
Commit
·
6b11018
1
Parent(s):
06592fc
quiz font size
Browse files- pages/postquiz.py +8 -0
- pages/prequiz.py +9 -2
pages/postquiz.py
CHANGED
@@ -42,3 +42,11 @@ btn = st.button("Submit")
|
|
42 |
|
43 |
if btn:
|
44 |
on_submit()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
if btn:
|
44 |
on_submit()
|
45 |
+
|
46 |
+
st.markdown(
|
47 |
+
"""<style>
|
48 |
+
div[class*="stRadio"] > label > div[data-testid="stMarkdownContainer"] > p {
|
49 |
+
font-size: 18px;
|
50 |
+
}
|
51 |
+
</style>
|
52 |
+
""", unsafe_allow_html=True)
|
pages/prequiz.py
CHANGED
@@ -8,7 +8,7 @@ df['qid'] = df['qid'].astype(int)
|
|
8 |
prequiz_qs = df[df['qid'] < 0].sort_values(by='qid', ascending=False).reset_index(drop=True)
|
9 |
|
10 |
st.title("Pre-Quiz")
|
11 |
-
st.write("Please answer the following questions to the best of your ability
|
12 |
|
13 |
questions = []
|
14 |
for index, row in prequiz_qs.iterrows():
|
@@ -44,4 +44,11 @@ def on_submit():
|
|
44 |
btn = st.button("Submit")
|
45 |
if btn:
|
46 |
on_submit()
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
prequiz_qs = df[df['qid'] < 0].sort_values(by='qid', ascending=False).reset_index(drop=True)
|
9 |
|
10 |
st.title("Pre-Quiz")
|
11 |
+
st.write("Please answer the following questions to the best of your ability.\n\nFeel free to use a piece of scrap paper if it would help.\n\n(Est. time: 10-15m)")
|
12 |
|
13 |
questions = []
|
14 |
for index, row in prequiz_qs.iterrows():
|
|
|
44 |
btn = st.button("Submit")
|
45 |
if btn:
|
46 |
on_submit()
|
47 |
+
|
48 |
+
st.markdown(
|
49 |
+
"""<style>
|
50 |
+
div[class*="stRadio"] > label > div[data-testid="stMarkdownContainer"] > p {
|
51 |
+
font-size: 18px;
|
52 |
+
}
|
53 |
+
</style>
|
54 |
+
""", unsafe_allow_html=True)
|