42 lines
874 B
SCSS
42 lines
874 B
SCSS
|
.list {
|
||
|
margin-top: 2rem;
|
||
|
|
||
|
.item{
|
||
|
padding: 0.5rem 0.75rem;
|
||
|
border-bottom: 1px solid #dbdbdb;
|
||
|
|
||
|
@include respond-to("medium") {
|
||
|
&:nth-child(2n) {
|
||
|
background-color: #fafafa;
|
||
|
}
|
||
|
}
|
||
|
@include respond-to("medium-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;
|
||
|
max-width: 90%;
|
||
|
}
|
||
|
}
|
||
|
}
|