Skip to content

Commit 76fbff7

Browse files
committed
feat: add backgroud color for card
1 parent 04639cd commit 76fbff7

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

styles/recoConfig.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ $boxShadow = 0 1px 6px 0 rgba(0, 0, 0, 0.2)
22
$boxShadowHover = 0 2px 16px 0 rgba(0, 0, 0, 0.2)
33
$textShadow = 0 2px 4px rgba(0, 0, 0, 0.1);
44
$borderRadius = .25rem
5+
$backgroundColor = #fff
56

67
$themePicker = {
78
red: #f26d6d,

styles/theme.styl

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ body
2929
left 0
3030
right 0
3131
height $navbarHeight
32-
background-color #fff
3332
box-sizing border-box
3433

3534
.sidebar-mask
@@ -296,3 +295,26 @@ th, td
296295

297296
.search-box input
298297
border-radius: $borderRadius
298+
299+
/********* 悬浮卡片背景颜色 **********/
300+
301+
.navbar
302+
background $backgroundColor
303+
.links
304+
background $backgroundColor
305+
306+
.home-blog
307+
.home-blog-wrapper
308+
.info-wrapper
309+
background $backgroundColor
310+
311+
.abstract-item
312+
background $backgroundColor
313+
314+
.category-wrapper
315+
.category-item
316+
background $backgroundColor
317+
318+
.pagation
319+
.jump
320+
background $backgroundColor

0 commit comments

Comments
 (0)