This commit is contained in:
2023-02-28 14:02:39 +08:00
commit 9b86baa44f
170 changed files with 29943 additions and 0 deletions

47
src/assets/css/mixin.styl Normal file
View File

@@ -0,0 +1,47 @@
$green = #30EBC9
$yellow = #E2BB0E
$gray = #516282
$orange = #F96700
$green2 = #65d837
.green
background-color $green
.yellow
background-color $yellow
.gray
background-color $gray
.orange
background-color $orange
.green2
background-color $green2
//
_wh(w, h)
width: w
height: h
//
_font(size,height,color=#ffffff,weight=normal,align=center)
font-size: size
line-height: height
color: color
font-weight: weight
text-align: align
//
_bis(url,w=100%,h=100%,x=center,y=center,r=no-repeat)
background-position: x y
background-size: w h
background-image: url(url)
background-repeat: r
//
_shadow(w,c)
filter drop-shadow(w 0 0 c)
//flex
_fj(c=column, x=space-between,y=center)
display: flex
flex-direction: c
justify-content: x
align-items: y