diff --git a/_sass/color_schemes/lai.scss b/_sass/color_schemes/lai.scss index 042b53a..c8cfce7 100644 --- a/_sass/color_schemes/lai.scss +++ b/_sass/color_schemes/lai.scss @@ -1,6 +1,11 @@ -// Lucknow AI Labs colour scheme: the theme's dark scheme with the warm yellow -// accent used across UPAI Labs. Selected with `color_scheme: lai` in _config.yml. +// Lucknow AI Labs colour scheme: the theme's dark scheme with blue accent +// matching the logo. Selected with `color_scheme: lai` in _config.yml. @import "./dark"; -$link-color: $yellow-200; -$btn-primary-color: $yellow-300; +// Custom colors extracted from the logo +$lai-blue-light: #7EC8E3; // Light cyan from pillar accents +$lai-navy: #1a2744; // Dark navy from Rumi Darwaza +$lai-blue-mid: #2c5282; // Mid navy for buttons + +$link-color: $lai-blue-light; +$btn-primary-color: $lai-blue-mid; diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index ba73456..04d5985 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -1,30 +1,50 @@ // Lucknow AI Labs custom styles (loaded after the theme). -// Note callouts keep the yellow marker the site has always used. +// Brand colors extracted from the logo +$lai-navy: #1a2744; // Dark navy - Rumi Darwaza, text background +$lai-blue: #7EC8E3; // Light cyan - pillar accents +$lai-blue-dark: #2c5282; // Mid navy for buttons +$lai-blue-glow: rgba(126, 200, 227, 0.4); // Glow effect + +// Note callouts use blue to match the brand. p.note, blockquote.note { &::before { - color: #ffe600 !important; + color: $lai-blue !important; } } -// Yellow primary buttons need dark text to stay readable. +// Blue primary buttons with white text for readability. .btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.zeroclipboard-is-hover { - color: $grey-dk-300 !important; + color: #fff !important; + background-color: $lai-blue-dark !important; + border-color: $lai-blue-dark !important; + + &:hover { + background-color: lighten($lai-blue-dark, 8%) !important; + } } // ---------- Home page ---------- .lai-hero { margin-bottom: $sp-6; + text-align: center; + padding: $sp-6 0; .lai-kicker { - color: $yellow-200; - font-weight: 500; - letter-spacing: 0.02em; + color: $lai-blue; + font-weight: 600; + letter-spacing: 0.05em; + text-transform: uppercase; + font-size: 0.85rem; + } + + h1 { + color: $lai-blue; } .btn { @@ -46,14 +66,40 @@ blockquote.note { } .lai-card { - border: 1px solid $border-color; - border-radius: 8px; - padding: $sp-4; - background-color: $grey-dk-250; + border: 1px solid rgba($lai-blue, 0.2); + border-radius: 12px; + padding: $sp-5; + background: linear-gradient(145deg, $grey-dk-250 0%, mix($lai-navy, $grey-dk-250, 10%) 100%); + transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; + position: relative; + overflow: hidden; + + &::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 3px; + background: linear-gradient(90deg, $lai-blue-dark, $lai-blue); + opacity: 0; + transition: opacity 0.3s ease; + } + + &:hover { + transform: translateY(-4px); + box-shadow: 0 8px 24px rgba($lai-navy, 0.4); + border-color: rgba($lai-blue, 0.5); + + &::before { + opacity: 1; + } + } h3, h4 { margin-top: 0 !important; + color: $lai-blue; } p { @@ -63,25 +109,115 @@ blockquote.note { .lai-card-links a { margin-right: $sp-3; white-space: nowrap; + color: $lai-blue; + transition: color 0.2s ease; + + &:hover { + color: lighten($lai-blue, 15%); + } + } +} + +// What we do section with icons +.lai-focus-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + gap: $sp-5; + margin: $sp-5 0 $sp-6; + padding: 0; + list-style: none; + + > li::before { + content: none !important; + } +} + +.lai-focus-card { + border: 1px solid rgba($lai-blue, 0.3); + border-radius: 12px; + padding: $sp-5; + background: linear-gradient(135deg, $grey-dk-250 0%, mix($lai-navy, $grey-dk-250, 20%) 100%); + transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; + display: flex; + flex-direction: column; + height: 100%; + + &:hover { + transform: translateY(-3px); + box-shadow: 0 8px 24px rgba($lai-navy, 0.5); + border-color: $lai-blue; + } + + .lai-focus-icon { + font-size: 2rem; + margin-bottom: $sp-3; + } + + h3 { + margin-top: 0 !important; + margin-bottom: $sp-2; + font-size: 1.1rem; + color: $lai-blue; + } + + p { + margin-bottom: 0; + flex-grow: 1; + color: $grey-lt-300; + font-size: 0.95rem; + line-height: 1.5; + } + + .lai-focus-link { + margin-top: $sp-4; + padding-top: $sp-3; + border-top: 1px solid rgba($lai-blue, 0.2); + + a { + font-weight: 500; + color: $lai-blue; + text-decoration: none; + + &:hover { + text-decoration: underline; + color: lighten($lai-blue, 10%); + } + + &::after { + content: " →"; + } + } } } .lai-stats { + .lai-card { + border: 1px solid rgba($lai-blue, 0.3); + background: linear-gradient(135deg, $grey-dk-250 0%, mix($lai-navy, $grey-dk-250, 15%) 100%); + text-align: center; + + &:hover { + border-color: $lai-blue; + } + } + .lai-stat-number { display: block; - font-size: 2rem; + font-size: 2.5rem; font-weight: 700; line-height: 1.1; - color: $yellow-200; + color: $lai-blue; + margin-bottom: $sp-2; } .lai-stat-label { color: $grey-lt-300; + font-size: 0.9rem; } } .lai-upcoming { - border-left: 4px solid $yellow-200; + border-left: 4px solid $lai-blue; } .lai-muted { @@ -104,7 +240,7 @@ blockquote.note { height: 120px; border-radius: 50%; object-fit: cover; - border: 3px solid $yellow-200; + border: 3px solid $lai-blue; } // Partner logos sit on a white card so dark logo text stays readable @@ -135,3 +271,34 @@ blockquote.note { height: auto; margin-top: 2rem; } + +// Section headings with accent line +.main-content h2 { + position: relative; + padding-bottom: $sp-3; + margin-top: $sp-6; + + &::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 50px; + height: 3px; + background: $lai-blue; + border-radius: 2px; + } +} + +// Tables with blue accent +.main-content table { + th { + background: mix($lai-navy, $grey-dk-250, 20%); + color: $lai-blue; + } +} + +// Blockquotes with blue left border +.main-content blockquote { + border-left-color: $lai-blue; +} diff --git a/index.md b/index.md index 8f70e33..63045f5 100644 --- a/index.md +++ b/index.md @@ -38,38 +38,44 @@ permalink: / ## What we do -Spreading AI and knowledge sharing throughout Lucknow, and from here to the rest of Uttar Pradesh. - -