2016-11-29 15:50:50 +00:00
|
|
|
mixin grid
|
2016-11-29 03:37:36 +00:00
|
|
|
horizontal-wrap
|
2016-11-28 16:06:00 +00:00
|
|
|
justify-content center
|
|
|
|
|
2016-11-29 15:50:50 +00:00
|
|
|
mixin grid-cell
|
2016-11-28 16:06:00 +00:00
|
|
|
position relative
|
|
|
|
|
|
|
|
flex-grow 0
|
|
|
|
flex-shrink 0
|
|
|
|
|
|
|
|
width 16vw
|
|
|
|
height 9vw
|
|
|
|
min-width 90px
|
|
|
|
min-height 127px
|
|
|
|
max-width 200px
|
|
|
|
max-height 282px
|
|
|
|
border-radius 3px
|
|
|
|
|
|
|
|
background-size cover
|
|
|
|
background-position 50% 50%
|
|
|
|
|
|
|
|
margin 0.5rem
|
|
|
|
|
2016-11-29 15:50:50 +00:00
|
|
|
mixin grid-text
|
|
|
|
vertical
|
|
|
|
width 100%
|
|
|
|
height 100%
|
|
|
|
align-items center
|
|
|
|
justify-content center
|
|
|
|
font-size 1rem
|
|
|
|
color rgb(160, 160, 160)
|
2016-11-28 16:06:00 +00:00
|
|
|
|
2016-11-29 15:50:50 +00:00
|
|
|
mixin grid-image
|
2016-11-28 16:06:00 +00:00
|
|
|
width 100%
|
|
|
|
height 100%
|
2016-11-29 15:50:50 +00:00
|
|
|
border-radius 3px
|
|
|
|
object-fit cover
|
|
|
|
|
|
|
|
mixin grid-icon
|
|
|
|
font-size 2.5rem
|
|
|
|
margin-top 2rem
|
|
|
|
margin-bottom 0.7rem
|
|
|
|
color link-color
|
|
|
|
|
|
|
|
mixin flip-card
|
|
|
|
:hover
|
|
|
|
.front
|
|
|
|
transform rotateY(180deg)
|
|
|
|
opacity 0
|
|
|
|
.back
|
|
|
|
transform rotateY(0deg)
|
|
|
|
opacity 1
|
2016-11-28 16:06:00 +00:00
|
|
|
|
|
|
|
.front
|
|
|
|
position absolute
|
|
|
|
left 0
|
|
|
|
top 0
|
|
|
|
opacity 1
|
2016-11-29 15:50:50 +00:00
|
|
|
transition all transition-speed ease
|
2016-11-28 16:06:00 +00:00
|
|
|
|
|
|
|
.back
|
|
|
|
position absolute
|
|
|
|
left 0
|
|
|
|
top 0
|
|
|
|
opacity 0
|
2016-11-29 15:50:50 +00:00
|
|
|
transition all transition-speed ease
|
|
|
|
transform rotateY(180deg)
|