Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
129 lines
5.0 KiB
CSS
129 lines
5.0 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,700&display=swap");
|
|
|
|
:root {
|
|
--ink: #142033;
|
|
--muted: #5c6b80;
|
|
--paper: #f3f6fb;
|
|
--panel: rgba(255, 255, 255, 0.86);
|
|
--line: rgba(20, 32, 51, 0.14);
|
|
--accent: #c45c26;
|
|
--accent-deep: #9a3f12;
|
|
--serif: "Newsreader", Georgia, serif;
|
|
--sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body {
|
|
margin: 0;
|
|
color: var(--ink);
|
|
font-family: var(--sans);
|
|
background:
|
|
radial-gradient(800px 380px at 90% -10%, rgba(196, 92, 38, 0.18), transparent 55%),
|
|
radial-gradient(900px 420px at 0% 0%, rgba(40, 90, 160, 0.12), transparent 50%),
|
|
linear-gradient(180deg, #fbfcfe, var(--paper));
|
|
line-height: 1.7;
|
|
}
|
|
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
|
|
.site-header { padding: 2.5rem 0 1.25rem; }
|
|
.brand {
|
|
display: inline-block;
|
|
font-family: var(--serif);
|
|
font-size: clamp(2.2rem, 4.5vw, 3.2rem);
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
letter-spacing: -0.03em;
|
|
border-bottom: 4px solid var(--accent);
|
|
animation: slide 0.55s ease both;
|
|
}
|
|
.tagline { color: var(--muted); margin: 0.6rem 0 1rem; max-width: 34rem; }
|
|
.nav-bar {
|
|
display: flex; flex-wrap: wrap; gap: 0.85rem;
|
|
padding: 0.75rem 0; border-block: 1px solid var(--line);
|
|
}
|
|
.nav-bar a { color: var(--ink); text-decoration: none; font-weight: 700; }
|
|
.nav-bar a:hover { color: var(--accent-deep); }
|
|
.flash { color: var(--accent-deep); font-weight: 700; }
|
|
.layout { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; padding: 2rem 0 3rem; }
|
|
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
|
|
.panel, .post-item {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 0.35rem;
|
|
padding: 1.2rem 1.35rem;
|
|
margin-bottom: 0.9rem;
|
|
}
|
|
.post-item { transition: border-color 0.2s ease; }
|
|
.post-item:hover { border-color: var(--accent); }
|
|
.post-item h2, .page-title {
|
|
font-family: var(--serif);
|
|
margin: 0 0 0.45rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.post-item h2 a { color: inherit; text-decoration: none; }
|
|
.meta { color: var(--muted); font-size: 0.9rem; }
|
|
.sidebar h3 { margin: 0 0 0.6rem; font-family: var(--serif); }
|
|
.sidebar ul { list-style: none; margin: 0; padding: 0; }
|
|
.sidebar li { margin: 0.4rem 0; }
|
|
.sidebar a { color: var(--ink); font-weight: 600; text-decoration: none; }
|
|
.chip {
|
|
display: inline-block; margin-right: 0.35rem; padding: 0.15rem 0.55rem;
|
|
border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.85rem;
|
|
}
|
|
|
|
.post {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 0.35rem;
|
|
padding: 1.35rem 1.45rem 1.6rem;
|
|
margin-bottom: 0.9rem;
|
|
}
|
|
.post__title {
|
|
font-family: var(--serif);
|
|
font-size: clamp(1.85rem, 3vw, 2.4rem);
|
|
margin: 0 0 0.55rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.post__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
|
|
.post__category { font-weight: 700; text-decoration: none; color: var(--accent-deep); }
|
|
.post__toc {
|
|
margin: 1rem 0 1.35rem;
|
|
padding: 0.9rem 1rem;
|
|
border: 1px solid var(--line);
|
|
border-left: 4px solid var(--accent);
|
|
background: rgba(196, 92, 38, 0.06);
|
|
}
|
|
.post__toc-title { margin: 0 0 0.55rem; font-family: var(--serif); font-size: 1.05rem; }
|
|
.post__toc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.3rem; }
|
|
.post__toc-item a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
|
|
.post__toc-item a:hover { color: var(--accent-deep); }
|
|
.post__toc-item--h3 { padding-left: 0.85rem; }
|
|
.post__toc-item--h4 { padding-left: 1.7rem; }
|
|
.post__content { font-size: 1.06rem; line-height: 1.8; }
|
|
.post__content h2, .post__content h3, .post__content h4 {
|
|
font-family: var(--serif);
|
|
scroll-margin-top: 1.25rem;
|
|
}
|
|
.post__content h2 { font-size: 1.45rem; margin: 1.6rem 0 0.7rem; }
|
|
.post__content h3 { font-size: 1.22rem; margin: 1.35rem 0 0.55rem; }
|
|
.post__content img { max-width: 100%; height: auto; }
|
|
.post__footer { margin-top: 1.35rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
|
|
.post__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
|
|
.comments__title { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 0.85rem; }
|
|
.comment { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
|
|
.comment__meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.3rem; }
|
|
|
|
form.stack label { display: block; margin: 0.75rem 0 0.25rem; font-weight: 600; }
|
|
form.stack input, form.stack textarea {
|
|
width: 100%; border: 1px solid var(--line); border-radius: 0.35rem; padding: 0.7rem 0.8rem; font: inherit;
|
|
}
|
|
form.stack button {
|
|
margin-top: 1rem; background: var(--accent); color: #fff; border: 0;
|
|
border-radius: 0.35rem; padding: 0.7rem 1.15rem; font-weight: 700; cursor: pointer;
|
|
}
|
|
.site-footer { padding: 1.25rem 0 2.5rem; color: var(--muted); border-top: 1px solid var(--line); }
|
|
@keyframes slide {
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
to { opacity: 1; transform: none; }
|
|
}
|