-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix dark mode styles #50936
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
DOC: Fix dark mode styles #50936
Conversation
Signed-off-by: Anushka Bishnoi <[email protected]>
Is this in reference to an existing Github issue? |
@@ -236,7 +236,7 @@ ul.task-bullet > li > p:first-child { | |||
|
|||
.tutorial-card .card-header { | |||
cursor: pointer; | |||
background-color: white; | |||
background-color: transparent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to #48527 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it is, sorry for not mentioning this (first timer here)
yes, it's in reference to #42744 |
It is already closed |
But there was a portion of the site still not corrected, ans that's what I modified. The issue is still open because of that. |
Preview docs at: https://pandas.pydata.org/preview/50936/ |
Thanks @anushkabishnoi for working on this. Looks like the collapsed blocks are fixed by this, but when you expand it still has white background: https://pandas.pydata.org/preview/50936/docs/getting_started/index.html Do you want to have a look and see if you can also fix that? |
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
@anushkabishnoi do you have time to address the comments above? |
hey I'm sorry for not responding earlier, I tried to work out the other thing you pointed out, and I can't seem to figure it out. Thanks in advance. |
What's the exact problem? Seems like it should just be repeating what you did to the style of the other component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To remove the white background while expanding replace line 242 with this
.tutorial-card .card-body {
background-color: #F0F0F0;
background-color: transparent;
}
"What kind of data does pandas handle?" This Expansion Box contains an image with black Font here I am not sure if this is a style problem or the image. If there are no other problems this issue should be solved. |
Signed-off-by: Anushka Bishnoi <[email protected]>
I've pushed a commit, the only issue still prevailing - the text on the svg needs to change with dark and light modes. I don't have eperience working with SVGs, so if you guys can help me out, that would be great. (this is what I mentioned not being able to figure out) |
@@ -236,11 +236,12 @@ ul.task-bullet > li > p:first-child { | |||
|
|||
.tutorial-card .card-header { | |||
cursor: pointer; | |||
background-color: white; | |||
background-color: transparent; | |||
} | |||
|
|||
.tutorial-card .card-body { | |||
background-color: #F0F0F0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this line please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the change isn't being acknowledged as a modification, so it's not commiting (working tree clean)
Deleted the line myself. So far doesn't seem to be working, let's see if with this new change: https://pandas.pydata.org/preview/50936/docs/getting_started/index.html Would be good to test things locally, since the CI is not very fast. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like removing the original line worked, this is working now. https://pandas.pydata.org/preview/50936/docs/getting_started/index.html
Thanks @anushkabishnoi |
Backport PR #50936: DOC: Fix dark mode styles Co-authored-by: Anushka Bishnoi <[email protected]>
closes #48527