/* Small additions to Furo; its navigation, search, and theme controls stay native. */ body { line-height: 1.65; } h1, h2, h3 { font-weight: 650; line-height: 1.25; letter-spacing: -0.025em; } h1 { margin-bottom: 1.1rem; } h2 { margin-top: 2.6rem; } article a { text-underline-offset: 0.18em; } a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--color-brand-primary); outline-offset: 4px; } /* A compact wordmark leaves room for the navigation. */ .sidebar-brand { padding-top: 1.7rem; padding-bottom: 1.1rem; } .foxes-brand-name { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-stack--headings); font-size: 1.9rem; font-weight: 750; letter-spacing: -0.055em; line-height: 1.25; } .foxes-version { border: 1px solid var(--color-background-border); border-radius: 4px; padding: 0.12rem 0.4rem; color: var(--color-foreground-secondary); font-size: 0.7rem; font-weight: 500; letter-spacing: 0; } .foxes-brand-description { display: block; margin-top: 0.35rem; color: var(--color-foreground-secondary); font-size: 0.8rem; } .sidebar-tree .caption-text { text-transform: none; letter-spacing: 0; font-weight: 600; } .sidebar-tree .current > .reference { color: var(--color-brand-primary); } /* The existing FOXES artwork is the home page's main visual. */ .foxes-hero-logo { float: right; width: 200px; max-width: 35%; height: auto; margin: 0 0 1.2rem 2rem; border-radius: 12px; } #foxes > h1 { padding-top: 0.35rem; margin-bottom: 0.4rem; font-size: clamp(2.7rem, 6vw, 3.5rem); font-weight: 750; letter-spacing: -0.06em; } .foxes-subtitle { max-width: 24rem; margin-top: 0; font-family: var(--font-stack--headings); font-size: 1.2rem; font-weight: 550; line-height: 1.4; } .foxes-intro { margin-top: 1.25rem; color: var(--color-foreground-secondary); } .foxes-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; clear: both; margin: 1.4rem 0 1.6rem; } .foxes-actions a { display: inline-block; border: 1px solid var(--color-background-border); border-radius: 6px; padding: 0.55rem 1rem; color: var(--color-foreground-primary); font-size: 0.9rem; font-weight: 600; text-decoration: none; } .foxes-actions a:first-child { border-color: var(--color-brand-primary); background: var(--color-brand-primary); color: var(--color-background-primary); } .foxes-actions a:hover { border-color: var(--color-brand-primary); text-decoration: underline; } .foxes-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; margin: 1.6rem 0 2rem; } .foxes-path { border-top: 1px solid var(--color-background-border); padding: 1rem 0; } .foxes-path p { margin: 0; } .foxes-path p:first-child a { font-size: 1rem; font-weight: 650; text-decoration: none; } .foxes-path p:first-child a:hover { text-decoration: underline; } .foxes-path p + p { margin-top: 0.4rem; color: var(--color-foreground-secondary); font-size: 0.88rem; line-height: 1.6; } /* Long signatures wrap inside a quieter, consistently styled source block. */ dl.py > dt.sig { border-left: 3px solid var(--color-brand-primary); border-radius: 0 6px 6px 0; padding: 0.8rem 1rem; text-indent: 0; line-height: 1.8; scroll-margin-top: 1rem; } dl.py > dd { margin-top: 1rem; } .highlight { border: 1px solid var(--color-background-border); border-radius: 6px; } article[role="main"] .highlight pre { line-height: 1.7; } @media (prefers-reduced-motion: reduce) { .sig:not(.sig-inline) { transition: none; } } table.docutils { font-size: 0.9rem; } .admonition { border-radius: 6px; box-shadow: none; } @media (max-width: 67rem) { article :is(h1, h2, h3), dl.py > dt.sig { scroll-margin-top: 4.5rem; } } @media (max-width: 40rem) { .foxes-hero-logo { width: 120px; margin-left: 1rem; border-radius: 8px; } .foxes-subtitle { font-size: 1.05rem; } .foxes-intro { clear: both; } .foxes-paths { grid-template-columns: 1fr; } dl.py > dt.sig { padding: 0.6rem; } } @media print { .foxes-hero-logo { width: 120px; } .foxes-actions a:first-child { background: transparent; color: inherit; } }