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

35 lines
590 B
Stylus
Raw Normal View History

2014-07-12 21:22:47 +02:00
//
// kremalicious3
// --------------
// Content - Featured Posts
//
.featured
@extend .divider-bottom
2015-08-18 20:55:30 +02:00
padding-bottom: ($line-height-computed*2)
2014-07-12 21:22:47 +02:00
@media $breakpoint2
2015-08-18 19:51:49 +02:00
padding-bottom: ($line-height-computed*3)
.grid
margin-bottom: 0
2014-07-12 21:22:47 +02:00
2015-08-20 20:06:14 +02:00
@media $breakpoint2
.grid__col
padding-top: 0
2014-07-12 21:22:47 +02:00
.featured-link
display: block
@media $breakpoint2
&:hover
transform: scale(1.03)
.featured-title
@extend .visuallyhidden
.featured-image
display: block
2015-08-02 21:15:22 +02:00
margin-bottom: 0
box-shadow: 0 1px 3px rgba(0,0,0,.2)