ymcmy commited on
Commit
b3df5fa
·
verified ·
1 Parent(s): cad8275

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +4 -4
utils.py CHANGED
@@ -62,7 +62,7 @@ def gen_html(num):
62
  try:
63
  link = gen_link()
64
  print(link)
65
- hype = f'<a href="{link}" target="_blank">to link</a>'
66
  qhtml = get_problem(link)
67
  all_q += (hype + qhtml + '<div class="spacer"></div>') # Add spacer div between questions
68
  num_succ += 1
@@ -79,14 +79,14 @@ def gen_html(num):
79
  <style>
80
  body {{
81
  font-family: Arial, sans-serif;
82
- font-size: 20pt;
83
- margin: 100px; /* Add side margins */
84
  }}
85
  .spacer {{
86
  margin-top: 50px; /* Add spacing between questions */
87
  }}
88
  img.latex {{
89
- font-size: 20pt; /* Ensure math font size matches the body text size */
90
  }}
91
  a {{
92
  color: blue;
 
62
  try:
63
  link = gen_link()
64
  print(link)
65
+ hype = f'<a href="{link}" target="_blank">to AOPS</a>'
66
  qhtml = get_problem(link)
67
  all_q += (hype + qhtml + '<div class="spacer"></div>') # Add spacer div between questions
68
  num_succ += 1
 
79
  <style>
80
  body {{
81
  font-family: Arial, sans-serif;
82
+ font-size: 15pt;
83
+ margin: 300px; /* Add side margins */
84
  }}
85
  .spacer {{
86
  margin-top: 50px; /* Add spacing between questions */
87
  }}
88
  img.latex {{
89
+ font-size: 15pt; /* Ensure math font size matches the body text size */
90
  }}
91
  a {{
92
  color: blue;