From 86841ade288233f19251eb9173b1c67209d31601 Mon Sep 17 00:00:00 2001 From: hedy Date: Sun, 11 Feb 2024 21:49:05 +0800 Subject: Events: Update the events to include in galleries --- pydis_site/static/css/events/base.css | 12 +++++------ pydis_site/templates/events/main_events.html | 22 +++----------------- pydis_site/templates/events/other_events.html | 30 +++++++++++++-------------- 3 files changed, 23 insertions(+), 41 deletions(-) diff --git a/pydis_site/static/css/events/base.css b/pydis_site/static/css/events/base.css index ba3a7fc9..7982c9df 100644 --- a/pydis_site/static/css/events/base.css +++ b/pydis_site/static/css/events/base.css @@ -88,7 +88,7 @@ pre { } #other-events-section { - height: 62rem; + height: 63rem; } #other-events-section .box { @@ -109,7 +109,7 @@ pre { /* 3 columns */ #main-events-section { /* Required. Must be only slightly taller than the tallest column */ - height: 67rem; + height: 68rem; } #main-events-section .card { @@ -133,19 +133,19 @@ pre { @media (max-width: 900px) { /* 2 columns */ #main-events-section { - height: 80rem; + height: 96rem; } #other-events-section { - height: 80rem; + height: 83rem; } #main-events-section .card { width: calc(50% - 1rem); } - #main-events-section.card:nth-child(2n+1) { order: 1; } - #main-events-section.card:nth-child(2n) { order: 2; } + #main-events-section .card:nth-child(2n+1) { order: 1; } + #main-events-section .card:nth-child(2n) { order: 2; } /* 1 line break to force a new column, for the gap between the two columns. */ #main-events-section::before { diff --git a/pydis_site/templates/events/main_events.html b/pydis_site/templates/events/main_events.html index a4675333..3b5c9aa9 100644 --- a/pydis_site/templates/events/main_events.html +++ b/pydis_site/templates/events/main_events.html @@ -35,21 +35,6 @@

For the past 15 years, PyWeek has been running a bi-annual game jam for the Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these events.

-
-
- Logo for pixels -
-
-

Pixels

-

- - - Not fixed - -

-

A collaborative canvas where users paint pixel by pixel, by POSTing co-ordinates and a color code to an API.

-
-
Server icon for AoC @@ -62,7 +47,7 @@ December

-

An advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like, including Python.

+

An advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like, including Python. The puzzles start off easy and gradually get more difficult, all while revealing a fun little story that is appropriate for some seasons more than others. Puzzles are posted every day as they come, and you'll be able to discuss your solutions for each puzzle in dedicated threads.

@@ -77,7 +62,7 @@ July to August

-

Revival of Code is a Python Discord hosted event where we release old Advent of Code puzzles from a previous year. The puzzles start off easy and gradually get more difficult, all while revealing a fun little story that is appropriate for some seasons more than others. Questions will be posted every other day, and you'll be able to discuss your solutions in dedicated threads.

+

Revival of Code is a Python Discord hosted event where we release old Advent of Code puzzles from a previous year. Puzzles are for a variety of skill sets and skill levels that can be solved in any programming language you like, including Python. They will be posted every other day, and you'll be able to discuss your solutions in dedicated threads.

@@ -87,10 +72,9 @@

- April 1 + April 1st

-

HMMMMMMM what's this event about??

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

diff --git a/pydis_site/templates/events/other_events.html b/pydis_site/templates/events/other_events.html index 9fc7c6ab..06c50999 100644 --- a/pydis_site/templates/events/other_events.html +++ b/pydis_site/templates/events/other_events.html @@ -111,23 +111,23 @@

- +

-

Python Core Developers Q&A

+

Pixels

- Oct. 21, 2020 + May 2021

-

The first Python Core Developers Q&A! During the Q&A, several core developers answered questions sent in by you, the broader Python community. This Q&A was part of the yearly Python Core Dev Sprint, organized virtually in 2020 on Python Discord.

+

Inspired by r/place, the reddit April Fools experiment where users could place pixels on a canvas one-by-one, Pixels was an application that allowed users to collaboratively decorate a canvas pixel-by-pixel. The twist? Interacting with our canvas can only be done via an API.

- - - Watch on YouTube + + + Learn more
@@ -136,24 +136,22 @@
-

- -

+
-

Game Jam

+

Python Core Developers Q&A

- April 2020 + Oct. 21, 2020

-

The Game Jam was similar to our Code Jams, but smaller in scope. Instead of having to complete a qualifier and being teamed up with random strangers, members of our community can just sign-up individually or pair up with whoever they like.

+

The first Python Core Developers Q&A! During the Q&A, several core developers answered questions sent in by you, the broader Python community. This Q&A was part of the yearly Python Core Dev Sprint, organized virtually in 2020 on Python Discord.

- - - Learn more + + + Watch on YouTube
-- cgit v1.2.3