From 2beb638121209b7d7779fb4b289b4f8482d07aa3 Mon Sep 17 00:00:00 2001 From: crossdark Date: Tue, 17 Sep 2024 18:02:39 +0800 Subject: [PATCH] ? --- .idea/.gitignore | 3 +++ .idea/SinkDark.iml | 8 ++++++++ .idea/inspectionProfiles/Project_Default.xml | 12 ++++++++++++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ myblog/static/css/base.css | 10 ++++++++-- myblog/templates/base.html | 3 +-- 9 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/SinkDark.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml 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 @@

站长推荐