MusicTopus/sass/list.scss

43 lines
976 B
SCSS
Raw Normal View History

2022-02-23 08:41:30 +01:00
.list {
margin: 2rem 0;
2022-02-23 08:41:30 +01:00
.item{
padding: 0.5rem 0.75rem;
border-bottom: 1px solid var(--border-color);
@include transition() {}
2022-02-23 08:41:30 +01:00
@include respond-to("medium") {
&:nth-child(2n) {
background-color: var(--default-color);
2022-02-23 08:41:30 +01:00
}
}
@include respond-to("medium-up") {
border-left: 1px solid var(--border-color);
2022-02-23 08:41:30 +01:00
&:first-child,
&:nth-child(2) {
border-top: 1px solid var(--border-color);
2022-02-23 08:41:30 +01:00
}
&:nth-child(2n),
&:last-child {
border-right: 1px solid var(--border-color);
2022-02-23 08:41:30 +01:00
margin-right: -1px;
}
}
.title {
font-weight: 800;
font-size: 1.4rem;
}
.grid {
margin-top: 0.75rem;
}
img {
border: 2px solid var(--font-color);
2022-02-23 08:41:30 +01:00
max-width: 90%;
}
}
}