From b7947467e1ce0c4721e2741e05e77c576f6891e6 Mon Sep 17 00:00:00 2001 From: first19326 <870390039@qq.com> Date: Fri, 10 Nov 2023 23:54:42 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20logo=20?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Message.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/Message.vue b/src/components/Message.vue index 228758d..b130630 100644 --- a/src/components/Message.vue +++ b/src/components/Message.vue @@ -92,12 +92,13 @@ watch( flex-direction: row; align-items: center; animation: fade 0.5s; + max-width: 460px; .logo-img { border-radius: 50%; width: 120px; } .name { - width: calc(460px - 120px); + width: 100%; padding-left: 22px; transform: translateY(-8px); font-family: "Pacifico-Regular"; @@ -125,6 +126,10 @@ watch( } } } + + @media (max-width: 720px) { + max-width: 100%; + } } .description { From 704d446328d97255000a962055142d3e1277efe2 Mon Sep 17 00:00:00 2001 From: first19326 <870390039@qq.com> Date: Sat, 11 Nov 2023 21:17:29 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E5=8A=A0=E8=BD=BD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/style.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/style/style.scss b/src/style/style.scss index e7f6a3d..82701eb 100644 --- a/src/style/style.scss +++ b/src/style/style.scss @@ -38,11 +38,13 @@ p { // 字体文件 @font-face { font-family: "Pacifico-Regular"; + font-display: swap; src: url("/font/Pacifico-Regular.ttf") format("truetype"); } @font-face { font-family: "UnidreamLED"; + font-display: swap; src: url("/font/UnidreamLED.ttf") format("truetype"); } From 3c2bc226ff6f096f4fae1cfb418d7e2f80851ef3 Mon Sep 17 00:00:00 2001 From: imsyy Date: Mon, 13 Nov 2023 09:19:31 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 4487658..856d4c9 100644 --- a/.env +++ b/.env @@ -3,7 +3,7 @@ VITE_SITE_NAME = "無名の主页" # 名称 VITE_SITE_ANTHOR = "無名" # 作者 VITE_SITE_KEYWORDS = "無名,个人主页" # 关键词 VITE_SITE_DES = "一个默默无闻的主页" # 站点简介 -VITE_SITE_URL = "jmsyy.top" # 站点地址 +VITE_SITE_URL = "imsyy.top" # 站点地址 VITE_SITE_LOGO = "/images/icon/favicon.ico" # 站点主图标 VITE_SITE_MAIN_LOGO = "/images/icon/logo.png" # 主页图标 VITE_SITE_APPLE_LOGO = "/images/logo/apple-touch-icon.png" # Apple 端图标 diff --git a/README.md b/README.md index 135e3f6..529469d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ![無名の主页](https://s2.loli.net/2022/07/14/K5JigfvDoNewtuS.webp) ->主页的 Logo 字体已经过压缩,若用本站 Logo 以外的字母会变回默认字体,这里是 [完整字体](https://file.imsyy.top/font/Other/Pacifico-Regular.ttf) +>主页的 Logo 字体已经过压缩,若用本站 Logo 以外的字母会变回默认字体,这里是 [完整字体](https://file.imsyy.top/font/Other/Pacifico-Regular.ttf),若无法下载,可将字体目录下的 `Pacifico-Regular-all.ttf` 进行替换 ### Demo