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

24 lines
720 B
Stylus
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* */
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))