From be62d2550fed6dffbb920b9c1c6cbc051a959487 Mon Sep 17 00:00:00 2001 From: Z Date: Sun, 17 Nov 2019 16:57:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=83=8C=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/styles/thu/diff.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/javascript/styles/thu/diff.scss b/app/javascript/styles/thu/diff.scss index 0e5070c69..ecd3977a9 100644 --- a/app/javascript/styles/thu/diff.scss +++ b/app/javascript/styles/thu/diff.scss @@ -13,21 +13,29 @@ body { background: rgba(73, 58, 99, 1) url(https://www.tsinghua.edu.cn/publish/thu2018/images/footer.jpg) no-repeat fixed; background-size: cover; background-attachment: fixed; + background-position: center; + height: 100vh !important; } body.app-body { background: rgba(73, 58, 99, 1) url(https://www.tsinghua.edu.cn/publish/thu2018/images/footer.jpg) no-repeat fixed; background-size: cover; background-attachment: fixed; + background-position: center; + height: 100vh !important; } body.about-body { background: rgba(73, 58, 99, 1) url(https://www.tsinghua.edu.cn/publish/thu2018/images/footer.jpg) no-repeat fixed; background-size: cover; background-attachment: fixed; + background-position: center; + height: 100vh !important; } body.admin { background: rgba(73, 58, 99, 1) url(https://www.tsinghua.edu.cn/publish/thu2018/images/footer.jpg) no-repeat fixed; background-size: cover; background-attachment: fixed; + background-position: center; + height: 100vh !important; } .regeneration-indicator { background: rgba(73, 58, 99, 1) url(https://www.tsinghua.edu.cn/publish/thu2018/images/footer.jpg) no-repeat fixed;