aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-02-11 21:49:05 +0800
committerGravatar hedy <[email protected]>2024-02-11 21:49:05 +0800
commit86841ade288233f19251eb9173b1c67209d31601 (patch)
tree8c78f488db178f8e860540edcbc43cd191ed59e5 /pydis_site/static
parentEvents: Fix grammars and add 2023 code jam logo (diff)
Events: Update the events to include in galleries
Diffstat (limited to 'pydis_site/static')
-rw-r--r--pydis_site/static/css/events/base.css12
1 files changed, 6 insertions, 6 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 {