feat: labelled grids added to remark

This commit is contained in:
Lewis Wynne 2026-01-24 02:01:10 +00:00
parent 6df10d904f
commit d3893f5e3a
2 changed files with 57 additions and 1 deletions

View file

@ -34,6 +34,32 @@ h1, h2, h3, h4, h5, h6 {
}
}
div.grid {
display: grid;
grid-template-columns: minmax(2.375rem, min-content) 1fr;
gap: 0.625rem 0.75rem;
row-gap: 0.625rem;
line-height: 1.25;
margin-bottom: 2rem;
margin-top: 0;
}
div.grid .label {
display: block;
margin-top: 0.375rem;
margin-block: 0;
white-space: nowrap;
font-variant-numeric: tabular-nums;
line-height: 1.4;
text-align: right;
color: #888;
font-style: italic;
}
div.grid .content {
display: block;
}
details {
margin: 1rem 0;
}