Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joypauls
Copy link

@joypauls joypauls commented Aug 18, 2021

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
Copy link

welcome bot commented Aug 18, 2021

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
Copy link

stale bot commented Jan 9, 2022

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