层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。CSS不仅可以静态地修饰网页,还可以配合各种脚本语言动态地对网页各元素进行格式化。
CSS 能够对网页中元素位置的排版进行像素级精确控制,支持几乎所有的字体字号样式,拥有对网页对象和模型样式编辑的能力。
line-height: 1.5em; /*半个字体大小的间距*/
text-indent: 2em; /*中文段首两个字的缩进*/
margin: 1em 0em 0em 0em; /*上下各有0.5em的外边距*/
text-align: justify; /*两边对齐*/
display: block;
margin: 1em 2em 1em 2em; /*中文两边各缩进两个字*/
/*文字字号*/
font-size: 1em;
/*文字居中*/
text-align: center;
/*文字加粗*/
font-weight: bold;
/*超链接去掉下划线*/
a {
text-decoration: none;
}
/*超链接去掉下划线*/
a href=... style="text-decoration: none;"
.calibre7 {
display: block;
line-height: 1.5em;
text-indent: 2em;
margin: 1em 0em 0em 0em;
text-align: justify;
}
.calibre8 {
color: rgb(120, 120, 120);
display: block;
font-family: "PingFang SC";
font-size: 0.6em;
text-indent: 0em;
font-weight: bold;
text-align: center;
}
.duokan-footnote-content {
display: block;
font-family: "STFangsong", serif;
font-weight: bold;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
text-align: justify; /*两边对齐*/
font-size: 0.8em;
line-height: 1.2em;
margin-bottom: 0.5em;
margin-left: 2.5em;
margin-right: 4em;
margin-top: 1em;
padding-bottom: 0;
padding-right: 0;
padding-top: 0;
padding-left: 1.2em;
border-top-width: 0px;
border-bottom-width: 0px;
border-left-width: 1px;
border-right-width: 0px;
border-radius: 0em;
border-style: solid;
border-color: #000000;
}
/*中文段左侧有竖线*/
border-top-width: 0px;
border-bottom-width: 0px;
border-left-width: 1px;
border-right-width: 0px;
border-radius: 0em;
border-style: solid;
border-color: #000000;
/*右上角注释*/
sup{
font-size: 0.7em; /*正文字体大小,默认是16px*/
line-height: 1em; /*行高1.5em,标准正文字的1.5倍*/
position: relative;
top: -1px; /*向上移动5px*/
}
/*添加字体*/
@font-face {
src: url(将此更改为相对路径:OEBPS/楷体_GB2312.ttf);
font-family: "KaiTi_GB2312";
font-weight: normal;
font-style: normal;
font-stretch: normal;
}
@font-face {
src: url(将此更改为相对路径:times.ttf);
font-family: "Times New Roman";
font-weight: normal;
font-style: normal;
font-stretch: normal;
}
@font-face {
src: url(将此更改为相对路径:OEBPS/仿宋_GB2312.ttf);
font-family: "FangSong_GB2312";
font-weight: normal;
font-style: normal;
font-stretch: normal;
}

附录:css样式大全
https://zhuanlan.zhihu.com/p/109935874

法国
顿时
很实用