From c76a60c0c874c4f8282d5822ae84ea8e49c334c2 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Sat, 2 Dec 2023 16:32:43 +0100 Subject: [PATCH] Update default.html Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- _layouts/default.html | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 7034efa..19b3c7b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -111,7 +111,32 @@ .highlight .vi { color: #19177C } /* Name.Variable.Instance */ .highlight .vm { color: #19177C } /* Name.Variable.Magic */ .highlight .il { color: #666666 } /* Literal.Number.Integer.Long */ - + + table { + border-collapse: collapse; + width: 100%; + border: 2px solid black; /* 2px border around the table */ + } + + table, th, td { + border: 1px solid black; /* 1px lines for cells and header */ + } + + th { + background-color: white; /* White background for header */ + } + + tr:nth-child(even) { + background-color: #d5e3f3; /* Blue for even rows */ + } + + tr:nth-child(odd) { + background-color: white; /* White for odd rows */ + } + + th:empty { + display: none; /* This will make an empty header cell vanish */ + }