From 600ab6f2c86a22829b9213c5237fa0cbcba0661a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 23 Oct 2021 21:13:49 +0800 Subject: [PATCH] style: update home page. --- template/index.ejs | 2 +- template/styl/index.styl | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/template/index.ejs b/template/index.ejs index fa15264bb6..3095891f06 100644 --- a/template/index.ejs +++ b/template/index.ejs @@ -1,5 +1,5 @@ <%- include('partial/header'); %> -
+
<%- include('widget/search',{type: "home"}); %> <%- include('widget/footer',{type: "home"}); %>
diff --git a/template/styl/index.styl b/template/styl/index.styl index b33e0ccfae..c61b8283ea 100644 --- a/template/styl/index.styl +++ b/template/styl/index.styl @@ -40,6 +40,16 @@ a { 40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)} } +.warpper { + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + .footer { + padding-bottom: 280px; + } +} + .header { width 517px margin 0 auto 0