// @import '~mixin'

// 关于iconfont地址 - 详见REMARK.md
@font-face
  @font-face
    font-family: 'iconfont' /* Project id 1745121 */
    src: url('//at.alicdn.com/t/font_1745121_30tzyohgb96.woff2?t=1620482834924') format('woff2'), url('//at.alicdn.com/t/font_1745121_30tzyohgb96.woff?t=1620482834924') format('woff'), url('//at.alicdn.com/t/font_1745121_30tzyohgb96.ttf?t=1620482834924') format('truetype')
// 使用iconfont
m-iconfont($color = $-iconfont-color, $fontSize = $-iconfont-fontSize)
  font-family: 'iconfont' !important
  font-style: normal
  -webkit-font-smoothing: antialiased
  -webkit-text-stroke-width: 0.2px
  -moz-osx-font-smoothing: grayscale
  font-size: $fontSize
  color: $color
// 设置背景图
m-background-image($imageUrl)
  width: 100%
  height: 100%
  overflow: hidden
  background-image: url($imageUrl)
  background-repeat: no-repeat
  background-position: center
  background-size: cover
  z-index: 0
  zoom: 1
// 高度无效 / 非全屏时
m-background-image-contain($imageUrl)
  m-background-image($imageUrl)
    background-size: 100%
