When page_summaries are rendered in sections by year, the year heading is an <h2> so these need to be <h3> for correct heading hierarchy.
53 lines
828 B
CSS
53 lines
828 B
CSS
|
|
|
|
|
|
|
|
|
|
/**************************
|
|
# COMPONENT: PAGE SUMMARY
|
|
**************************/
|
|
|
|
.page-summary {
|
|
grid-column: main-start / main-end;
|
|
|
|
p + & {
|
|
margin-block-start: var(--space-xl);
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
margin-block-end: var(--space-xl);
|
|
}
|
|
|
|
.page-summary__heading {
|
|
margin-block: 0 var(--space-xs);
|
|
font-size: var(--text-l);
|
|
|
|
h2, h3 {
|
|
line-height: 1;
|
|
margin-block: 0;
|
|
}
|
|
|
|
p {
|
|
font-size: var(--text-m);
|
|
margin-block-start: var(--space-xs);
|
|
}
|
|
|
|
a {
|
|
color: var(--text-color-body);
|
|
|
|
&:hover {
|
|
color: var(--text-color-link);
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-summary__subtitle {
|
|
color: var(--text-color-secondary);
|
|
font-family: var(--font-family-heading);
|
|
font-weight: normal;
|
|
}
|
|
|
|
> .tag {
|
|
font-size: var(--text-s);
|
|
}
|
|
}
|