tidy up notes index page

This commit is contained in:
2025-05-24 22:37:41 +01:00
parent a8b6d8674b
commit ab30cc0e38
5 changed files with 73 additions and 30 deletions

View File

@@ -1,16 +1,23 @@
/* Assumes there is at most one level of subheading for sub-dividing entries */
.h-feed :is(h2, h3, h4, h5, h6) {
margin-block-start: var(--spacing-block-md);
.skip-to {
display: inline-block;
margin-block-start: var(--spacing-block-xs);
}
.h-feed .h-entry {
margin-block-start: var(--spacing-block-xs);
.skip-to ul {
margin-block-start: var(--spacing-block-xs);
}
.h-feed .full-feed-link {
text-align: end;
.skip-to :is(ul, li) {
display: inline-block;
list-style-type: disc;
}
.h-feed :is(a.full-feed-link, .full-feed-link a)::after {
content: ' >'
.skip-to li:last-of-type {
list-style: none;
}
.h-entry {
outline: 0.125rem solid var(--colour-primary-fg);
outline-offset: 1rem;
border-radius: 0.25rem;
}