From e3e6ea93696664d46dd9328a4304598c58867eb6 Mon Sep 17 00:00:00 2001 From: Michael McMahon Date: Wed, 27 Mar 2024 19:59:46 -0400 Subject: [PATCH] Fix tables --- 2024/assets/css/custom.css | 15 ++++++++++----- 2024/includes/home-content.html | 6 +++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/2024/assets/css/custom.css b/2024/assets/css/custom.css index 9fc28b2b..c636b76f 100644 --- a/2024/assets/css/custom.css +++ b/2024/assets/css/custom.css @@ -1201,7 +1201,8 @@ border-radius: 5px /* deadline table */ -.deadline-table table { +#deadline-table-1 table, +#deadline-table-2 table { border-collapse: collapse; text-align: center; position: relative; @@ -1209,23 +1210,27 @@ border-radius: 5px overflow: hidden; } -.deadline-table th { +#deadline-table-1 th, +#deadline-table-2 th { background-color: #404040; color: white; padding: 10px; text-align: center; } -.deadline-table td { +#deadline-table-1 td, +#deadline-table-2 td { border: 1px solid #dddddd; padding: 10px; text-align: center; } -.deadline-table tr:nth-child(even) { +#deadline-table-1 tr:nth-child(even), +#deadline-table-2 tr:nth-child(even) { background-color: #f2f2f2; } -.deadline-table tr:hover { +#deadline-table-1 tr:hover, +#deadline-table-2 tr:hover { background-color: #e6e6e6; } diff --git a/2024/includes/home-content.html b/2024/includes/home-content.html index bdb05990..88cdc0e1 100644 --- a/2024/includes/home-content.html +++ b/2024/includes/home-content.html @@ -1,4 +1,4 @@ -
+

Ongoing Events

@@ -25,7 +25,7 @@
-
+

Upcoming Events

@@ -43,7 +43,7 @@
-