Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chrisdzasc/Time-Tracking-Dashboard/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Time Tracking Dashboard uses a mobile-first approach with CSS Grid to create a fully responsive layout that adapts seamlessly across three breakpoints: mobile (default), tablet (768px), and desktop (1440px).Mobile Layout (Default)
The base mobile layout (styles.css:187-192) uses a single-column grid:The dashboard is centered using flexbox on the body element (styles.css:177-185):
- All cards stack vertically in a single column
- Profile card appears first
- Activity cards follow in natural document order
- Gap between cards is 2.4rem (
--spacing-300)
Tablet Layout (768px)
At 768px and above (styles.css:368-407), the layout shifts to a 3-column grid:Tablet Grid Configuration
- Grid structure: 3 columns × 3 rows
- Profile card: Spans all 3 columns in the first row (
grid-column: 1 / 4) - Activity cards: Each occupies one column, distributed across remaining rows
- Max width: 61.2rem (612px)
Tablet Layout Changes
- Body padding removed: Content uses full viewport height
- Activity card time layout: Switches from horizontal to vertical (
flex-direction: column) - Hour font size increased: From 3.2rem to 5.6rem
- Profile info alignment: Changes to
flex-start
Desktop Layout (1440px)
At 1440px and above (styles.css:411-446), the layout expands to a 4-column grid:Desktop Grid Configuration
- Grid structure: 4 columns × 2 rows
- Profile card: Occupies entire first column, spanning both rows (
grid-column: 1 / 2; grid-row: 1 / 3) - Activity cards: Distributed across remaining 3 columns in 2 rows (6 cards total)
- Max width: 111.6rem (1116px)
Desktop Layout Changes
-
Profile card layout: Switches to vertical orientation
- Profile info becomes vertical (
flex-direction: column) - Timeframe buttons stack vertically
- Profile picture enlarges to 7.8rem
- Name font size increases to 4.0rem
- Profile info becomes vertical (
- Activity cards: Fill the 3×2 grid beside the profile card
CSS Custom Properties
Spacing is managed through CSS variables (styles.css:50-55):Mobile-First Approach
The design follows mobile-first principles:- Base styles target mobile devices (no media query needed)
- Progressive enhancement adds complexity at larger screens
- Min-width media queries layer on tablet and desktop styles
- Performance benefit: Mobile devices load fewer CSS rules
Breakpoint Summary
| Breakpoint | Grid Layout | Profile Card | Activity Cards | Max Width |
|---|---|---|---|---|
| Mobile (default) | 1 column | Full width | Stacked | 45.0rem |
| Tablet (768px+) | 3×3 grid | Spans 3 columns | 3 per row | 61.2rem |
| Desktop (1440px+) | 4×2 grid | Spans 2 rows | 3×2 layout | 111.6rem |