Global styles in the Soumyajit Landing Pages template live inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/luislopez-stack/landing-pages/llms.txt
Use this file to discover all available pages before exploring further.
src/style.css, which uses CSS custom properties (variables) to drive the major visual decisions — backgrounds, gradients, and accent colors — from a single location. Component-specific overrides use class-name-based rules in the same file. Bootstrap is extended rather than replaced: the template layers its own !important declarations on top of Bootstrap’s utility classes wherever custom behavior is needed.
CSS custom properties
The entire visual theme is anchored by three custom properties declared on thehtml element at the top of src/style.css.
src/style.css
| Variable | What it controls |
|---|---|
--section-background-colorr | The semi-transparent dark gradient overlay applied to the Projects, About, and Resume section backgrounds via background-image. Two stops blend from a slightly lighter dark top-right to a deeper near-black bottom-left. |
--image-gradientt | A similar but slightly denser gradient intended for use over hero/avatar images. It is available for any section that layers a gradient over a background image. |
--imp-text-color | The global accent/highlight color used by the .purple utility class. Changing this single value recolors every highlighted name, heading word, and link underline across the whole site. |
Note the intentional double-
r in --section-background-colorr and double-t in --image-gradientt. These are the actual variable names in the source; use them exactly when referencing the variables elsewhere in your CSS.Scrollbar
The custom scrollbar styles insrc/style.css target WebKit-based browsers (Chrome, Edge, Safari).
src/style.css
- Track (
#2d1950) — the channel the thumb slides inside. Change this to match your dark background color. - Thumb (
rgba(178, 121, 216, …)) — the draggable handle. Adjust the RGBA values or swap in a hex color to match your accent. - Thumb on hover — a slightly lighter/brighter version of the thumb color to give hover feedback.
::-webkit-scrollbar rule blocks.
Navbar
The navbar uses two states — a transparent default and a frosted-glasssticky state that activates once the user scrolls 20 px down the page.
src/style.css
backdrop-filter: blur(15px)creates the frosted-glass blur effect when the navbar is sticky. Increase the pixel value for a heavier blur, or remove the property to go fully opaque.background-color: #1b1a2ea9— thea9alpha suffix makes the background semi-transparent. Adjust the hex or alpha to change the tint.- At mobile widths (
max-width: 767px), the navbar switches to a fully opaque dark background (#181a27) to keep text legible over the hero content.
<span> elements whose color is controlled by:
src/style.css
background-color: #be50f4 to any color to restyle the hamburger bars.
Section backgrounds
Each main section has its own class that applies the global gradient variable as abackground-image.
src/style.css
background-image with background-color:
src/style.css
var() reference with your own linear-gradient():
src/style.css
Typography
The site inherits Bootstrap’s system font stack by default (-apple-system, BlinkMacSystemFont, "Segoe UI", etc.). To add a custom Google Font, follow these two steps:
Add the Google Fonts link to index.html
Insert a
<link> element inside the <head> of public/index.html, before the closing </head> tag:public/index.html
Bootstrap overrides
The template overrides Bootstrap’s.btn-primary style so that all primary buttons use the brand’s purple palette instead of Bootstrap blue.
src/style.css
#623686 to your brand’s button color. The !important declarations are necessary to override Bootstrap’s specificity. If you introduce additional button variants (e.g., .btn-secondary, .btn-outline-primary), add corresponding override blocks here following the same pattern.
Dark vs light mode
The template is dark-mode-first — most sections use white or light text on dark gradient backgrounds. However, the home and about sections are intentionally lighter to contrast with the particle animation and hero imagery.| Area | Text color rule | Location in style.css |
|---|---|---|
| Hero heading & home copy | color: black | .home-content |
| Home “about” description | color: black !important | .home-about-description |
| Home social label | color: black !important | .home-about-social |
| About section body | color: rgb(26, 25, 25) !important | .about-section |
| Project card text | color: black !important | .project-card-view, .blog-card-view |
| Project section heading | color: black !important | .project-heading |
| Resume section | color: white !important | .resume-section |
| Navbar links | color: white !important | .navbar-nav .nav-link |
| Footer text | color: white !important | .footer h3 |
color rules in .home-content, .about-section, and the remaining dark-text classes to a dark foreground value (e.g., #111).