From 95f22aa4b5b8634d9b10431ae5ac1a4de1b584e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E6=AA=8E?= Date: Thu, 13 Apr 2017 20:42:35 +0800 Subject: [PATCH] add drop shadow to distinct the fixed area --- cps/static/css/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cps/static/css/style.css b/cps/static/css/style.css index c336bf16..6ac2c046 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -21,12 +21,13 @@ a{color: #45b29d}a:hover{color: #444;} .container-fluid .book .meta .author{font-size:12px;color:#999} .container-fluid .book .meta .rating{margin-top:5px}.rating .glyphicon-star{color:#999}.rating .glyphicon-star.good{color:#45b29d} .navbar-brand{font-family: 'Grand Hotel', cursive; font-size: 35px; color: #45b29d !important;} -.more-stuff{margin-top: 20px;padding-top: 20px;border-top: 1px solid #ccc} -@media all and (min-height: 25em){ +.more-stuff{margin-top: 20px; padding-top: 20px;border-top: 1px solid #ccc} +@media all and (min-height: 100vh){ .more-stuff{ position: fixed; bottom: 2em; height: 20vh; + filter:drop-shadow(1em 1em 1em black); } body { padding-bottom: 20vh;