2026-01-21 19:24:23 -08:00
|
|
|
.topic {
|
|
|
|
|
margin: 4rem auto;
|
2026-01-07 14:42:15 -08:00
|
|
|
display: grid;
|
2026-01-21 19:24:23 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topic:nth-child(odd) {
|
2026-01-07 14:42:15 -08:00
|
|
|
grid-template:
|
2026-01-21 19:24:23 -08:00
|
|
|
'img h'
|
2026-01-07 14:42:15 -08:00
|
|
|
'img desc'
|
|
|
|
|
'img .';
|
2026-01-21 19:24:23 -08:00
|
|
|
grid-template-columns: 45% auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topic:nth-child(even) {
|
|
|
|
|
grid-template:
|
|
|
|
|
'h img'
|
|
|
|
|
'desc img'
|
|
|
|
|
'. img';
|
|
|
|
|
grid-template-columns: auto 45%;
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 19:24:23 -08:00
|
|
|
@media (max-width: 950px) {
|
|
|
|
|
.topic:nth-child(odd),
|
|
|
|
|
.topic:nth-child(even) {
|
2026-01-07 14:42:15 -08:00
|
|
|
grid-template:
|
|
|
|
|
'img'
|
2026-01-21 19:24:23 -08:00
|
|
|
'h'
|
2026-01-07 14:42:15 -08:00
|
|
|
'desc';
|
|
|
|
|
}
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 19:24:23 -08:00
|
|
|
.topic img {
|
|
|
|
|
grid-area: img;
|
|
|
|
|
border-radius: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 950px) {
|
|
|
|
|
.topic img {
|
|
|
|
|
border-radius: 1rem 1rem 0 0;
|
|
|
|
|
border-bottom: .25rem solid var(--color-accent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topic h1,
|
|
|
|
|
.topic h2 {
|
2026-01-07 14:42:15 -08:00
|
|
|
margin: 0;
|
2026-01-21 19:24:23 -08:00
|
|
|
grid-area: h;
|
2026-01-07 14:42:15 -08:00
|
|
|
border-bottom: .25rem solid var(--color-accent);
|
2026-01-21 19:24:23 -08:00
|
|
|
padding: .25rem;
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 19:24:23 -08:00
|
|
|
.topic:nth-child(odd) h2 {
|
|
|
|
|
padding-left: .75rem;
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 19:24:23 -08:00
|
|
|
.topic:nth-child(even) h2 {
|
|
|
|
|
text-align: right;
|
|
|
|
|
padding-right: .75rem;
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-21 19:24:23 -08:00
|
|
|
@media (max-width: 950px) {
|
|
|
|
|
.topic:nth-child(odd) h2,
|
|
|
|
|
.topic:nth-child(even) h2 {
|
|
|
|
|
padding: .25rem 0;
|
2026-01-07 14:42:15 -08:00
|
|
|
}
|
2026-01-21 19:24:23 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topic .desc {
|
|
|
|
|
grid-area: desc;
|
|
|
|
|
background-color: var(--color-bg-alt);
|
|
|
|
|
border-radius: 0 0 1rem 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topic:nth-child(odd) .desc {
|
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topic:nth-child(even) .desc {
|
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
|
}
|
2026-01-02 09:37:47 -08:00
|
|
|
|
2026-01-21 19:24:23 -08:00
|
|
|
@media (max-width: 950px) {
|
|
|
|
|
.topic:nth-child(odd) .desc,
|
|
|
|
|
.topic:nth-child(even) .desc {
|
2026-01-07 14:42:15 -08:00
|
|
|
margin: 0;
|
|
|
|
|
}
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-07 08:35:47 -08:00
|
|
|
.contact ul {
|
2026-01-07 14:42:15 -08:00
|
|
|
background-color: var(--color-bg-alt);
|
|
|
|
|
border-radius: 0 0 1rem 1rem;
|
2026-01-07 08:35:47 -08:00
|
|
|
}
|
|
|
|
|
|
2026-01-02 09:37:47 -08:00
|
|
|
.contact {
|
2026-01-07 14:42:15 -08:00
|
|
|
margin-top: 4rem;
|
|
|
|
|
text-align: center;
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contact li {
|
2026-01-07 14:42:15 -08:00
|
|
|
list-style: none;
|
2026-01-02 09:37:47 -08:00
|
|
|
}
|