我们在做电子书或者网页版面设计的时候,经常为页面的样式犯愁。为此,在下面整理了一些样式,以应付不时之需。
注:如果是使用eXeLearning进行编辑,则需要将这段代码拷贝到以下路径:
C:\Program Files (x86)\exe\scripts\exe_effects\exe_effects.css
分割线样式 (paragraph-line)
.paragraph-line {
line-height: 38px;
border-top: 1px solid #C0DCC0;
padding-top: 10px;
text-indent: 2em;
font-size: 1.5em;
letter-spacing: 1px;
}
上述样式的效果如下图所示:
image.png
仿宋样式(fangsong)
.fangsong {
font-size: large;
font-weight: bold;
font-family: 仿宋;
color:rgb(51, 102, 255);
letter-spacing:0.1px;
line-height:28.8px;
margin-bottom:5px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
text-indent:20px;
text-shadow:none;
word-spacing:0.3px;
}
效果如下图所示:
image.png