194 lines
1.6 KiB
CSS
194 lines
1.6 KiB
CSS
/*样式表*/
|
|
@page {
|
|
|
|
size: A4;
|
|
|
|
}
|
|
|
|
/*全局样式*/
|
|
* {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
/*span*/
|
|
span {
|
|
|
|
color: rgb(134, 144, 156);
|
|
|
|
}
|
|
|
|
/*第一级标题*/
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
/*第二级标题*/
|
|
h2 {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
/*第三级标题*/
|
|
h3 {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
/*引用*/
|
|
blockquote {
|
|
|
|
margin: 12px 0;
|
|
|
|
padding-left: 12px;
|
|
|
|
border-left: 2px solid #E5E6EB;
|
|
|
|
color: #86909C;
|
|
|
|
}
|
|
|
|
blockquote * {
|
|
|
|
color: #86909C;
|
|
|
|
}
|
|
|
|
/*列表项目*/
|
|
li {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
/*表格*/
|
|
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;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
width: auto;
|
|
|
|
height: 400px;
|
|
|
|
}
|
|
|
|
iframe {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 400px;
|
|
|
|
border: None;
|
|
|
|
scrolling: no;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
height: 200px;
|
|
|
|
text-align: center;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|