MusicTopus/sass/list.scss
Damien Broqua a0f9ab1f45 issue/19 (#20)
!19

Co-authored-by: dbroqua <contact@darkou.fr>
Reviewed-on: dbroqua/MyMusicLibrary#20
Co-authored-by: Damien Broqua <dbroqua@noreply.localhost>
Co-committed-by: Damien Broqua <dbroqua@noreply.localhost>
2022-03-01 16:09:46 +01:00

47 lines
No EOL
1 KiB
SCSS

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