From 2b973a1ae992bb2501a159fa91b097712bfbe567 Mon Sep 17 00:00:00 2001 From: meethigher Date: Mon, 25 May 2020 11:30:17 +0800 Subject: [PATCH] =?UTF-8?q?2020-5-25=E4=BC=98=E5=8C=96=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84=E6=98=BE=E7=A4=BA=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/layout.ejs | 4 ++-- layout/tag.ejs | 2 +- source/css/_partial/layout.less | 2 +- source/css/_partial/reset.less | 4 ++-- source/css/_partial/var.less | 1 + source/js/meethigher.js | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/layout/layout.ejs b/layout/layout.ejs index 26cfb7c..5e275f0 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -3,11 +3,11 @@ <%- partial("_partial/head") %> <%- partial("_partial/header") %> +<%- partial("_partial/particles") %> +<%- partial("_partial/tool") %>
<%- body %>
-<%- partial("_partial/tool") %> -<%- partial("_partial/particles") %> <%- js("https://cdn.jsdelivr.net/gh/meethigher/cdn@9.0/js/jquery.min.js") %> <%- js("https://cdn.jsdelivr.net/gh/meethigher/cdn@9.0/js/particles.min.js") %> <%- js("https://cdn.jsdelivr.net/gh/meethigher/cdn@9.0/js/app.js") %> diff --git a/layout/tag.ejs b/layout/tag.ejs index f6e71d0..65aeb66 100644 --- a/layout/tag.ejs +++ b/layout/tag.ejs @@ -20,5 +20,5 @@ <% } %> - <%- partial("_partial/paginator") %> +<%- partial("_partial/paginator") %> \ No newline at end of file diff --git a/source/css/_partial/layout.less b/source/css/_partial/layout.less index b1bd0f1..5721726 100644 --- a/source/css/_partial/layout.less +++ b/source/css/_partial/layout.less @@ -17,7 +17,7 @@ margin: 50px auto 0; overflow: hidden; font-size: @font-size; - + opacity:0; a { transition: all 0.3s ease !important; diff --git a/source/css/_partial/reset.less b/source/css/_partial/reset.less index 1237fb2..a68594b 100644 --- a/source/css/_partial/reset.less +++ b/source/css/_partial/reset.less @@ -19,8 +19,8 @@ } html, body { - width: 100%; - height: 100%; + width:100%; + height:100%; } body { diff --git a/source/css/_partial/var.less b/source/css/_partial/var.less index 29e5a59..5cea91e 100644 --- a/source/css/_partial/var.less +++ b/source/css/_partial/var.less @@ -9,6 +9,7 @@ @font-size:17px; @font:Consolas,sans-serif; @colorDiy:#13172F; +@linearColor:linear-gradient(rgb(19,23,47)10%,rgb(24,51,100)); @colorBar:transparent; @colorBg:transparent; @colorFont:#F3F3F5; diff --git a/source/js/meethigher.js b/source/js/meethigher.js index 8ae8ed0..c23af02 100644 --- a/source/js/meethigher.js +++ b/source/js/meethigher.js @@ -4,7 +4,6 @@ // let top=window.scrollY; // top-=50; // window.scrollTo(0,top); - // }; $(function () { let $menu = $(".header-menu"); @@ -22,6 +21,7 @@ $(function () { let src=$(".post-btn img").attr("src"); printDefaultLog(); + $mainContent.animate({"opacity":"1"}); $donationBtn.on("click",function (){ layer.open({ type: 1,