Make contest header bigger

This commit is contained in:
cuom1999 2022-11-09 14:45:46 -06:00
parent 30417e1cde
commit f6b16a30ac

View file

@ -20,6 +20,10 @@
padding: 1px 6px; padding: 1px 6px;
} }
.contest-group-header {
padding-bottom: 1em;
}
{% if page_obj and page_obj.number > 1%} {% if page_obj and page_obj.number > 1%}
#ongoing-table { #ongoing-table {
display: none; display: none;
@ -275,10 +279,10 @@
{% endif %} {% endif %}
{% if current_contests %} {% if current_contests %}
<h4 class="toggle open"> <h3 class="toggle open contest-group-header">
<i class="fa fa-chevron-right fa-fw"></i> <i class="fa fa-chevron-right fa-fw"></i>
{{ _('Ongoing Contests') }} {{ _('Ongoing Contests') }}
</h4> </h3>
<div id="ongoing-table" class="toggled"> <div id="ongoing-table" class="toggled">
<table class="contest-list table striped"> <table class="contest-list table striped">
<thead> <thead>
@ -317,10 +321,10 @@
</div> </div>
{% endif %} {% endif %}
<h4 class="toggle open"> <h3 class="toggle open contest-group-header">
<i class="fa fa-chevron-right fa-fw"></i> <i class="fa fa-chevron-right fa-fw"></i>
{{ _('Upcoming Contests') }} {{ _('Upcoming Contests') }}
</h4> </h3>
{% if future_contests %} {% if future_contests %}
<div class="toggled"> <div class="toggled">
<table class="contest-list table striped"> <table class="contest-list table striped">
@ -356,7 +360,7 @@
<br> <br>
{% if past_contests %} {% if past_contests %}
<h4>{{ _('Past Contests') }}</h4> <h3 class="contest-group-header">{{ _('Past Contests') }}</h3>
{% if page_obj and page_obj.num_pages > 1 %} {% if page_obj and page_obj.num_pages > 1 %}
<div style="margin-bottom: 4px;"> <div style="margin-bottom: 4px;">
{% include "list-pages.html" %} {% include "list-pages.html" %}