Python/utils/templates/table.html

59 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<style>
/*全局样式*/
* {
font-family: "PingFang SC", "Nunito";
font-size: 14px;
color: rgb(29, 33, 41);
}
body {
margin: 0px;
}
/*页面布局*/
.document-container {
width: 16cm;
margin: auto;
}
/*文档标题*/
.document-block-title {
font-size: 24px;
font-weight: 700;
}
/*表格*/
table {
width: 16cm;
table-layout: auto;
border-collapse: collapse;
text-align: right;
scrolling: no;
}
/*表格-首行*/
table tr th {
height: 35px;
font-size: 14px;
font-weight: 500;
background-color: rgb(242 243 245);
padding: 8px 16px;
}
/*表格-数据行*/
table tr td {
height: 30px;
font-size: 12px;
font-weight: 400;
border-bottom: 1px solid rgb(229 230 235);
padding: 8px 16px;
}
/*表格第一列左对齐*/
table th:first-child, table td:first-child {
text-align: left;
}
</style>
<head>
<meta charset=“UTF-8”>
<title>pyecharts</title>
</head>
<body>
{{ html_content }}
</body>
</html>