mirror of
https://github.com/davrot/pytutorial.git
synced 2025-06-08 19:00:02 +02:00
Update default.html
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
904960fe50
commit
c76a60c0c8
1 changed files with 26 additions and 1 deletions
|
@ -112,6 +112,31 @@
|
||||||
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
||||||
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
.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 */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue