添加段宁、小濑字体
This commit is contained in:
parent
f8530fce03
commit
232e3624cb
@ -1,8 +1,16 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DuanNing'; /* 定义字体名称 */
|
||||||
|
src: url('../fonts/段宁毛笔小楷.ttf') format('truetype'); /* 指定字体文件路径和格式 */
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'SetoFont'; /* 定义字体名称 */
|
||||||
|
src: url('../fonts/小濑字体.ttf') format('truetype'); /* 指定字体文件路径和格式 */
|
||||||
|
}
|
||||||
/* css */
|
/* css */
|
||||||
* { margin: 0; padding: 0 }
|
* { margin: 0; padding: 0 }
|
||||||
body {
|
body {
|
||||||
font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif; /* 设置字体大小和字体族 */
|
font: 15px "DuanNing", "Microsoft YaHei", Arial, Helvetica, sans-serif; /* 设置字体大小和字体族 */
|
||||||
background-image: url('../images/盐湖.png'); /* 设置背景图片 */
|
background-image: url('../images/盐湖.png'); /* 设置背景图片 */
|
||||||
line-height: 1.5; /* 设置行高为字体大小的1.5倍 */
|
line-height: 1.5; /* 设置行高为字体大小的1.5倍 */
|
||||||
background-size: cover; /* 背景图片覆盖整个元素区域,可能会被裁剪以保持宽高比 */
|
background-size: cover; /* 背景图片覆盖整个元素区域,可能会被裁剪以保持宽高比 */
|
||||||
|
BIN
SinkDark/publicStatic/fonts/小濑字体.ttf
Normal file
BIN
SinkDark/publicStatic/fonts/小濑字体.ttf
Normal file
Binary file not shown.
BIN
SinkDark/publicStatic/fonts/段宁毛笔小楷.ttf
Normal file
BIN
SinkDark/publicStatic/fonts/段宁毛笔小楷.ttf
Normal file
Binary file not shown.
@ -74,7 +74,15 @@
|
|||||||
<div class="m_box">
|
<div class="m_box">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
<div class="r_box">右侧内容</div>
|
<div class="r_box">
|
||||||
|
<div class="tools">
|
||||||
|
<h2>小工具</h2>
|
||||||
|
<ul>
|
||||||
|
<a href="https://blog.csdn.net/" target="new">CSDN博客</a>
|
||||||
|
<a href="https://zhihu.com" target="new">知乎</a>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<a href="#" class="cd-top">Top</a>
|
<a href="#" class="cd-top">Top</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user