Skip to content

Commit

Permalink
Add table styling
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-strange committed Aug 28, 2024
1 parent 59e2e30 commit e564b81
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion src/_includes/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,33 @@ p.status { display: inline-block; border-radius: 15%; padding-inline: 0.25em;}

html { scroll-behavior: smooth; }

.subtitle { font-size: 1.2em; padding: 0;}
.subtitle { font-size: 1.2em; padding: 0;}

/* Table Styling */
table {
width: 100%;
border-collapse: collapse;
}

th, td {
padding: 0.5rem;
text-align: center;
}

/* Table Header */
th {
background-color: #f3f3f3;
font-weight: 800;
color: black;
}

/* Alternate Row Colors */
tr:nth-child(even) {
background-color: #f4f8fa;
}

/* Hover Effect */
tr:hover {
background-color: #b4d8f9;
transition: background-color 0.3s;
}

0 comments on commit e564b81

Please sign in to comment.