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

40 lines
696 B
Plaintext

/////////////////////////////////////
// Sticky posts styles
/////////////////////////////////////
.sticky {
.divider-bottom;
padding-top: @line-height-computed;
padding-bottom: @line-height-computed;
@media @breakpoint2 {
padding-bottom: @line-height-computed*3;
}
}
.sticky-link {
display: block;
margin-bottom: @line-height-computed;
.transition-property(none);
@media @breakpoint2 {
margin-bottom: 0;
&:hover {
.scale(1.03);
}
}
}
.sticky-title {
.h6;
font-size: .8em;
margin: 0;
.visuallyhidden;
}
.sticky-image {
display: block;
img { margin-bottom: 0; }
}