2025-06-16 16:31:53 +03:00
|
|
|
:root {
|
|
|
|
--thumb: 16rem;
|
2025-06-11 09:36:54 +03:00
|
|
|
}
|
|
|
|
#artworks {
|
|
|
|
& ul {
|
|
|
|
display: grid;
|
2025-06-16 16:31:53 +03:00
|
|
|
grid-template-columns: repeat(
|
|
|
|
auto-fill,
|
|
|
|
minmax(min(var(--thumb), 100%), 1fr)
|
|
|
|
);
|
2025-06-11 09:36:54 +03:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2025-06-16 16:31:53 +03:00
|
|
|
gap: var(--pad-l);
|
2025-06-11 09:36:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
& h2 {
|
2025-06-16 16:31:53 +03:00
|
|
|
margin: var(--pad-xl) 0;
|
|
|
|
font-size: var(--pad-xl);
|
2025-06-11 09:36:54 +03:00
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& a {
|
|
|
|
display: block;
|
|
|
|
text-decoration: unset;
|
|
|
|
& figure {
|
|
|
|
margin: 0;
|
2025-06-16 16:31:53 +03:00
|
|
|
padding: var(--pad-sm);
|
2025-06-11 09:36:54 +03:00
|
|
|
border-width: 2px;
|
|
|
|
border-style: solid;
|
2025-06-11 13:54:09 +03:00
|
|
|
border-radius: var(--round);
|
2025-06-11 09:36:54 +03:00
|
|
|
& img {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2025-06-16 16:31:53 +03:00
|
|
|
height: var(--thumb);
|
2025-06-11 09:36:54 +03:00
|
|
|
border-bottom: unset;
|
|
|
|
object-fit: contain;
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
& figcaption {
|
|
|
|
font-family: Urbanist, sans-serif;
|
2025-06-16 16:31:53 +03:00
|
|
|
font-size: var(--pad-lm);
|
2025-06-11 09:36:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-06-16 16:31:53 +03:00
|
|
|
#art {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
h3 {
|
|
|
|
font-family: "Urbanist", sans-serif;
|
2025-06-11 13:54:09 +03:00
|
|
|
}
|
2025-06-16 16:31:53 +03:00
|
|
|
& section:has(a:nth-child(n + 2)) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: var(--pad-l);
|
|
|
|
}
|
|
|
|
& section {
|
|
|
|
margin: var(--pad-l) 0;
|
2025-06-11 09:36:54 +03:00
|
|
|
& a {
|
2025-06-16 16:31:53 +03:00
|
|
|
display: flex;
|
|
|
|
height: max-content;
|
|
|
|
text-decoration: none;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& time {
|
|
|
|
display: flex;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
& a {
|
|
|
|
max-width: var(--post);
|
|
|
|
width: fit-content;
|
|
|
|
& figure {
|
|
|
|
max-width: inherit;
|
2025-06-11 09:36:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-06-16 16:31:53 +03:00
|
|
|
@media screen and (max-width: 920px) {
|
|
|
|
#art section {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
#art section:has(a:nth-child(n + 2)) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|