app/main.py: use smaller, ligter font for source.

Lanhui-go-bootstrap
Hui Lan 2021-08-01 21:25:13 +08:00
parent c71b156203
commit 6e56c1b418
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def get_today_article(user_word_list, articleID):
article_body = get_article_body(d['text'])
s += '<p class="display-3">%s</p>' % (article_title)
s += '<p class="lead">%s</p>' % (article_body)
s += '<p><i>%s</i></p>' % (d['source'])
s += '<p><small class="text-muted">%s</small></p>' % (d['source'])
s += '<p><b>%s</b></p>' % (get_question_part(d['question']))
s = s.replace('\n', '<br/>')
s += '%s' % (get_answer_part(d['question']))