From c316f96a1fd23f32861c06cf40a99ca6658837df Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Mon, 14 Nov 2022 23:52:03 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20package.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ea6bc6d9..6995bec3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "halo-theme-hao", - "version": "1.0.0-alpha.2", + "version": "1.0.0-alpha.5", "dependencies": { } } From 445be573ecd578930305fb2e246060082d2bb510 Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Tue, 15 Nov 2022 00:31:07 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BD=AE=E9=A1=B6?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 10 +++++----- templates/modules/post-list.html | 7 +++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 3a6a98d6..df66ab4b 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -8902,19 +8902,19 @@ li { -webkit-box-orient: vertical; } -.recent-post-item .recent-post-info .recent-post-info-top .lastestpost { - display: none; -} +/*.recent-post-item .recent-post-info .recent-post-info-top .pinned-post {*/ +/* display: none;*/ +/*}*/ @media screen and (min-width: 1300px) { - #recent-posts > .recent-post-item:nth-child(2) .lastestpost { + #recent-posts > .recent-post-item .pinned-post { display: flex; color: var(--heo-lighttext); font-size: 0.5rem; position: relative; } - #recent-posts .recent-post-item.lastestpost-item .recent-post-info-top { + #recent-posts .recent-post-item.pinned-post-item .recent-post-info-top { padding-top: 16px; } diff --git a/templates/modules/post-list.html b/templates/modules/post-list.html index 33ce45f5..b5276778 100644 --- a/templates/modules/post-list.html +++ b/templates/modules/post-list.html @@ -6,7 +6,10 @@
@@ -29,7 +32,7 @@