Grid columns are symmetrical. From the outside in, they are: - outer margin - inner margin - wide gutter - inner gutter - main content
44 lines
768 B
CSS
44 lines
768 B
CSS
|
|
.content {
|
|
.heading {
|
|
align-items: center;
|
|
gap: 0.25em;
|
|
display: flex;
|
|
}
|
|
|
|
.heading__anchor {
|
|
/* font-family: var(--font-family-monospace); */
|
|
font-size: 60%;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.codeblock {
|
|
font-family: var(--font-family-monospace);
|
|
overflow: auto;
|
|
}
|
|
}
|
|
|
|
.content-title {
|
|
margin-block: var(--space-xl) var(--space-l);
|
|
|
|
/* margin-block-start is handled by the grid */
|
|
&:first-child, &:first-child .title {
|
|
margin-block-start: 0;
|
|
}
|
|
|
|
.title:has(+ .subtitle) {
|
|
margin-block-end: var(--space-xs);
|
|
}
|
|
|
|
.title:not(:has(+ .subtitle)), .subtitle {
|
|
margin-block-end: var(--space-m);
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--gray3);
|
|
}
|
|
|
|
.content-date {
|
|
margin-block-end: var(--space-paragraph);
|
|
}
|
|
}
|