diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..359bb53 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml diff --git a/.idea/SinkDark.iml b/.idea/SinkDark.iml new file mode 100644 index 0000000..909438d --- /dev/null +++ b/.idea/SinkDark.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..212a436 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..a971a2c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..fd12696 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/myblog/static/css/base.css b/myblog/static/css/base.css index db5df3c..f7d8f8f 100644 --- a/myblog/static/css/base.css +++ b/myblog/static/css/base.css @@ -1,7 +1,13 @@ -@charset "gb2312"; +@charset "UTF-8"; /* css */ * { margin: 0; padding: 0 } -body { font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif; color: #555; background: #efefef; line-height: 1.5; } +body { + font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif; /* 设置字体大小和字体族 */ + background-image: url('../images/盐湖.png'); /* 设置背景图片 */ + line-height: 1.5; /* 设置行高为字体大小的1.5倍 */ + background-size: cover; /* 背景图片覆盖整个元素区域,可能会被裁剪以保持宽高比 */ + background-repeat: no-repeat; /* 背景图片不重复 */ +} img { border: 0; display: block } ul, li { list-style: none; } a { text-decoration: none; color: #555 } diff --git a/myblog/templates/base.html b/myblog/templates/base.html index 030bd10..01d88b9 100644 --- a/myblog/templates/base.html +++ b/myblog/templates/base.html @@ -60,8 +60,7 @@

站长推荐