1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00
blog/_src/assets/less/sticky.less

39 lines
656 B
Plaintext
Raw Normal View History

/////////////////////////////////////
2013-12-01 18:40:48 +01:00
// Sticky posts styles
/////////////////////////////////////
2013-12-01 18:40:48 +01:00
.sticky {
.divider-bottom;
padding-bottom: @line-height-computed;
@media @breakpoint2 {
padding-bottom: @line-height-computed*3;
}
}
2013-12-01 18:40:48 +01:00
.sticky-link {
display: block;
margin-bottom: @line-height-computed;
2013-11-24 00:24:04 +01:00
.transition-property(none);
@media @breakpoint2 {
margin-bottom: 0;
&:hover {
.scale(1.03);
}
}
}
2013-12-01 18:40:48 +01:00
.sticky-title {
.h6;
font-size: .8em;
margin: 0;
.visuallyhidden;
}
2013-12-01 18:40:48 +01:00
.sticky-image {
display: block;
2013-11-24 00:24:04 +01:00
img { margin-bottom: 0; }
}