Skip to content

Commit da9a6eb

Browse files
authored
Merge pull request #724 from python-discord/events-css
Slightly improve events page CSS.
2 parents 599dff2 + 64b5d63 commit da9a6eb

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

pydis_site/static/css/events/base.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,11 @@ pre {
1010
*/
1111
background-color: #282c34;
1212
}
13+
14+
.panel .panel-heading {
15+
/*
16+
* Remove whitespace between the panel heading and the first item in a panel,
17+
* since it makes the first panel item taller than the others.
18+
*/
19+
margin-bottom: 0 !important
20+
}

pydis_site/templates/events/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="box">
1111
<h2 class="title is-4">Code Jams</h2>
1212
<div class="notification is-success">
13-
The 2022 Summer Code Jam qualifier will open June 29th. Check out the details <a href="{% url "events:page" path="code-jams/9" %}">here</a>.
13+
The <b>2022 Summer Code Jam</b> qualifier will open June 29th. Check out the details <a href="{% url "events:page" path="code-jams/9" %}">here</a>.
1414
</div>
1515
<p>Each year, we organize at least one code jam, one during the summer and sometimes one during the winter. During these events, members of our community will work together in teams to create something amazing using a technology we picked for them. One such technology that was picked for the Summer 2021 Code Jam was text user interfaces (TUIS), where teams could pick from a pre-approved list of frameworks.</p>
1616
<p>To help fuel the creative process, we provide a specific theme, like <strong>Think Inside the Box</strong> or <strong>Early Internet</strong>. At the end of the Code Jam, the projects are judged by Python Discord server staff members and guest judges from the larger Python community. The judges will consider creativity, code quality, teamwork, and adherence to the theme.</p>

pydis_site/templates/events/pages/code-jams/_index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
{% block title %}Code Jams{% endblock %}
99

1010
{% block event_content %}
11-
<div class="buttons are-large is-centered">
12-
<a href="9/_index" class="button is-primary">
13-
<span>Code Jam 2022 is Coming Up This July!</span>
14-
<span class="icon">
15-
<i class="fas fa-arrow-right"></i>
11+
<div class="block">
12+
<a href="9/_index" class="button is-primary mt-1">
13+
<span class="icon-text">
14+
<span>Code Jam 2022 is Coming This July!</span>
15+
<span class="icon">
16+
<i class="fas fa-arrow-right"></i>
17+
</span>
1618
</span>
1719
</a>
1820
</div>
21+
1922
<p>
2023
If you've been around the server for a while, or you just happened to join at the right time,
2124
you may have heard of something known as a Code Jam.

0 commit comments

Comments
 (0)