1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-13 16:45:14 +01:00
blog/_src/_assets/styl/content-featured.styl

33 lines
616 B
Stylus

//
// kremalicious3
// --------------
// Content - Featured Posts
//
.featured
@extend .divider-bottom
padding-top: $line-height-computed
@media $breakpoint2
padding-top: ($line-height-computed*2)
padding-bottom: $line-height-computed
.featured-link
display: block
margin-bottom: $line-height-computed
transition-property: none
@media $breakpoint2
margin-bottom: 0
&:hover
transform: scale(1.03)
.featured-title
@extend .visuallyhidden
.featured-image
display: block
margin-bottom: 0
box-shadow: 0 1px 3px rgba(0,0,0,.2)