diff --git a/public/styles.css b/public/styles.css index c68bb26..629fe8e 100644 --- a/public/styles.css +++ b/public/styles.css @@ -18,11 +18,36 @@ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; } +/* Global Typography & Elements */ +h1, h2, h3, h4, h5, h6 { + color: var(--text-primary); + margin-bottom: 1rem; + font-weight: 700; +} + +h1 { + font-size: 2.5rem; + line-height: 1.2; + letter-spacing: -0.025em; +} + +p { + margin-bottom: 1rem; + color: var(--text-secondary); +} + +.gradient-text { + background: var(--primary-gradient); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + display: inline-block; +} + body { background-color: var(--bg-light); color: var(--text-primary); line-height: 1.6; - padding-top: 80px; /* Space for sticky header */ } .container { @@ -34,7 +59,7 @@ body { /* Header Styles */ .main-header { - position: fixed; + position: sticky; top: 0; left: 0; right: 0; @@ -210,6 +235,10 @@ body { } @media (max-width: 768px) { + .main-header { + height: auto; + } + .header-container { flex-direction: column; height: auto; @@ -219,11 +248,26 @@ body { .nav-menu { margin-top: 15px; gap: 15px; + flex-wrap: wrap; + justify-content: center; + } + + .container { + padding: 20px; + } + + h1 { + font-size: 2rem; + } + + .projects-grid { + grid-template-columns: 1fr; } .footer-container { grid-template-columns: 1fr; text-align: center; + gap: 25px; } .footer-brand p { @@ -236,21 +280,6 @@ body { } } -/* Responsive design */ -@media (max-width: 768px) { - .container { - padding: 20px; - } - - h1 { - font-size: 2rem; - } - - .projects-grid { - grid-template-columns: 1fr; - } -} - /* Footer styles */ footer { margin-top: 40px; diff --git a/views/about.ejs b/views/about.ejs index 7b1741c..3e35d78 100644 --- a/views/about.ejs +++ b/views/about.ejs @@ -16,15 +16,6 @@ text-align: left; } - .about-container h1 { - font-size: 2.5rem; - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - background-clip: text; - margin-bottom: 20px; - } - .about-container h2 { font-size: 1.3rem; color: #4a5568; @@ -56,7 +47,7 @@
Nexus Core is a dedicated hub for modern web development, focusing on building clean, interactive, and user-friendly web interfaces using the latest technologies.
Nexus Core is open for collaborations, project inquiries, and general questions. We'd love to hear from - you!
- -Email: contact@nexuscore.io
-Location: India
-Availability: Open to new opportunities and collaborations
- - -