Skip to content

Update globals.css#6

Open
suyogdeore08 wants to merge 1 commit intoGDGC-MET:mainfrom
suyogdeore08:suyogdeore08-patch-1
Open

Update globals.css#6
suyogdeore08 wants to merge 1 commit intoGDGC-MET:mainfrom
suyogdeore08:suyogdeore08-patch-1

Conversation

@suyogdeore08
Copy link
Copy Markdown

Defined custom CSS variables (--dark-bg, --light-bg, --primary-color, etc.) for consistent theming and easier color management.

Applied a basic reset to html and body to remove default margin/padding, set full width/height, and prevent body scrolling.

Created main containers .app and .scroll-container to manage full-height layouts with smooth, snap-enabled vertical scrolling.

Standardized scroll sections using .scroll-section with full viewport height, flex layout, and scroll-snap-align for smooth section snapping.

Implemented a CSS Grid layout for the first section (.first-section) to separate navbar and hero content, ensuring responsive alignment.

Added .hero-wrapper to properly position hero content without overflow issues.

Added section-specific classes to handle content alignment, scrolling behavior, and padding for different types of sections.

Ensured consistent spacing, alignment, and overflow handling across all sections to improve layout robustness.
pocket_pal
pocket_pal_01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant