Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Fix inverted images #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix inverted images #35

wants to merge 2 commits into from

Conversation

skeets23
Copy link

The parent div for these images is being inverted. Inverting the images themselves again will un-invert them.

Just added these CSS rules:

.gb_nc span{
	filter: invert(1);
}

.gb_nc .gbip{
	filter: invert(1);
}

.gb_nc img{
	filter: invert(1);
}

.gb_nc .gb_Kb{
	background: inherit;
}

.... and it's fixed:
24_08-48-346x615-52e57caa8e 1

The parent div for these images is being inverted. Inverting the images themselves again will un-invert them.
@skeets23
Copy link
Author

Hold on -- just realized this inverts some colors in Google Docs. 😅

Let me see if I can fix it really quick....

@skeets23
Copy link
Author

Ok, it's good now. I moved the CSS selectors to be right next to the .gb_nc selector, so it will only un-invert the images if they are inverted now. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant