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 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pydis_site/static') 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 { -- cgit v1.2.3