DOC: Fix dark mode styles
closes #48527
Is this in reference to an existing Github issue? > Is this in reference to an existing Github issue?

yes, it's in reference to https://github.com/pandas-dev/pandas/issues/42744 
just realising I should've mentioned that, sorry for the misunderstanding It is already closed  > 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](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) 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. 
Is it fine if we just merge the original pr, or do i try the other thing again?

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. > 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](https://pandas.pydata.org/preview/50936/docs/_images/01_table_dataframe.svg) I am not sure if this is a style problem or the image. If there are no other problems this issue should be solved. 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) 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. Thanks @anushkabishnoi 