tale/_sass/_catalogue.scss
2017-03-24 11:13:52 +08:00

39 lines
664 B
SCSS

.catalogue {
&-item {
border-bottom: 1px solid $grey-2;
color: $default-color;
display: inline-block;
padding: 2rem 0;
&:hover .catalogue-line,
&:focus .catalogue-line {
width: 5rem;
}
&:last-child {
border: 0;
}
}
&-time {
color: $default-tint;
font-family: $palatino;
letter-spacing: .5px;
}
&-title {
color: $default-shade;
display: block;
font-family: $sans-font;
font-size: 2rem;
font-weight: 700;
margin: .5rem 0;
}
&-line {
@include transition(all .3s ease-out);
border-top: .2rem solid $default-shade;
display: block;
width: 2rem;
}
}