body.codefall-modern {
--cf-bg: #f4f7f6;
--cf-surface: #fff;
--cf-soft: #edf3ef;
--cf-text: #20312b;
--cf-title: #11271e;
--cf-muted: #52665c;
--cf-line: #dce6df;
--cf-accent: #197246;
--cf-hover: #115c36;
--cf-shadow: 0 8px 28px rgb(18 48 32 / 5%);
--yuki-primary-color: var(--cf-accent);
--yuki-primary-active: var(--cf-hover);
--yuki-accent-color: var(--cf-text);
--yuki-accent-active: var(--cf-title);
--yuki-base-color: var(--cf-bg);
--yuki-base-100: var(--cf-surface);
--yuki-base-200: var(--cf-soft);
--yuki-base-300: var(--cf-line);
--yuki-content-base-color: var(--cf-text);
--yuki-headings-color: var(--cf-title);
background: var(--cf-bg);
color: var(--cf-text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 16px;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
[data-yuki-theme="dark"] body.codefall-modern,
body.codefall-modern[data-yuki-theme="dark"] {
--cf-bg: #101915;
--cf-surface: #17231d;
--cf-soft: #1d2d24;
--cf-text: #d6e2da;
--cf-title: #f1f7f3;
--cf-muted: #a7b9ad;
--cf-line: #31463a;
--cf-accent: #9bdfae;
--cf-hover: #c7f3d2;
--cf-shadow: 0 8px 28px rgb(0 0 0 / 12%);
color-scheme: dark;
}
body.codefall-modern :is(h1, h2, h3, h4, h5, h6) { color: var(--cf-title); font-family: inherit; }
body.codefall-modern :is(a, button, input, textarea, select):focus-visible {
outline: 3px solid var(--cf-accent);
outline-offset: 4px;
}
body.codefall-modern .yuki-container > #content { min-width: 0; }
body.codefall-modern .container { max-width: 1240px; }
body.codefall-modern .yuki-site-header { background: var(--cf-surface); }
body.codefall-modern .yuki-header-row { background: var(--cf-surface); border-color: var(--cf-line); box-shadow: none; }
body.codefall-modern .yuki-header-row-primary_navbar .container { min-height: 100px; }
body.codefall-modern .yuki-header-row-primary_navbar .yuki-builder-column { justify-content: flex-start; }
body.codefall-modern .yuki-site-branding { text-align: start; }
body.codefall-modern .yuki-site-branding .site-title {
font-family: inherit;
font-size: 1.9rem;
font-weight: 800;
letter-spacing: -.055em;
line-height: 1.2;
text-transform: none;
}
body.codefall-modern .site-title a { color: var(--cf-title); }
body.codefall-modern .yuki-site-branding .site-tagline {
margin-top: .35rem;
font-size: .875rem;
font-weight: 400;
color: var(--cf-muted);
letter-spacing: .01em;
}
body.codefall-modern .yuki-header-row-bottom_row { border-block: 1px solid var(--cf-line); }
body.codefall-modern .yuki-header-row-bottom_row .container { min-height: 58px; }
body.codefall-modern .yuki-header-row-bottom_row .yuki-builder-column { gap: .5rem; }
body.codefall-modern .yuki-icon-button {
width: 42px;
min-width: 42px;
flex-shrink: 0;
height: 42px;
border-radius: 12px;
color: var(--cf-title);
background: var(--cf-soft);
}
body.codefall-modern .yuki-icon-button:hover { background: var(--cf-line); } body.codefall-modern :is(.yuki-trigger, .yuki-search-button, .yuki-theme-switch, .yuki-close-modal, .yuki-search-submit) i::before {
content: "";
display: inline-block;
width: 1.2rem;
height: 1.2rem;
vertical-align: middle;
background: currentColor;
mask: var(--cf-icon) center / contain no-repeat;
}
body.codefall-modern .yuki-trigger i {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E");
}
body.codefall-modern :is(.yuki-search-button, .yuki-search-submit) i {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
}
body.codefall-modern .yuki-theme-switch .fa-sun {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5'/%3E%3C/svg%3E");
}
body.codefall-modern .yuki-theme-switch .fa-moon {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20 15A9 9 0 0 1 9 4a9 9 0 1 0 11 11Z'/%3E%3C/svg%3E");
}
body.codefall-modern .yuki-close-modal i {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M6 18 18 6'/%3E%3C/svg%3E");
}
body.codefall-modern .yuki-header-row .yuki-divider-inner { border-color: var(--cf-line); }
body.codefall-modern .entry-metas :is(.byline, .posted-on) i::before {
content: "";
display: inline-block;
width: .9rem;
height: .9rem;
background: currentColor;
mask: var(--cf-icon) center / contain no-repeat;
vertical-align: -.1em;
}
body.codefall-modern .entry-metas .byline i {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E");
}
body.codefall-modern .entry-metas .posted-on i {
--cf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M8 3v4m8-4v4M4 11h16'/%3E%3C/svg%3E");
}
body.codefall-modern .yuki-preloader-wrap { display: none; }
body.codefall-modern .codefall-topics { border-bottom: 1px solid var(--cf-line); background: var(--cf-surface); }
body.codefall-modern .codefall-topics > div { display: flex; align-items: baseline; gap: 1.5rem; padding-block: 1rem; }
body.codefall-modern .codefall-topics-label { color: var(--cf-muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.codefall-modern .codefall-topics ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
body.codefall-modern .codefall-topics a {
display: block;
padding: .4rem .85rem;
border: 1px solid var(--cf-line);
border-radius: 999px;
color: var(--cf-text);
font-size: .875rem;
font-weight: 500;
text-decoration: none;
}
body.codefall-modern .codefall-topics a:hover,
body.codefall-modern .codefall-topics a[aria-current] { color: var(--cf-accent); background: var(--cf-soft); border-color: var(--cf-accent); }
body.codefall-modern .yuki-posts-container { padding-block: 2.5rem 4rem; }
body.codefall-modern .yuki-archive-header { background: transparent; padding-block: 2.5rem 0; }
body.codefall-modern .yuki-archive-header .archive-title { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); line-height: 1.25; letter-spacing: -.035em; text-transform: none; }
body.codefall-modern .archive-description { max-width: 65ch; color: var(--cf-muted); font-size: 1rem; }
body.codefall-modern .card-list { gap: 1.5rem; margin: 0; }
body.codefall-modern .card-list > .card-wrapper { padding: 0; width: calc(50% - .75rem); }
body.codefall-modern .card {
border: 1px solid var(--cf-line);
border-radius: 18px;
box-shadow: var(--cf-shadow);
background: var(--cf-surface);
color: var(--cf-text);
transition: border-color .18s ease, box-shadow .18s ease;
}
body.codefall-modern .card:hover { border-color: var(--cf-accent); box-shadow: 0 12px 32px rgb(18 48 32 / 9%); }
body.codefall-modern .card .card-content { padding: 1.6rem; }
body.codefall-modern .card .entry-title { font-family: inherit; font-size: clamp(1.125rem, 1rem + .35vw, 1.4rem); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
body.codefall-modern .card .entry-title a { color: var(--cf-title); }
body.codefall-modern .card .entry-title a:hover { color: var(--cf-accent); }
body.codefall-modern .card .entry-excerpt { font-size: .975rem; line-height: 1.75; color: var(--cf-muted); }
body.codefall-modern .card .entry-metas { color: var(--cf-muted); font-size: .8rem; line-height: 1.6; text-transform: none; }
body.codefall-modern .card .entry-categories { font-size: .75rem; }
body.codefall-modern .yuki-sidebar { --yuki-sidebar-width: 27%; --yuki-sidebar-gap: 32px; }
body.codefall-modern .yuki-sidebar .yuki-widget {
background: var(--cf-surface);
border: 1px solid var(--cf-line);
border-radius: 16px;
box-shadow: none;
padding: 1.5rem;
font-size: .925rem;
line-height: 1.7;
}
body.codefall-modern .widget-title { font-size: .9rem; letter-spacing: .03em; }
body.codefall-modern .yuki-sidebar a { color: var(--cf-text); }
body.codefall-modern .yuki-sidebar a:hover { color: var(--cf-accent); }
body.codefall-modern.single-post .yuki-container { padding-block: 2.5rem 4rem; }
body.codefall-modern .codefall-breadcrumbs,
body.codefall-modern .codefall-article-info { max-width: 760px; margin-inline: auto; font-size: .825rem; color: var(--cf-muted); }
body.codefall-modern .codefall-breadcrumbs { margin-bottom: 1rem; line-height: 1.6; }
body.codefall-modern .codefall-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .65rem; list-style: none; margin: 0; padding: 0; }
body.codefall-modern .codefall-breadcrumbs li { overflow-wrap: anywhere; }
body.codefall-modern .codefall-breadcrumbs li + li::before { content: "/"; margin-inline-end: .65rem; opacity: .6; }
body.codefall-modern .codefall-breadcrumbs a { color: var(--cf-muted); text-decoration: underline; text-underline-offset: .2em; }
body.codefall-modern .codefall-article-info { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-bottom: 1.5rem; }
body.codefall-modern.single-post article > .yuki-article-header { max-width: 760px; text-align: start; padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--cf-line); }
body.codefall-modern.single-post .yuki-article-header .entry-title { font-size: clamp(1.9rem, 1.15rem + 2.2vw, 3.2rem); line-height: 1.16; font-weight: 750; letter-spacing: -.04em; text-wrap: pretty; }
body.codefall-modern.single-post .yuki-article-header .entry-metas { font-size: .85rem; color: var(--cf-muted); justify-content: flex-start; text-transform: none; }
body.codefall-modern.single-post .yuki-article-header .entry-meta-link { color: var(--cf-muted); }
body.codefall-modern.single-post .yuki-article-content {
max-width: 760px;
width: 100%;
font-size: clamp(1.0625rem, 1rem + .22vw, 1.1875rem);
line-height: 1.85;
color: var(--cf-text);
}
body.codefall-modern.single-post .yuki-article-content > p:first-of-type { font-size: 1.075em; line-height: 1.8; color: var(--cf-title); }
body.codefall-modern.single-post .yuki-article-content :is(h2, h3, h4) { font-weight: 700; letter-spacing: -.025em; color: var(--cf-title); }
body.codefall-modern.single-post .yuki-article-content a { color: var(--cf-accent); }
body.codefall-modern.single-post .yuki-article-content a:hover { color: var(--cf-hover); }
body.codefall-modern.single-post .yuki-article-content :is(pre, .codefall-toc, th, td) { border-color: var(--cf-line); }
body.codefall-modern.single-post .yuki-article-content pre { background: var(--cf-soft); color: var(--cf-text); }
body.codefall-modern.single-post .yuki-article-content blockquote { background: var(--cf-soft); border-radius: 0 12px 12px 0; }
body.codefall-modern.single-post .codefall-toc { border-radius: 16px; background: var(--cf-surface); padding: 1.3rem 1.5rem; font-size: .9em; }
body.codefall-modern.single-post .codefall-toc summary { color: var(--cf-title); }
body.codefall-modern.single-post .codefall-toc a { padding-block: .2rem; text-decoration: none; }
body.codefall-modern.single-post .codefall-toc a:hover { text-decoration: underline; }
body.codefall-modern .yuki-related-posts-wrap { max-width: 760px; margin: 3rem auto 0; }
body.codefall-modern .yuki-related-posts-wrap .heading-content { font-size: 1.25rem; text-transform: none; }
body.codefall-modern .yuki-related-posts-wrap .card-content { padding: 1.25rem; }
body.codefall-modern .yuki-archive-pagination { margin-top: 2rem; gap: .4rem; }
body.codefall-modern :is(.page-numbers, .post-page-numbers) { border-radius: 10px; }
body.codefall-modern :is(input, textarea, select) { border-color: var(--cf-line); border-radius: 10px; }
body.codefall-modern :is(.yuki-site-footer, .yuki-footer-row) { background: var(--cf-surface); border-color: var(--cf-line); color: var(--cf-muted); }
body.codefall-modern .yuki-site-footer { border-top: 1px solid var(--cf-line); }
body.codefall-modern .yuki-site-footer a { color: var(--cf-text); }
body.codefall-modern .yuki-modal-inner { background: var(--cf-surface); color: var(--cf-text); }
@media (max-width: 1023px) {
body.codefall-modern .yuki-sidebar { margin-top: 2rem; }
body.codefall-modern .yuki-header-row-primary_navbar .container { min-height: 88px; }
}
@media (max-width: 640px) {
body.codefall-modern .container { padding-inline: 20px; }
body.codefall-modern .yuki-site-branding .site-title { font-size: 1.65rem; }
body.codefall-modern .yuki-header-row-bottom_row .container { min-height: 54px; }
body.codefall-modern .codefall-topics > div { align-items: flex-start; flex-direction: column; gap: .65rem; padding-block: .9rem; }
body.codefall-modern .codefall-topics ul { gap: .4rem; }
body.codefall-modern .codefall-topics a { font-size: .8rem; padding: .4rem .7rem; }
body.codefall-modern .yuki-posts-container { padding-block: 1.5rem 2.5rem; }
body.codefall-modern .card-list > .card-wrapper { width: 100%; }
body.codefall-modern .card .card-content { padding: 1.3rem; }
body.codefall-modern .yuki-archive-header { padding-top: 1.75rem; }
body.codefall-modern.single-post .yuki-container { padding-block: 1.5rem 2.5rem; }
body.codefall-modern.single-post article > .yuki-article-header { padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
body.codefall-modern.single-post .codefall-toc { padding: 1rem 1.1rem; }
body.codefall-modern.single-post .yuki-article-content { line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) {
body.codefall-modern *, body.codefall-modern *::before, body.codefall-modern *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
body.codefall-modern { background: #fff; color: #000; }
body.codefall-modern :is(.codefall-topics, .codefall-breadcrumbs, .codefall-article-info) { display: none; }
body.codefall-modern.single-post .yuki-article-content { max-width: none; color: #000; font-size: 11pt; }
}