diff --git a/nonebot_plugin_xjie_weather/src/css/fonts/AlimamaShuHeiTi-Bold.woff2 b/nonebot_plugin_xjie_weather/src/css/fonts/AlimamaShuHeiTi-Bold.woff2 new file mode 100644 index 0000000..eec1ec9 Binary files /dev/null and b/nonebot_plugin_xjie_weather/src/css/fonts/AlimamaShuHeiTi-Bold.woff2 differ diff --git a/nonebot_plugin_xjie_weather/src/css/fonts/iconfont.woff2 b/nonebot_plugin_xjie_weather/src/css/fonts/iconfont.woff2 new file mode 100644 index 0000000..4b3e4b4 Binary files /dev/null and b/nonebot_plugin_xjie_weather/src/css/fonts/iconfont.woff2 differ diff --git a/nonebot_plugin_xjie_weather/src/css/style.css b/nonebot_plugin_xjie_weather/src/css/style.css index 2025b8c..5c4d64b 100644 --- a/nonebot_plugin_xjie_weather/src/css/style.css +++ b/nonebot_plugin_xjie_weather/src/css/style.css @@ -3,11 +3,19 @@ html, body, div, span, ul, li{ padding: 0; box-sizing: border-box; } +@font-face { + font-family: 'AlimamaShuHeiTi-Bold'; + src: url('./fonts/AlimamaShuHeiTi-Bold.woff2') format("woff2"),; +} +@font-face { + font-family: 'iconfont'; + src: url('./fonts/iconfont.woff2') format('woff2'); +} body{ + font-family: 'AlimamaShuHeiTi-Bold', 'iconfont'; background-color: #CCFFFF; display: flex; justify-content: center; - } li{ list-style: none; diff --git a/nonebot_plugin_xjie_weather/src/index.html b/nonebot_plugin_xjie_weather/src/index.html index 5c5038c..c51034d 100644 --- a/nonebot_plugin_xjie_weather/src/index.html +++ b/nonebot_plugin_xjie_weather/src/index.html @@ -13,7 +13,7 @@
{{ content }}
-
{{ temperature }}℃
+
{{ temperature }}
{{ weather }}
{{ name }}
diff --git a/pyproject.toml b/pyproject.toml index 82ba651..8a6bcad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot-plugin-xjie-weather" -version = "1.1.13" +version = "1.1.14" description = "A little weather plugin" authors = ["AwAjie <139576615+ajdgg@users.noreply.github.com>"]