hexo/node_modules/hexo-theme-fluid/source/css/_mixins/base.styl

24 lines
743 B
Stylus
Raw Normal View History

2023-10-03 11:14:36 +08:00
/* */
anchor-offset()
&::before
display block
content ""
margin-top -5rem
height 5rem
width 1px
visibility hidden
/* */
ground-glass($px, $bg-color, $alpha)
/* backdrop-filter */
@supports (-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px))
&
background rgba(convert($bg-color), $alpha)
-webkit-backdrop-filter blur($px)
backdrop-filter blur($px)
/* 使 */
@supports not ((-webkit-backdrop-filter: blur($px)) or (backdrop-filter: blur($px)))
&
background rgb(convert($bg-color))