Skip to content

Change background gradient in jekyll-theme-midnight.scss to background-image property#38

Open
joypauls wants to merge 1 commit into
pages-themes:masterfrom
joypauls:master
Open

Change background gradient in jekyll-theme-midnight.scss to background-image property#38
joypauls wants to merge 1 commit into
pages-themes:masterfrom
joypauls:master

Conversation

@joypauls

@joypauls joypauls commented Aug 18, 2021

Copy link
Copy Markdown

When using a mouse wheel or two-finger scrolling to scroll up past the top of a website, you can see the background of a site past the main window. Usually you just see the background color from the page body there. In the current version that overlap is white because there are two background properties specified in _sass/jekyll-theme-midnight.scss. Currently, the last background property with the linear gradient overrides the first. Switching that one to background-image as described here makes it so that the first background property still applies to that overlap space and provides a bit cleaner transition, while the linear gradient is preserved.

Before and after screenshots in Chrome are attached:

After
chrome_screenshot_after

Before
chrome_screenshot_before

@welcome

welcome Bot commented Aug 18, 2021

Copy link
Copy Markdown

Welcome! Congrats on your first pull request to the Midnight theme. If you haven't already, please be sure to check out the contributing guidelines.

@stale

stale Bot commented Jan 9, 2022

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the wontfix label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant