Skip to content

Commit 8374e45

Browse files
committed
right-align tables
1 parent 300997f commit 8374e45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,12 @@ figure.table-figure figcaption {
519519
line-height: 1.5;
520520
}
521521

522+
/* Right-align all columns except the first one */
523+
.table-styled th:not(:first-child),
524+
.table-styled td:not(:first-child) {
525+
text-align: right;
526+
}
527+
522528
.table-styled td strong {
523529
color: var(--nord0);
524530
font-weight: 700;

0 commit comments

Comments
 (0)