beautify news box

This commit is contained in:
cuom1999 2020-06-12 18:01:53 -05:00
parent 3e0af2dd75
commit c3db3b0aa2
3 changed files with 8 additions and 3 deletions

View file

@ -62,7 +62,7 @@ DMOJ_PROBLEM_MAX_TIME_LIMIT = 60 # seconds
DMOJ_PROBLEM_MIN_MEMORY_LIMIT = 0 # kilobytes DMOJ_PROBLEM_MIN_MEMORY_LIMIT = 0 # kilobytes
DMOJ_PROBLEM_MAX_MEMORY_LIMIT = 1048576 # kilobytes DMOJ_PROBLEM_MAX_MEMORY_LIMIT = 1048576 # kilobytes
DMOJ_PROBLEM_MIN_PROBLEM_POINTS = 0 DMOJ_PROBLEM_MIN_PROBLEM_POINTS = 0
DMOJ_RATING_COLORS = False DMOJ_RATING_COLORS = True
DMOJ_EMAIL_THROTTLING = (10, 60) DMOJ_EMAIL_THROTTLING = (10, 60)
DMOJ_STATS_LANGUAGE_THRESHOLD = 10 DMOJ_STATS_LANGUAGE_THRESHOLD = 10
DMOJ_SUBMISSIONS_REJUDGE_LIMIT = 10 DMOJ_SUBMISSIONS_REJUDGE_LIMIT = 10

View file

@ -11,8 +11,13 @@
<link rel="alternate" type="application/rss+xml" href="{{ url('problem_rss') }}" title="RSS Problem Feed"> <link rel="alternate" type="application/rss+xml" href="{{ url('problem_rss') }}" title="RSS Problem Feed">
{% include "blog/media-css.html" %} {% include "blog/media-css.html" %}
<style> <style>
@media (max-width: 800px) {
.title {
clear: both;
}
}
.post { .post {
margin: 0 1.4em; margin: 0 2%;
} }
.time { .time {
margin-left: 0; margin-left: 0;

View file

@ -48,7 +48,7 @@
<div class="body-message"> <div class="body-message">
<div class="user-time"> <div class="user-time">
<span class="${css_class}"> <span class="${css_class}">
<a href="{{ url('user_page') }}/${user}" class="user"> <a href="{{ url('user_page') }}/${user}">
${user} ${user}
</a> </a>
</span> </span>