@use 'tokens' as *; @use 'mixins' as *; .reading-content { min-width: 0; color: var(--reading-ink); [hidden] { display: none; } } .reading-meta { @include flex($gap: space(2) space(4), $wrap: wrap); color: #939393; @include pixel-type; } .page-meta { @include list-reset; &[hidden] { display: none; } li { @include flex($display: inline-flex, $wrap: wrap); max-width: 100%; } li + li:not(.meta-categories)::before { content: $metadata-separator; margin-right: space(4); color: $dim-ink; } .meta-separator { margin: 0 0.15em; &::before { content: $metadata-separator; } } .meta-categories { flex-basis: 100%; margin-top: 0.25em; padding-inline-start: 0.625em; border-inline-start: 0.125em solid var(--accent); color: $soft-ink; } } .reading-content h1 { @include type(var(--title-size), 1.05); letter-spacing: initial; margin: space(6) 0 space(8); outline: none; text-wrap: balance; } .reading-cursor { display: inline-block; @include size(4px, 0.6em); background: var(--accent); margin-left: space(4); animation: cursor 3.2s steps(1) infinite; } .reading-body, .reading-entry > p { @include type(var(--body-size), var(--body-leading)); overflow-wrap: break-word; } .reading-body { > p { margin-bottom: space(6); } img, video { display: block; max-width: 100%; height: auto; } h2 { margin: space(10) 0 space(5); @include type(2.6em, 1.2em); letter-spacing: initial; } h3 { margin: space(8) 0 space(4); @include type(2em, 1.2em); } strong { font-weight: 500; color: $emphasis-ink; } em { font-style: italic; } ul, ol { padding-left: space(6); margin: 0 0 space(6); } li + li { margin-top: space(2); } li::marker { color: $dim-ink; } :is(code, pre, kbd, samp) { font-family: var(--font-mono); font-weight: 300; } code { font-size: $code-size; color: #d8d8d8; background: #ffffff09; padding: 0.125em space(1); } pre { overflow-x: auto; padding: space(5); margin: space(6) 0; border-left: 1px solid $soft-line; background: #ffffff05; font-size: $code-size; line-height: $body-leading; } pre code { background: none; font-size: inherit; padding: 0; } a { color: #c5c5c5; @include underline(#6e6e6e); } a:hover { color: var(--accent); text-decoration-color: var(--accent); } blockquote { margin: space(8) 0 space(8) space(4); padding-left: space(6); border-left: 1px solid #707070; color: #929292; } } .author-links { @include flex($gap: space(3) space(6), $wrap: wrap); margin: space(8) 0; @include pixel-type; a { @include flex($display: inline-flex, $gap: space(1)); } } .author-profile .feature-frame { max-width: 28rem; } .profile-writing { > h2 { @include type(1.75rem, 1.2); margin-bottom: space(4); } .reading-entry { padding: space(5) 0; } .reading-entry h3 { @include type(1.375rem, 1.25); margin: space(2) 0; } } .reading-entry { padding: space(8) 0; border-top: 1px solid #404040; } .reading-entry :is(h2, h3) { @include type(2.25rem, 2.5rem); letter-spacing: initial; margin: space(3) 0 space(4); } .reading-entry :is(h2, h3) a { display: inline; } .entry-arrow { white-space: nowrap; } .reading-entry .pixel-icon { vertical-align: middle; } .reading-entry :is(h2, h3) a:hover { color: var(--accent); } .reading-entry > p { color: #a0a0a0; } .reading-body hr { height: 1px; border: 0; background: #454545; margin: space(10) 0; } @include below($mobile) { :root { --title-size: #{$mobile-title-size}; --body-size: 0.9375rem; } .reading-content h1 { margin-top: space(5); margin-bottom: space(6); } .reading-entry :is(h2, h3) { @include type(1.875rem, 2.25rem); } .profile-writing { > h2 { font-size: 1.5rem; } .reading-entry h3 { @include type(1.25rem, 1.3); } } .reading-body { h2 { @include type(1.875rem, 2.25rem); } h3 { @include type(1.625rem, 2rem); } } } .reading-body :is(h4, h5, h6) { margin: space(7) 0 space(4); @include type(1.5rem, 1.875rem); }