Add basic index redesign

This commit is contained in:
2025-10-17 22:33:06 +13:00
parent f5889b270a
commit 4408a09e82
5 changed files with 148 additions and 131 deletions

View File

@ -4,6 +4,34 @@
This project is using the **Strangler Fig Pattern** to incrementally migrate from Bootstrap 3.3.7 to Tailwind CSS v4 + DaisyUI v5.
## Layout Architecture
### Paper-over-Background Design
The modern framework uses a "paper hovering over background" design:
- **Background**: `bg-base-300` (slightly darker gray)
- **Content Area**: `bg-base-100` (white/light) with shadow and rounded corners on medium+ screens
- **Responsive**: Full width on mobile, centered with visible background on larger screens
### Two Layout Modes
**1. Standard Paper Layout** (default)
```django
{% block content %}
<!-- Your content here with NO enforced styles -->
<!-- Automatically wrapped in paper container -->
{% endblock content %}
```
**2. Full-Width Layout** (for landing pages, special layouts)
```django
{% block main_content %}
<!-- Complete control over layout -->
<!-- Overrides paper container entirely -->
{% endblock main_content %}
```
## Architecture
### Two Base Templates