You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix navigation and content alignment across all pages
Removed Tachyons padding classes from templates and added CSS rules to
ensure consistent alignment between navigation and content areas.
CSS changes (assets/css/custom.css):
- Added article.cf rule with horizontal padding to match navigation
- All content now has consistent 2rem horizontal padding
Template changes:
- layouts/partials/site-navigation.html: removed ph3 ph4-ns
- layouts/index.html: removed ph3 ph5-l
- layouts/blog/list.html: removed ph3 ph5-l
- layouts/blog/single.html: removed ph3 ph5-l
- layouts/_default/single.html: removed ph3 and mw8
- layouts/_default/list.html: created override, removed Tachyons classes and measure-wide
The measure-wide class was constraining content to 34em, preventing proper
alignment. All pages now use max-width 1400px with 2rem horizontal padding.
Audit confirmed: 25 !important declarations (all necessary for theme
overrides), zero hacks, code is optimized and follows best practices.
Session log updated with comprehensive documentation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Copy file name to clipboardExpand all lines: claude-session-memory.md
+142Lines changed: 142 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2810,3 +2810,145 @@ Always crawl rendered HTML output to verify CSS class usage. Don't trust assumpt
2810
2810
2811
2811
---
2812
2812
2813
+
2814
+
## Session: 2025-12-13 - Alignment Fix and Final Optimization
2815
+
2816
+
### Date
2817
+
December 13, 2025
2818
+
2819
+
### Overview
2820
+
Fixed navigation and content alignment issues across all pages by removing Tachyons padding conflicts and implementing consistent CSS-controlled layout. Completed comprehensive audit to verify no hacks or bad practices remain.
2821
+
2822
+
### Problem
2823
+
Navigation bar and page content had inconsistent left margins - content appeared shifted left relative to the navigation on news and blog pages.
0 commit comments