.syn-code {
color: #c0c5ce;
background-color: #2b303b;
}
.syn-variable.syn-parameter.syn-function {
color: #c0c5ce;
}
.syn-comment, .syn-punctuation.syn-definition.syn-comment {
color: #65737e;
}
.syn-punctuation.syn-definition.syn-string, .syn-punctuation.syn-definition.syn-variable, .syn-punctuation.syn-definition.syn-string, .syn-punctuation.syn-definition.syn-parameters, .syn-punctuation.syn-definition.syn-string, .syn-punctuation.syn-definition.syn-array {
color: #c0c5ce;
}
.syn-none {
color: #c0c5ce;
}
.syn-keyword.syn-operator {
color: #c0c5ce;
}
.syn-keyword {
color: #b48ead;
}
.syn-variable, .syn-variable.syn-other.syn-dollar.syn-only.syn-js {
color: #bf616a;
}
.syn-entity.syn-name.syn-function, .syn-meta.syn-require, .syn-support.syn-function.syn-any-method, .syn-variable.syn-function {
color: #8fa1b3;
}
.syn-support.syn-class, .syn-entity.syn-name.syn-class, .syn-entity.syn-name.syn-type.syn-class {
color: #ebcb8b;
}
.syn-meta.syn-class {
color: #eff1f5;
}
.syn-keyword.syn-other.syn-special-method {
color: #8fa1b3;
}
.syn-storage {
color: #b48ead;
}
.syn-support.syn-function {
color: #96b5b4;
}
.syn-string, .syn-constant.syn-other.syn-symbol, .syn-entity.syn-other.syn-inherited-class {
color: #a3be8c;
}
.syn-constant.syn-numeric {
color: #d08770;
}
.syn-none {
color: #d08770;
}
.syn-none {
color: #d08770;
}
.syn-constant {
color: #d08770;
}
.syn-entity.syn-name.syn-tag {
color: #bf616a;
}
.syn-entity.syn-other.syn-attribute-name {
color: #d08770;
}
.syn-entity.syn-other.syn-attribute-name.syn-id, .syn-punctuation.syn-definition.syn-entity {
color: #8fa1b3;
}
.syn-meta.syn-selector {
color: #b48ead;
}
.syn-none {
color: #d08770;
}
.syn-markup.syn-heading .syn-punctuation.syn-definition.syn-heading, .syn-entity.syn-name.syn-section {
color: #8fa1b3;
}
.syn-keyword.syn-other.syn-unit {
color: #d08770;
}
.syn-markup.syn-bold, .syn-punctuation.syn-definition.syn-bold {
color: #ebcb8b;
font-weight: bold;
}
.syn-markup.syn-italic, .syn-punctuation.syn-definition.syn-italic {
color: #b48ead;
font-style: italic;
}
.syn-markup.syn-raw.syn-inline {
color: #a3be8c;
}
.syn-string.syn-other.syn-link {
color: #bf616a;
}
.syn-meta.syn-link {
color: #d08770;
}
.syn-meta.syn-image {
color: #d08770;
}
.syn-markup.syn-list {
color: #bf616a;
}
.syn-markup.syn-quote {
color: #d08770;
}
.syn-meta.syn-separator {
color: #c0c5ce;
background-color: #4f5b66;
}
.syn-markup.syn-inserted, .syn-markup.syn-inserted.syn-git_gutter {
color: #a3be8c;
}
.syn-markup.syn-deleted, .syn-markup.syn-deleted.syn-git_gutter {
color: #bf616a;
}
.syn-markup.syn-changed, .syn-markup.syn-changed.syn-git_gutter {
color: #b48ead;
}
.syn-markup.syn-ignored, .syn-markup.syn-ignored.syn-git_gutter {
color: #4f5b66;
}
.syn-markup.syn-untracked, .syn-markup.syn-untracked.syn-git_gutter {
color: #4f5b66;
}
.syn-constant.syn-other.syn-color {
color: #96b5b4;
}
.syn-string.syn-regexp {
color: #96b5b4;
}
.syn-constant.syn-character.syn-escape {
color: #96b5b4;
}
.syn-punctuation.syn-section.syn-embedded, .syn-variable.syn-interpolation {
color: #ab7967;
}
.syn-invalid.syn-illegal {
color: #2b303b;
background-color: #bf616a;
}
.syn-markup.syn-deleted.syn-git_gutter {
color: #f92672;
}
.syn-markup.syn-inserted.syn-git_gutter {
color: #a6e22e;
}
.syn-markup.syn-changed.syn-git_gutter {
color: #967efb;
}
.syn-markup.syn-ignored.syn-git_gutter {
color: #565656;
}
.syn-markup.syn-untracked.syn-git_gutter {
color: #565656;
}
:root {
--bg: #ffffff;
--bg-soft: #f7f7f7;
--bg-border: #e0e0e0;
--line: #e5e5e5;
--text: #1a1a1a;
--text-soft: #444444;
--text-faint: #777777;
--accent: #0066cc;
--display: Georgia, "Times New Roman", serif;
--body: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--body);
line-height: 1.7;
font-size: 18px;
-webkit-font-smoothing: antialiased;
}
::selection { background: #e0e0e0; color: #000; }
.wrap {
max-width: 72rem;
margin: 0 auto;
padding: 0 1.5rem;
}
.site-header {
border-bottom: 1px solid var(--line);
background: var(--bg);
}
.site-header .wrap {
height: 4.5rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}
.brand {
display: flex;
align-items: center;
gap: 1rem;
}
.site-title {
font-family: var(--display);
font-size: 1.75rem;
line-height: 1.2;
font-weight: 700;
margin: 0;
}
.site-title a {
color: var(--text);
text-decoration: none;
}
.site-title a:hover { opacity: 0.8; }
.site-tagline {
display: none;
color: var(--text-faint);
font-size: 0.85rem;
margin: 0;
}
.header-nav {
display: flex;
align-items: center;
gap: 1.5rem;
}
.header-nav a {
font-size: 0.9rem;
font-weight: 500;
color: var(--text-soft);
text-decoration: none;
transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--text); }
.header-nav a.active {
color: var(--text);
text-decoration: underline;
text-underline-offset: 4px;
}
.header-nav .rss-link {
display: flex;
align-items: center;
color: var(--text-faint);
transition: color 0.2s ease;
}
.header-nav .rss-link:hover {
color: var(--accent);
}
.header-nav .rss-icon {
display: block;
}
main.wrap {
padding-top: 2.5rem;
padding-bottom: 3rem;
}
.main-layout,
.archive-layout,
.home-layout,
.about-layout {
display: flex;
flex-direction: column;
gap: 2rem;
}
.main-col,
.archive-col,
.home-col,
.about-col {
flex: 1;
min-width: 0;
}
.sidebar,
.archive-sidebar,
.home-sidebar,
.about-sidebar {
display: none;
}
.sidebar-section {
padding-bottom: 1.5rem;
}
.sidebar-section + .sidebar-section {
margin-top: 2rem;
}
.sidebar-head {
padding-bottom: 0.5rem;
}
.sidebar-head h3 {
font-size: 0.85rem;
font-weight: 700;
color: var(--text-soft);
margin: 0;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--line);
}
.sidebar-head span {
font-size: 0.8rem;
color: var(--text-faint);
}
.sidebar-list {
list-style: none;
margin: 0;
padding: 0;
}
.sidebar-list li {
padding: 0.6rem 0;
}
.sidebar-list time {
display: block;
font-size: 0.75rem;
color: var(--text-faint);
margin-bottom: 0.2rem;
}
.sidebar-list a {
color: var(--text);
text-decoration: none;
transition: color 0.2s ease;
}
.sidebar-list a:hover { color: var(--text-soft); }
.sidebar-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.sidebar-tags .tag {
margin: 0;
}
.all-tags-link,
.all-posts-link {
display: inline-block;
margin-top: 1rem;
font-size: 0.85rem;
font-weight: 500;
color: var(--text-faint);
text-decoration: none;
transition: color 0.2s ease;
}
.all-tags-link:hover,
.all-posts-link:hover { color: var(--text); }
.featured-card {
display: block;
padding: 2rem;
border: 1px solid var(--bg-border);
border-radius: 8px;
background: var(--bg-soft);
text-decoration: none;
color: var(--text);
margin-bottom: 2rem;
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.featured-card:hover {
border-color: var(--text-faint);
background-color: #f0f0f0;
}
.featured-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.featured-meta span {
font-size: 0.8rem;
color: var(--text-faint);
}
.featured-meta .dot {
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--text-faint);
flex-shrink: 0;
}
.featured-title {
font-family: var(--display);
font-size: 2rem;
line-height: 1.2;
font-weight: 700;
margin: 0 0 0.75rem;
}
.featured-summary {
color: var(--text-soft);
font-size: 1.1rem;
margin: 0 0 1rem;
max-width: 40rem;
}
.featured-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.featured-tags .tag {
margin: 0;
}
.card-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
.post-card {
display: block;
padding: 1.5rem;
border: 1px solid var(--bg-border);
border-radius: 6px;
text-decoration: none;
color: var(--text);
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.post-card:hover {
border-color: var(--text-faint);
background-color: var(--bg-soft);
}
.post-card-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.post-card-meta time,
.post-card-meta span {
font-size: 0.75rem;
color: var(--text-faint);
}
.post-card-meta .dot {
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--text-faint);
flex-shrink: 0;
}
.post-card-title {
font-family: var(--display);
font-size: 1.4rem;
line-height: 1.3;
font-weight: 700;
margin: 0 0 0.5rem;
}
.post-card-summary {
color: var(--text-soft);
font-size: 0.95rem;
margin: 0 0 0.75rem;
max-width: 36rem;
}
.post-card-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.post-card-tags .tag {
margin: 0;
}
.topic-list {
list-style: none;
margin: 0;
padding: 0;
}
.topic-list li {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
padding: 0.6rem 0;
border-bottom: 1px solid var(--line);
}
.topic-list .tag-link {
color: var(--text);
text-decoration: none;
transition: color 0.2s ease;
}
.topic-list .tag-link:hover { color: var(--text-soft); }
.topic-list .tag-count {
font-size: 0.8rem;
color: var(--text-faint);
}
.post-list {
list-style: none;
margin: 0;
padding: 0;
}
.post-list li {
padding: 1.5rem 0;
border-bottom: 1px solid var(--line);
}
.post-list li:last-child {
border-bottom: none;
}
.post-date {
font-size: 0.8rem;
color: var(--text-faint);
margin: 0 0 0.5rem;
}
.post-title {
font-family: var(--display);
font-size: 1.6rem;
line-height: 1.3;
font-weight: 700;
margin: 0 0 0.5rem;
}
.post-title a {
color: var(--text);
text-decoration: none;
transition: color 0.2s ease;
}
.post-title a:hover { color: var(--text-soft); }
.post-summary {
color: var(--text-soft);
margin: 0;
max-width: 36rem;
font-size: 0.95rem;
}
.post-tags { margin-top: 0.75rem; }
.tag {
display: inline-block;
font-size: 0.8rem;
font-weight: 500;
color: var(--text-soft);
border: 1px solid var(--bg-border);
padding: 0.25rem 0.75rem;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
border-radius: 3px;
text-decoration: none;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tag:hover {
background: var(--text);
border-color: var(--text);
color: var(--bg);
}
.tag-head {
padding: 1.5rem 0 1rem;
border-bottom: 1px solid var(--bg-border);
margin-bottom: 1rem;
}
.tag-head h1 {
font-family: var(--display);
font-size: 2rem;
line-height: 1.2;
margin: 0 0 0.25rem;
font-weight: 700;
}
.tag-count {
color: var(--text-faint);
font-size: 0.85rem;
margin: 0;
}
.tag-list {
list-style: none;
margin: 0;
padding: 0;
}
.tag-list li {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 0;
border-bottom: 1px solid var(--line);
}
.tag-link {
color: var(--text);
text-decoration: none;
transition: color 0.2s ease;
}
.tag-link:hover { color: var(--text-soft); }
.tag-list .tag-count {
font-size: 0.8rem;
}
.post-head {
padding: 1rem 0 0;
margin-bottom: 1.5rem;
}
.post-head h1 {
font-family: var(--display);
font-size: 2.5rem;
line-height: 1.2;
margin: 0 0 0.5rem;
font-weight: 700;
}
.post-subtitle {
font-family: var(--display);
font-size: 1.25rem;
line-height: 1.4;
font-style: italic;
color: var(--text-soft);
max-width: 90%;
}
.post-meta-labels {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
}
.post-meta-labels span {
font-size: 0.8rem;
color: var(--text-soft);
}
.post-meta-labels .dot {
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--text-faint);
flex-shrink: 0;
}
.back-link {
font-size: 0.85rem;
color: var(--text-faint);
text-decoration: none;
display: inline-block;
margin-bottom: 1rem;
transition: color 0.2s ease;
}
.back-link:hover { color: var(--text); }
.article {
font-size: 1.05rem;
}
.article h2 {
font-family: var(--display);
font-size: 1.6rem;
font-weight: 700;
margin: 2rem 0 0.75rem;
line-height: 1.3;
}
.article h3 {
font-family: var(--display);
font-size: 1.3rem;
font-weight: 700;
margin: 1.5rem 0 0.5rem;
}
.article p { margin: 0 0 1.25rem; }
.article a {
color: var(--accent);
text-decoration: underline;
text-underline-offset: 2px;
}
.article a:hover { color: var(--text); }
.article ul, .article ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.article li { margin-bottom: 0.4rem; }
.article blockquote {
margin: 1.5rem 0;
padding: 0.2rem 0 0.2rem 1.5rem;
border-left: 3px solid var(--text-faint);
color: var(--text-soft);
font-style: italic;
}
.article code {
font-family: var(--mono);
font-size: 0.9em;
background: var(--bg-soft);
color: var(--text);
padding: 0.15em 0.4em;
border-radius: 3px;
border: 1px solid var(--bg-border);
}
.article pre {
background: var(--bg-soft);
border: 1px solid var(--bg-border);
border-radius: 6px;
padding: 1rem 1.25rem;
overflow-x: auto;
margin: 1.5rem 0;
line-height: 1.6;
font-family: var(--mono);
}
.article pre code {
background: none;
border: none;
color: var(--text);
padding: 0;
font-size: inherit;
}
.article table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
}
.article th, .article td {
border: 1px solid var(--bg-border);
padding: 0.5rem 0.75rem;
text-align: left;
}
.article th {
font-weight: 700;
background: var(--bg-soft);
}
.article tbody th {
font-size: inherit;
font-weight: 400;
background: none;
color: var(--text);
}
.article hr { border: none; border-top: 1px solid var(--bg-border); margin: 2rem 0; }
.post-nav {
margin-top: 2.5rem;
padding-top: 1.5rem;
border-top: 1px solid var(--bg-border);
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.post-nav-link {
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.75rem 1rem;
border: 1px solid var(--bg-border);
border-radius: 4px;
text-decoration: none;
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.post-nav-link:hover {
border-color: var(--text-faint);
background-color: var(--bg-soft);
}
.post-nav-label {
font-size: 0.8rem;
font-weight: 500;
color: var(--text-faint);
}
.post-nav-title {
font-family: var(--display);
font-size: 1rem;
line-height: 1.3;
color: var(--text);
}
.post-nav-next {
margin-left: auto;
text-align: right;
}
.about-intro {
padding: 1rem 0 0;
}
.about-portrait-wrap {
display: flex;
justify-content: center;
margin-bottom: 2rem;
}
.about-portrait {
width: 10rem;
height: auto;
border-radius: 4px;
border: 1px solid var(--bg-border);
}
.about-portrait-sidebar {
display: none;
}
.about-article {
max-width: 48rem;
}
.about-links a {
font-size: 1rem;
}
.site-footer {
margin-top: 3rem;
padding: 3rem 0;
border-top: 1px solid var(--line);
color: var(--text-faint);
font-size: 0.85rem;
}
.site-footer .wrap {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
}
.footer-brand {
font-family: var(--display);
font-size: 1.4rem;
font-weight: 700;
color: var(--text);
}
.footer-links {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
}
.footer-links a {
color: var(--text-faint);
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
}
.footer-links a:hover {
color: var(--text);
}
.footer-copy a {
color: var(--text-faint);
text-decoration: underline;
text-underline-offset: 2px;
transition: color 0.2s ease;
}
.footer-copy a:hover {
color: var(--text);
}
@media (min-width: 768px) {
.site-tagline { display: block; }
.main-layout,
.archive-layout,
.home-layout,
.about-layout {
flex-direction: row;
align-items: flex-start;
gap: 2.5rem;
}
.main-col,
.archive-col,
.home-col,
.about-col {
flex: 1;
max-width: 70%;
}
.sidebar,
.archive-sidebar,
.home-sidebar,
.about-sidebar {
display: block;
width: 26%;
flex-shrink: 0;
position: sticky;
top: 5rem;
max-height: calc(100vh - 5rem);
overflow-y: auto;
}
.about-portrait-mobile {
display: none;
}
.about-portrait-sidebar {
display: flex;
justify-content: center;
margin-bottom: 1.5rem;
}
.about-portrait-sidebar .about-portrait {
width: 12rem;
}
}
@media (max-width: 600px) {
.site-title { font-size: 1.4rem; }
.post-head h1 { font-size: 1.8rem; }
.post-title { font-size: 1.3rem; }
.header-nav { gap: 1rem; }
}