2024-10-11 09:43:02 +00:00
|
|
|
@import "../../mixins/shadow.scss";
|
|
|
|
|
2024-10-05 19:56:14 +00:00
|
|
|
.layout-_default-single {
|
2024-10-05 06:27:07 +00:00
|
|
|
.page-header {
|
|
|
|
hr {display: none;}
|
|
|
|
.container {
|
|
|
|
max-width: 80ch;
|
|
|
|
margin-inline: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.page-title {
|
|
|
|
margin-block-start: 0;
|
|
|
|
font-size: 2.025rem;
|
|
|
|
line-height: 1.15;
|
|
|
|
letter-spacing: -0.022rem;
|
|
|
|
grid-area: title;
|
|
|
|
}
|
|
|
|
.page-summary {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 1.266rem;
|
|
|
|
line-height: 1.15;
|
|
|
|
letter-spacing: -0.022rem;
|
|
|
|
margin-block-start: 0.5rem;
|
|
|
|
grid-area: summary;
|
|
|
|
}
|
|
|
|
.page-author {
|
|
|
|
grid-area: author;
|
|
|
|
margin-block: 0;
|
|
|
|
}
|
|
|
|
.page-date {
|
|
|
|
grid-area: date;
|
|
|
|
margin-block-end: 0;
|
|
|
|
}
|
2024-10-12 18:45:14 +00:00
|
|
|
.page-inreplyto {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
gap: 0.5em;
|
|
|
|
align-items: center;
|
|
|
|
.reply-icon {
|
|
|
|
background: var(--ui-overlay);
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
padding: 0.25em;
|
|
|
|
border-radius: 100em;
|
|
|
|
}
|
|
|
|
}
|
2024-10-05 06:27:07 +00:00
|
|
|
.page-permalink {
|
|
|
|
margin-block-end: 0;
|
|
|
|
align-self: end;
|
2024-10-15 08:09:14 +00:00
|
|
|
.u-url {font-family: monospace;}
|
2024-10-05 06:27:07 +00:00
|
|
|
}
|
2024-10-16 05:34:37 +00:00
|
|
|
.page-syndication {
|
|
|
|
p {margin-block-end: 0;}
|
|
|
|
.syndication-list {
|
|
|
|
margin-block-start: 0;
|
|
|
|
&-item {
|
|
|
|
margin-block: 0;
|
|
|
|
.u-syndication {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-11 09:43:02 +00:00
|
|
|
.page-series {
|
2024-10-16 05:34:37 +00:00
|
|
|
hr {display: none;}
|
2024-10-11 09:43:02 +00:00
|
|
|
// background: var(--ui-overlay);
|
|
|
|
// color: var(--ui-overlay-text);
|
|
|
|
.container {
|
|
|
|
max-width: 80ch;
|
|
|
|
margin-inline: auto;
|
|
|
|
}
|
|
|
|
&__hint {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
.series {
|
|
|
|
list-style: none;
|
|
|
|
padding-inline-start: 1em;
|
|
|
|
.current-post {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.series-post {
|
|
|
|
margin-block: 0.5em;
|
|
|
|
&__part {
|
|
|
|
margin-inline-end: 0.5em;
|
|
|
|
}
|
|
|
|
&__title {
|
|
|
|
|
|
|
|
}
|
|
|
|
&__link {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-05 06:27:07 +00:00
|
|
|
.page-content {
|
2024-10-15 08:09:14 +00:00
|
|
|
width: 100%;
|
2024-10-05 06:27:07 +00:00
|
|
|
max-width: 80ch;
|
|
|
|
margin-inline: auto;
|
|
|
|
}
|
2024-10-16 05:34:37 +00:00
|
|
|
.page-footer {
|
|
|
|
hr {display: none;}
|
|
|
|
width: 100%;
|
|
|
|
max-width: 80ch;
|
|
|
|
margin-inline: auto;
|
|
|
|
#footnotes h2 {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 900;
|
|
|
|
text-transform: uppercase;
|
|
|
|
position: relative;
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset-inline-end: 0;
|
|
|
|
inset-block-start: calc(50% - 1px);
|
|
|
|
background: var(--ui-overlay);
|
|
|
|
block-size: 1px;
|
|
|
|
inline-size: calc(100% - 12ch);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-11 09:43:02 +00:00
|
|
|
.page[has-toc] {
|
|
|
|
padding-block-end: 4em;
|
|
|
|
}
|
2024-10-15 08:09:14 +00:00
|
|
|
.page > .table-of-contents {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-10-06 21:50:17 +00:00
|
|
|
#toc-toggle {
|
|
|
|
display: none;
|
2024-10-15 08:09:14 +00:00
|
|
|
&:checked ~ .table-of-contents {
|
2024-10-06 21:50:17 +00:00
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 10;
|
2024-10-16 05:34:37 +00:00
|
|
|
inset-block-end: 6em;
|
2024-10-15 08:09:14 +00:00
|
|
|
height: max-content;
|
2024-10-11 09:43:02 +00:00
|
|
|
width: 80%;
|
|
|
|
max-width: 20em;
|
2024-10-15 08:09:14 +00:00
|
|
|
max-height: #{min}(40em, 70vh);
|
2024-10-06 21:50:17 +00:00
|
|
|
overflow-y: scroll;
|
2024-10-16 05:34:37 +00:00
|
|
|
inset-inline-end: 1em;
|
2024-10-06 21:50:17 +00:00
|
|
|
background: var(--ui-overlay);
|
2024-10-11 09:43:02 +00:00
|
|
|
border-radius: 1em;
|
|
|
|
@include shadow-low;
|
2024-10-15 08:09:14 +00:00
|
|
|
padding-inline: 1em;
|
2024-10-11 09:43:02 +00:00
|
|
|
> .container {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2024-10-06 21:50:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
label[for="toc-toggle"] {
|
|
|
|
position: fixed;
|
2024-10-16 05:34:37 +00:00
|
|
|
inset-block-end: 1em;
|
|
|
|
inset-inline-end: 1em;
|
2024-10-06 21:50:17 +00:00
|
|
|
z-index: 5;
|
|
|
|
background: var(--ui-overlay);
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: 100em;
|
|
|
|
width: 6em;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2024-10-11 09:43:02 +00:00
|
|
|
@include shadow-low;
|
|
|
|
}
|
|
|
|
#toc-toggle ~ label[for="toc-toggle"] {
|
|
|
|
|
|
|
|
}
|
|
|
|
#toc-toggle:checked ~ label[for="toc-toggle"] {
|
|
|
|
|
2024-10-06 21:50:17 +00:00
|
|
|
}
|
|
|
|
#toc-toggle__label-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#toc-toggle:checked ~ #toc-toggle__label-hide {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
#toc-toggle:checked ~ #toc-toggle__label-show {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 400px) {
|
|
|
|
.container {
|
|
|
|
padding: 0 2em;
|
|
|
|
}
|
|
|
|
}
|
2024-10-06 04:56:30 +00:00
|
|
|
@media (min-width: 60rem) {
|
2024-10-06 21:50:17 +00:00
|
|
|
label[for="toc-toggle"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-10-06 04:56:30 +00:00
|
|
|
.container {padding: 0;}
|
|
|
|
.page[has-toc] {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr minmax(37em, 80ch) minmax(17em, 20em) 1fr;
|
2024-10-16 05:34:37 +00:00
|
|
|
grid-template-rows: auto auto auto;
|
2024-10-06 04:56:30 +00:00
|
|
|
gap: 2em;
|
2024-10-11 09:43:02 +00:00
|
|
|
padding-block-end: unset;
|
2024-10-06 04:56:30 +00:00
|
|
|
.page-header {
|
|
|
|
grid-column: 1 / span 4;
|
|
|
|
grid-row: 1;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr minmax(37em, 80ch) minmax(17em, 20em) 1fr;
|
|
|
|
gap: 2em;
|
|
|
|
.container {
|
|
|
|
max-width: unset;
|
|
|
|
grid-column: 2 / span 2;
|
|
|
|
}
|
|
|
|
}
|
2024-10-15 08:09:14 +00:00
|
|
|
.table-of-contents {
|
2024-10-06 04:56:30 +00:00
|
|
|
display: block;
|
|
|
|
grid-column: 3;
|
2024-10-16 05:34:37 +00:00
|
|
|
grid-row: 2 / span 2;
|
2024-10-06 04:56:30 +00:00
|
|
|
position: sticky;
|
2024-10-16 05:34:37 +00:00
|
|
|
inset-block-start: 2em;
|
2024-10-06 04:56:30 +00:00
|
|
|
align-self: start;
|
|
|
|
justify-self: start;
|
|
|
|
max-width: unset;
|
2024-10-06 21:50:17 +00:00
|
|
|
border-inline-start: thin solid var(--ui-overlay);
|
2024-10-11 09:43:02 +00:00
|
|
|
padding-inline: 2em;
|
|
|
|
max-height: 90vh;
|
|
|
|
overflow-y: auto;
|
|
|
|
scrollbar-color: var(--ui-text) var(--ui-overlay);
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
background-color: var(--ui-text)
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
background-color: var(--ui-overlay)
|
|
|
|
}
|
2024-10-06 04:56:30 +00:00
|
|
|
}
|
|
|
|
.page-content {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 2;
|
|
|
|
max-width: unset;
|
2024-10-16 05:34:37 +00:00
|
|
|
padding-block-start: 0.5rem;
|
|
|
|
padding-block-end: 0;
|
2024-10-06 04:56:30 +00:00
|
|
|
.toc {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2024-10-16 05:34:37 +00:00
|
|
|
.page-footer {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 3;
|
|
|
|
max-width: unset;
|
|
|
|
#footnotes h2 {margin-block-start: 0;}
|
|
|
|
padding-block: 0;
|
|
|
|
}
|
2024-10-06 04:56:30 +00:00
|
|
|
}
|
|
|
|
}
|
2024-10-05 06:27:07 +00:00
|
|
|
}
|