2022-02-23 08:41:30 +01:00
|
|
|
.list {
|
2022-03-01 16:09:46 +01:00
|
|
|
margin: 2rem 0;
|
2022-02-23 08:41:30 +01:00
|
|
|
|
|
|
|
.item{
|
|
|
|
padding: 0.5rem 0.75rem;
|
2022-03-08 09:42:20 +01:00
|
|
|
border-bottom: 2px solid var(--border-color);
|
|
|
|
background-color: var(--bg-alternate-color);
|
2022-03-01 16:09:46 +01:00
|
|
|
@include transition() {}
|
2022-02-23 08:41:30 +01:00
|
|
|
|
|
|
|
@include respond-to("medium") {
|
|
|
|
&:nth-child(2n) {
|
2022-03-01 16:09:46 +01:00
|
|
|
background-color: var(--default-color);
|
2022-02-23 08:41:30 +01:00
|
|
|
}
|
2022-03-08 09:42:20 +01:00
|
|
|
border: none;
|
2022-02-23 08:41:30 +01:00
|
|
|
}
|
2022-03-08 09:42:20 +01:00
|
|
|
|
2022-02-23 08:41:30 +01:00
|
|
|
@include respond-to("medium-up") {
|
2022-03-08 09:42:20 +01:00
|
|
|
border-left: 2px solid var(--border-color);
|
2022-02-23 08:41:30 +01:00
|
|
|
|
2022-03-07 16:35:28 +01:00
|
|
|
&:nth-child(4n),
|
|
|
|
&:nth-child(4n-1)
|
|
|
|
{
|
|
|
|
background-color: var(--default-color);
|
|
|
|
}
|
|
|
|
|
2022-04-09 00:33:16 +02:00
|
|
|
&:nth-child(4n),
|
|
|
|
&:nth-child(4n-1)
|
|
|
|
{
|
|
|
|
background-color: var(--default-color);
|
|
|
|
}
|
|
|
|
|
2022-02-23 08:41:30 +01:00
|
|
|
&:first-child,
|
|
|
|
&:nth-child(2) {
|
2022-03-08 09:42:20 +01:00
|
|
|
border-top: 2px solid var(--border-color);
|
2022-02-23 08:41:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2n),
|
|
|
|
&:last-child {
|
2022-03-08 09:42:20 +01:00
|
|
|
border-right: 2px solid var(--border-color);
|
|
|
|
margin-right: -2px;
|
2022-02-23 08:41:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-weight: 800;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid {
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2022-03-01 16:09:46 +01:00
|
|
|
border: 2px solid var(--font-color);
|
2022-02-23 08:41:30 +01:00
|
|
|
max-width: 90%;
|
|
|
|
}
|
|
|
|
}
|
2022-03-07 16:58:02 +01:00
|
|
|
|
|
|
|
&.hover {
|
|
|
|
.item:hover {
|
|
|
|
background-color: var(--border-color);
|
|
|
|
}
|
|
|
|
}
|
2022-02-23 08:41:30 +01:00
|
|
|
}
|