From 76fbff7ab47cfcbe54469d9042045fa70c874ed1 Mon Sep 17 00:00:00 2001 From: SigureMo Date: Thu, 24 Oct 2019 17:27:32 +0800 Subject: [PATCH] feat: add backgroud color for card --- styles/recoConfig.styl | 1 + styles/theme.styl | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/styles/recoConfig.styl b/styles/recoConfig.styl index 4fb6633..15face2 100644 --- a/styles/recoConfig.styl +++ b/styles/recoConfig.styl @@ -2,6 +2,7 @@ $boxShadow = 0 1px 6px 0 rgba(0, 0, 0, 0.2) $boxShadowHover = 0 2px 16px 0 rgba(0, 0, 0, 0.2) $textShadow = 0 2px 4px rgba(0, 0, 0, 0.1); $borderRadius = .25rem +$backgroundColor = #fff $themePicker = { red: #f26d6d, diff --git a/styles/theme.styl b/styles/theme.styl index 251a61d..4156431 100644 --- a/styles/theme.styl +++ b/styles/theme.styl @@ -29,7 +29,6 @@ body left 0 right 0 height $navbarHeight - background-color #fff box-sizing border-box .sidebar-mask @@ -296,3 +295,26 @@ th, td .search-box input border-radius: $borderRadius + +/********* 悬浮卡片背景颜色 **********/ + +.navbar + background $backgroundColor + .links + background $backgroundColor + +.home-blog + .home-blog-wrapper + .info-wrapper + background $backgroundColor + +.abstract-item + background $backgroundColor + +.category-wrapper + .category-item + background $backgroundColor + +.pagation + .jump + background $backgroundColor \ No newline at end of file