.ajouter-un-album { @include respond-to("small") { display: block; padding: 0 .75rem; } .list { margin-top: 2rem; .item{ padding: 0.5rem 0.75rem; border-bottom: 1px solid #dbdbdb; @include respond-to("large") { &:nth-child(2n) { background-color: #fafafa; } } @include respond-to("large-up") { border-left: 1px solid #dbdbdb; &:first-child, &:nth-child(2) { border-top: 1px solid #dbdbdb; } &:nth-child(2n), &:last-child { border-right: 1px solid #dbdbdb; margin-right: -1px; } } .title { font-weight: 800; font-size: 1.4rem; } .grid { margin-top: 0.75rem; } img { border: 2px solid #4a4a4a; cursor: pointer; } } } .items { span { margin-right: 0.6rem; &::after { content: ","; } &:last-child { &::after { margin-right: 0; content: ""; } } } } }