Loading repository data…
Loading repository data…
affan675 / repository
Nexus Portfolio — a modern, responsive single-page portfolio showcasing projects, skills, and contact info. Built with lightweight HTML/CSS/JS, it features smooth animations, a custom cursor, and fast, mobile-friendly performance.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Built with Pure HTML, CSS & Vanilla JavaScript
View Live · Documentation · Report Bug · Contribute
Nexus Portfolio is a premium, production-ready single-page portfolio website that showcases modern web design principles with zero external dependencies. Built entirely from scratch using vanilla JavaScript, CSS3, and semantic HTML5, it serves as both a portfolio template and a reference for clean, performant web development.
Perfect for developers, designers, and creative professionals who want a fast-loading, accessible, and visually stunning portfolio that's truly theirs.
clamp() for perfect scalingindex.html directly in your browser| Layer | Technology | Version |
|---|---|---|
| Frontend | HTML5 | 5 |
| Styling | CSS3 | 3 (with Custom Properties) |
| Scripting | Vanilla JavaScript | ES6+ |
| Typography | Google Fonts | Latest |
| Build Tool | None | Zero-dependency |
| Package Manager | None | Not required |
# Option 1: Clone the repository
git clone https://github.com/affan675/01_nexus_portfolio.git
cd nexus-portfolio
# Option 2: Download as ZIP
# Extract the zip file and navigate to the directory
# Simply open the file in your browser
# macOS
open index.html
# Windows
start index.html
# Linux
xdg-open index.html
# Or manually open in browser
# Right-click index.html → Open with Browser
That's it! No npm install, no build steps, no server required. ✨
nexus-portfolio/
├── 📄 index.html # Main HTML file (open this!)
│
├── 📁 css/ # Organized modular stylesheets
│ ├── base.css # Global styles, resets, CSS variables
│ ├── layout.css # Grid/flexbox layouts
│ ├── components.css # Reusable component styles
│ ├── animations.css # Scroll & interactive animations
│ └── responsive.css # Mobile breakpoints
│
├── 📁 js/ # Modular JavaScript modules
│ ├── app.js # Main application logic
│ ├── cursor.js # Custom cursor behavior
│ └── loading.js # Preloader logic
│
├── 📁 assets/ # Static assets
│ └── screenshots/ # Portfolio screenshots
│ ├── home_night.png
│ ├── home_day.JPG
│ ├── skills.JPG
│ └── contact.JPG
│
├── 📄 README.md # Documentation (this file)
└── 📄 LICENSE # MIT License
| Element | Dark Theme | Light Theme |
|---|---|---|
| Background | #0a0a0c | #f5f5f7 |
| Surface | #16161a | #ffffff |
| Text | #e0e0e0 | #1a1a1a |
| Accent | #00e5ff (Cyan) | #0077cc (Blue) |
| Secondary | #ffb300 (Orange) | #c77d00 (Gold) |
| Element | Font | Weight | Size |
|---|---|---|---|
| H1 (Title) | Space Grotesk | 700 | clamp(2rem, 8vw, 4rem) |
| H2 (Section) | Space Grotesk | 600 | clamp(1.5rem, 6vw, 2.5rem) |
| H3 (Subheading) | Space Grotesk | 500 | clamp(1rem, 4vw, 1.5rem) |
| Body Text | Inter | 400 | clamp(0.875rem, 2vw, 1rem) |
| Code | JetBrains Mono | 400 | 0.875rem |
// Ensures branding consistency on page load
// - Minimum 1.5 second display
// - Triggers after window.load + components-ready event
// - Prevents FOUC (Flash of Unstyled Content)
data-theme attribute on <body> elementclamp() function ensures perfect scalingEdit index.html
Update Styles
css/base.css (CSS variables)css/base.csscss/components.cssAdd Images
assets/ folderindex.htmlCustom CSS Variables:
:root {
--bg: #0a0a0c;
--surface: #16161a;
--text: #e0e0e0;
--accent: #00e5ff;
--secondary: #ffb300;
}
Enable/Disable Features:
index.html to disable cursor effects, preloader, or animationsjs/app.jsContributions are welcome! Whether it's bug fixes, feature additions, or improvements to documentation, your input helps make this project better.
git checkout -b feature/amazing-feature)git push origin feature/amazing-feature)This project is licensed under the MIT License — see the LICENSE file for details.
You're free to use this project for personal, commercial, or educational purposes with proper attribution.
Affan Adil
All modern browsers (Chrome, Firefox, Safari, Edge).
| Feature | Required Support |
|---|---|
| CSS Custom Properties | ✅ Universal |
| CSS Grid | ✅ Universal |
| Intersection Observer | ✅ Universal |
clamp() | ✅ Universal |
requestAnimationFrame | ✅ Universal |
MIT — free to use, modify, and distribute.
Built from scratch with discipline and curiosity. © 2025 Affan Adil.