General figure and list element styles

This commit is contained in:
Eryn Wells 2024-07-23 08:55:59 -07:00
parent 329a73a6e8
commit 3837e77d63
2 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{{/*
figures.css
Eryn Wells <eryn@erynwells.me>
*/}}
/**********
* FIGURES
**********/
.figure--image {
display: grid;
grid-column: wide-gutter-start / wide-gutter-end;
grid-template-columns: subgrid;
img {
grid-column: wide-gutter-start / wide-gutter-end;
}
}
figcaption {
color: var(--gray4);
font-weight: normal;
font-size: var(--text-xs);
letter-spacing: 0.01em;
grid-column: main-start / main-end;
}