Skip to content

Commit

Permalink
不兼容毛玻璃效果的浏览器显示为不透明
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoxuu committed Mar 13, 2020
1 parent c9118db commit c28f43a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
############################### Basic Information ###############################
info:
name: Volantis
version: '2.1.2'
version: '2.1.3'
docs: https://volantis.js.org/
cdn: # To use CDN, write 'use_cdn: true' in 'blog/_config.yml'.
css: https://cdn.jsdelivr.net/gh/xaoxuu/[email protected].2.1/css/style.css
js: https://cdn.jsdelivr.net/gh/xaoxuu/[email protected].2/js/app.js
css: https://cdn.jsdelivr.net/gh/xaoxuu/[email protected].3/css/style.css
js: https://cdn.jsdelivr.net/gh/xaoxuu/[email protected].3/js/app.js


############################### Style ###############################
Expand Down
12 changes: 4 additions & 8 deletions source/css/_defines/effect.styl
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ $boxshadow-float = 0 4px 8px 0px rgba(0, 0, 0, 0.1)
$textshadow = 0 1px 2px 0px rgba(0, 0, 0, 0.1)



// blur

// trans


.blur
background: alpha($color-card, .85) !important
backdrop-filter: blur(20px)
@supports (backdrop-filter: blur(20px))
background: alpha($color-card, .85) !important
backdrop-filter: saturate(200%) blur(20px)


.shadow
box-shadow: $boxshadow-card
Expand Down
1 change: 1 addition & 0 deletions source/css/_layout/cover.styl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
.cover-body
div.b
margin-top: 8vh
margin-bottom: 8vh
&.half
margin-bottom: -100px
max-height: 640px
Expand Down

0 comments on commit c28f43a

Please sign in to comment.