mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-18 13:16:41 +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
|
@ -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 */
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
|
Loading…
Add table
Reference in a new issue