2020-05-31 21:17:10 +02:00
|
|
|
.list-background-setting {
|
|
|
|
|
2020-06-03 21:01:47 +02:00
|
|
|
.unsplash-link {
|
|
|
|
text-align: right;
|
|
|
|
font-size: .8rem;
|
|
|
|
|
|
|
|
a {
|
2021-01-23 18:18:09 +01:00
|
|
|
color: $grey-800;
|
2020-06-03 21:01:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-31 21:17:10 +02:00
|
|
|
.image-search-result {
|
2021-01-23 18:18:09 +01:00
|
|
|
margin-top: 1rem;
|
2020-05-31 21:17:10 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
|
|
|
.image {
|
2021-01-23 18:18:09 +01:00
|
|
|
width: calc(100% / 5 - 1rem);
|
2020-05-31 21:17:10 +02:00
|
|
|
height: 120px;
|
2021-01-23 18:18:09 +01:00
|
|
|
margin: .5rem;
|
2020-05-31 21:17:10 +02:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
@media screen and (min-width: $desktop) {
|
2020-07-03 19:37:20 +02:00
|
|
|
&:nth-child(5n) {
|
2020-05-31 21:17:10 +02:00
|
|
|
page-break-after: always; // CSS 2.1 syntax
|
|
|
|
break-after: always; // New syntax
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $desktop) {
|
2021-01-23 18:18:09 +01:00
|
|
|
width: calc(100% / 4 - 1rem);
|
2020-05-31 21:17:10 +02:00
|
|
|
|
|
|
|
&:nth-child(4n) {
|
|
|
|
page-break-after: always; // CSS 2.1 syntax
|
|
|
|
break-after: always; // New syntax
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
2021-01-23 18:18:09 +01:00
|
|
|
width: calc(100% / 2 - 1rem);
|
2020-05-31 21:17:10 +02:00
|
|
|
|
|
|
|
&:nth-child(2n) {
|
|
|
|
page-break-after: always; // CSS 2.1 syntax
|
|
|
|
break-after: always; // New syntax
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-17 21:44:44 +02:00
|
|
|
@media screen and (max-width: ($mobile)) {
|
2021-01-23 18:18:09 +01:00
|
|
|
width: calc(100% - 1rem);
|
2020-05-31 21:17:10 +02:00
|
|
|
|
|
|
|
&:nth-child(1n) {
|
|
|
|
page-break-after: always; // CSS 2.1 syntax
|
|
|
|
break-after: always; // New syntax
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
align-self: flex-end;
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
width: 100%;
|
2021-01-23 18:18:09 +01:00
|
|
|
padding: .25rem 0;
|
2020-05-31 21:17:10 +02:00
|
|
|
text-align: center;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
2021-01-23 18:18:09 +01:00
|
|
|
font-size: .75rem;
|
2020-05-31 21:17:10 +02:00
|
|
|
font-weight: bold;
|
|
|
|
color: $white;
|
|
|
|
transition: opacity $transition;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .info {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-load-more-button {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
}
|