2023-12-27 11:23:52 +01:00
|
|
|
.page {
|
|
|
|
display: grid;
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
grid-template-columns: 1fr minmax(auto, 50rem) 1fr;
|
|
|
|
grid-template-columns: 1fr min(92%, 50rem) 1fr;
|
|
|
|
grid-template-rows: auto 1fr auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header, .page-footer {
|
|
|
|
grid-column: 1 / span 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 1.5rem;
|
|
|
|
gap: 1rem;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 1rem;
|
|
|
|
justify-content: center;
|
2024-02-21 14:24:04 +01:00
|
|
|
|
2024-07-21 14:22:08 +02:00
|
|
|
img,
|
|
|
|
picture {
|
2023-12-27 11:23:52 +01:00
|
|
|
align-self: center;
|
2024-02-21 14:24:04 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Shrink too-wide / too-tall instance
|
|
|
|
icons to sensible proportions. Allow
|
|
|
|
pretty wide images but prevent things
|
|
|
|
getting too out of hand + looking bad.
|
|
|
|
*/
|
|
|
|
max-height: 4rem;
|
|
|
|
max-width: 16rem;
|
2023-12-27 11:23:52 +01:00
|
|
|
}
|
2024-02-21 14:24:04 +01:00
|
|
|
|
2023-12-27 11:23:52 +01:00
|
|
|
h1 {
|
|
|
|
align-self: center;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
word-wrap: anywhere;
|
|
|
|
color: $fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
margin: 0;
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
|
|
|
.count {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $fg-accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-28 22:01:50 +02:00
|
|
|
.page-header.large {
|
|
|
|
margin: 2rem 0;
|
|
|
|
a {
|
|
|
|
img, picture {
|
|
|
|
max-height: 6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content {
|
|
|
|
grid-column: 2;
|
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
|
2023-12-27 11:23:52 +01:00
|
|
|
.page-footer {
|
|
|
|
align-self: end;
|
2024-07-28 22:01:50 +02:00
|
|
|
margin-top: 3rem;
|
2023-12-27 11:23:52 +01:00
|
|
|
|
|
|
|
nav ul {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
/* Override list styling */
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
text-align: center;
|
|
|
|
padding: 1rem;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
.page-header {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2024-07-28 22:01:50 +02:00
|
|
|
}
|