46 lines
734 B
CSS
46 lines
734 B
CSS
{{/*
|
|
structure.css
|
|
Eryn Wells <eryn@erynwells.me>
|
|
vim: set sw=2 sts=2:
|
|
*/}}
|
|
|
|
|
|
|
|
|
|
/*************************
|
|
# CONTENT AREA STRUCTURE
|
|
************************/
|
|
|
|
:root {
|
|
--content-width: 40rem;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
main {
|
|
/* Center the content and ensure a minimum margin. The calculation in the
|
|
* second argument does what `auto` would do if it could be used in max(). */
|
|
margin-inline: max(var(--space-s), 50% - var(--content-width) / 2);
|
|
max-width: var(--content-width);
|
|
}
|
|
|
|
figure, img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.content-term-list {
|
|
display: flex;
|
|
list-style: none;
|
|
padding-inline: 0;
|
|
|
|
li:not(:last-child) {
|
|
margin-inline-end: var(--space-s);
|
|
}
|
|
}
|