Skip to content

Commit 97c195b

Browse files
committed
table test
1 parent d2c930c commit 97c195b

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

book/thesis_projects/BSc/2025_Q3_IschaHollemans_CEG/Report/5_analysing_results.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,38 @@ the return periods are summarized in the table below:
2929
*Table 4: Overview of return periods for duration and deficit for each scenario. The increase is calculated
3030
based on the historical droughts.*
3131

32-
<table style='text-align:center; vertical-align:middle'; border: 1px solid black>
32+
<style>
33+
table {
34+
border-collapse: collapse;
35+
width: 100%;
36+
text-align: center;
37+
vertical-align: middle;
38+
border: 2px solid black;
39+
}
40+
41+
th, td {
42+
border: 1px solid black;
43+
padding: 8px;
44+
}
45+
46+
tr:nth-child(even) {
47+
background-color: #f2f2f2; /* Light gray for alternating rows */
48+
}
49+
50+
tr:nth-child(1),
51+
tr:nth-child(2) {
52+
background-color: #d1e7dd; /* Light green for header rows */
53+
font-weight: bold;
54+
}
55+
56+
tr:nth-child(7),
57+
tr:nth-child(8) {
58+
background-color: #ffe5b4; /* Light orange for middle header */
59+
font-weight: bold;
60+
}
61+
</style>
62+
63+
<table style='text-align:center; vertical-align:middle';>
3364
<tr>
3465
<td rowspan="2">Return period duration</td>
3566
<td>Historical</td>

0 commit comments

Comments
 (0)