feat: add some css to the HTML format report (#99)

feat: add some css to the HTML format report
This commit is contained in:
Vector7 2023-06-21 09:38:31 +08:00 committed by GitHub
parent 355c2166e6
commit 7ff05a862e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 58 additions and 0 deletions

View File

@ -16,6 +16,35 @@
width: 100%;
height: 60px;
}
table {
border-collapse: collapse;
width: 100%;
}
caption {
font-size: 1.2em;
font-weight: bold;
padding: 8px;
background-color: #46723d48;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f9f9f9;
}
tr:nth-child(even) {
background-color: #f5f5f5;
}
tr:hover {
background-color: #f9f9f9;
}
</style>
</head>
<body>

View File

@ -16,6 +16,35 @@
width: 100%;
height: 60px;
}
table {
border-collapse: collapse;
width: 100%;
}
caption {
font-size: 1.2em;
font-weight: bold;
padding: 8px;
background-color: #46723d48;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f9f9f9;
}
tr:nth-child(even) {
background-color: #f5f5f5;
}
tr:hover {
background-color: #f9f9f9;
}
</style>
</head>
<body>