style: redesign homepage hero as a spreadsheet grid - #983
Open
nkuprins wants to merge 5 commits into
Open
Conversation
nkuprins
force-pushed
the
spreadsheet-hero-section
branch
from
August 3, 2026 15:21
a96636e to
4b28063
Compare
nkuprins
force-pushed
the
spreadsheet-hero-section
branch
from
August 10, 2026 21:44
4b28063 to
97a3f82
Compare
nkuprins
marked this pull request as ready for review
August 10, 2026 22:18
Contributor
There was a problem hiding this comment.
Pull request overview
This PR redesigns the Docusaurus homepage hero background to look like a spreadsheet grid, replacing the prior radial gradient and adding gridlines plus row/column label strips.
Changes:
- Replace the global
.herobackground with a solid#14824b+ 135° dark wash gradient. - Add a tiled grid overlay and row/column label strips to the homepage hero.
- Add mask-based fading to avoid harsh clipping of the last visible row/column labels.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| website/src/pages/index.module.css | Adds grid overlay + label strip styling, responsive sizing, and mask-based fade-out. |
| website/src/pages/index.js | Renders grid overlay + row/column label spans and includes Excel-like column lettering logic. |
| website/src/css/custom.css | Updates the hero background gradient/color used by the homepage hero. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+86
to
+103
| .colLabels { | ||
| top: 0; | ||
| left: 0; | ||
| right: 0; | ||
| height: var(--grid-size); | ||
| padding-left: var(--grid-size); | ||
| mask-image: linear-gradient(to left, transparent, #000 var(--grid-fade)); | ||
| } | ||
|
|
||
| .rowLabels { | ||
| top: 0; | ||
| left: 0; | ||
| flex-direction: column; | ||
| width: var(--grid-size); | ||
| height: 100%; | ||
| padding-top: var(--grid-size); | ||
| mask-image: linear-gradient(to top, transparent, #000 var(--grid-fade)); | ||
| } |
Contributor
Author
There was a problem hiding this comment.
Safari has supported unprefixed mask-image since 15.4
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Related: #975
The playground (if gets approved) will be added in the other PR for easier review.
Purpose of the pull request
Discussed in #975
What's changed?
Replaces the radial green gradient in the homepage hero with a spreadsheet.
#14824bunder a135degwash of 45% black fading to transparentlinear-gradients tiled at--grid-size, plus a column-letter and row-number strip.mask-imagegradient that dissolves them over the final--grid-fadepx, so the grid reads as continuing rather than as being cut off.Colouring
I left the dark theme untouched because the current hero UI is also not affected by the dark theme. Therefore, I used plain
#14824binstead ofvar(--ifm-color-primary)Browsers
Verified in Microsoft Edge, Firefox, Brave, Chrome