trwnh.com/unified.test.hugo/assets/styles/layouts/_default/list.scss

58 lines
971 B
SCSS
Raw Permalink Normal View History

2024-10-05 19:56:14 +00:00
.layout-_default-list {
2024-10-05 06:27:07 +00:00
.list-header {
hr {display: none;}
.container {
2024-10-18 07:33:33 +00:00
max-inline-size: 80ch;
margin-inline: auto;
}
2024-10-05 06:27:07 +00:00
}
.list-title {
margin-block-start: 0;
font-size: 2.025rem;
line-height: 1.15;
letter-spacing: -0.022rem;
grid-area: title;
2024-10-05 06:27:07 +00:00
}
.list-author {}
.list-summary {
font-style: italic;
font-size: 1.266rem;
line-height: 1.15;
letter-spacing: -0.022rem;
margin-block-start: 0.5rem;
grid-area: summary;
}
2024-10-05 06:27:07 +00:00
.list-content {}
.list-permalink {
.u-url {font-family: monospace;}
}
2024-10-16 05:34:37 +00:00
.list-alt-formats {
.path {font-family: monospace;}
p {
margin-block-end: 0;
}
.alt-formats-list {
margin-block-start: 0;
&-item {
margin-block: 0;
a {}
}
}
}
2024-10-05 06:27:07 +00:00
.list-pages {
2024-10-18 07:33:33 +00:00
max-inline-size: 80ch;
margin-inline: auto;
.pages-list {
2024-10-12 18:45:14 +00:00
list-style: none;
padding-inline-start: 0;
2024-10-18 07:33:33 +00:00
&-item {
margin-inline-start: 0;
2024-10-12 18:45:14 +00:00
}
2024-10-05 06:27:07 +00:00
}
}
@media (min-width: 400px) {
.container {
padding: 0 2em;
}
}
2024-10-05 06:27:07 +00:00
}