Document fluid article width solution for TOC overlap

This commit is contained in:
Russell Ballestrini 2025-10-13 12:29:48 -04:00
parent 69bd3337b6
commit 5f3d4e988a

View file

@ -41,6 +41,8 @@ The main navigation header now uses ``position: fixed`` so it stays visible when
On tablets and mobile devices (screens ≤1023px), the table of contents reverts to its inline position within the article content, ensuring usability across all screen sizes. The media queries are structured to unfix positioned elements first, then reposition them, creating smooth visual transitions at breakpoints.
Article content uses fluid width (``max-width: 660px; width: 100%``) instead of fixed width, allowing it to shrink responsively when the TOC sidebar is present. This prevents overlap at screen widths between 1024px and approximately 1300px, where the fixed header, article content, and TOC sidebar would otherwise compete for space.
**CSS Color Variables**
All hardcoded colors were converted to CSS custom properties: