1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-11 23:55:16 +01:00
blog/_src/_assets/styl/content-related.styl

54 lines
965 B
Stylus
Raw Normal View History

2014-07-12 21:22:47 +02:00
//
// kremalicious3
// --------------
// Content - Related Posts
//
.related-posts
.row
margin-top: 0
.related-posts-title
@extend .heading-band, .h3
margin-bottom: $line-height-computed
.related-post
.post-title
2014-07-13 00:11:03 +02:00
@extend .h5
2014-07-12 21:22:47 +02:00
margin-top: $line-height-computed
margin-bottom: $line-height-computed
.post-title,
.post-title-link
2014-07-13 00:11:03 +02:00
@extend .transition
2014-07-12 21:22:47 +02:00
color: $brand-grey-light
&:hover,
&:focus
color: $link-color
&:active
color: #fff
transition: none
.post-title-link
display: block
//
// Related Photos
//
.related-photos
@extend .divider-top
margin-top: $line-height-computed*2
2015-06-14 01:28:46 +02:00
.photo-link
display: block
margin-bottom: 15%
border: 2px solid transparent
&:hover,
&:focus
border-color: $link-color-hover
border-radius: $border-radius-base