Fix tables
authorMichael McMahon <michael@fsf.org>
Wed, 27 Mar 2024 23:59:46 +0000 (19:59 -0400)
committerMichael McMahon <michael@fsf.org>
Wed, 27 Mar 2024 23:59:46 +0000 (19:59 -0400)
2024/assets/css/custom.css
2024/includes/home-content.html

index 9fc28b2b9f52323d40317600954de9757fc9156e..c636b76f61d31fcd0f3e4d1715e43526bd9a7e59 100644 (file)
@@ -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;
 }
index bdb05990bf817478aaa597abed8310cc54eaec3f..88cdc0e199e01a23f45940a5839d50d65c6eec8d 100644 (file)
@@ -1,4 +1,4 @@
-<div class="deadline-table">
+<div id="deadline-table-1">
   <h3>Ongoing Events</h3>
   <table>
         <tr>
@@ -25,7 +25,7 @@
     </table>
 </div>
 
-<div class="deadline-table">
+<div id="deadline-table-2">
   <h3>Upcoming Events</h3>
   <table>
        <tr>
@@ -43,7 +43,7 @@
     </table>
 </div>
 
-<!--<div class="deadline-table">
+<!--<div id="deadline-table-3">
   <h3>Past Events</h3>
   <table>
         <tr>