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

Blur Background #71

Closed
ghost opened this issue Jul 11, 2018 · 2 comments
Closed

Blur Background #71

ghost opened this issue Jul 11, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 11, 2018

A blurred background should offer better text visibility in comparison to a slightly darkened one which usually does not have much effect for images with light colours.

@trickypr
Copy link
Contributor

To do this you will need to remove the background-color of .Dashboard, .App, and .root. You will also have to remove the following code from .Unsplash:

background-position: 50% 50%;
background-size: cover;
transition: opacity .25s ease-out;

Then you will need to add the following code to .Unsplash::before:

content: "";
position: fixed;
left: -5%;
top: -5%;
right: 0;
z-index: -1;
display: block;
background-size: cover;
width: 110%;
height: 110%;
filter: blur(5px); /* Change this to change the amount of blur */

Then when applying the image you need to apply it to .Unsplash::before instead of .Unsplah.
There may be a simpler way to do this but this is what I found works. I hope it is helpful.

@joelshepherd
Copy link
Owner

This is now in Tabliss :)

nbouliol pushed a commit to nbouliol/tabliss that referenced this issue Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants