Skip to content

Commit

Permalink
Fix events page for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hedyhli committed Feb 14, 2024
1 parent cc1eb08 commit b7c6309
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions pydis_site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@
"primary": "#5365A4", # A darker PyDis blurple
"warning": "#4B4636",
"warning-invert": "#FFFFFF",
"warning-light": "#3B3B36",
"primary-dark": "#EFF1FB", # Bulma's primary-light
"primary-light": "#2B3660",
"success-dark": "#EFFAF5", # Bulma's success-light
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pydis_site/templates/events/current_event.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2 class="title is-4"><a href="https://pyweek.org/37/">PyWeek 37</a></h2>
</div>
</div>
<p>A bi-annual game jam where participants write a game in Python in a week, either individually or as a team. The theme is voted by the competitors prior to the challenge, and the entries are also judged by the competitors after the challenge.</p>
<a class="button is-link" href="https://pyweek.org/37/">
<a class="button is-primary" href="https://pyweek.org/37/">
<span class="icon-text">
<span>Learn more</span><span class="icon has-text-white"><i class="fa-solid fa-arrow-right"></i></span>
</span>
Expand Down
3 changes: 2 additions & 1 deletion pydis_site/templates/events/main_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ <h2 class="title is-4"><a href="{% url "events:page" path="code-jams" %}">Code J
</div>
<div class="card">
<div class="card-image">
<img src="/static/images/events/gallery/pyweek.png" alt="PyWeek logo">
<img class="light-image" src="/static/images/events/gallery/pyweek.png" alt="PyWeek logo">
<img class="dark-image" src="/static/images/events/gallery/pyweek_dark.png" alt="PyWeek logo">
</div>
<div class="card-content">
<h2 class="title is-4"><a href="{% url "events:page" path="pyweek" %}">PyWeek</a></h2>
Expand Down

0 comments on commit b7c6309

Please sign in to comment.