-
Notifications
You must be signed in to change notification settings - Fork 0
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
"Next" button not visible under flashcards in Dark Mode #48
Comments
Thanks for this great report!!! Unfortunately, that setting seems to be buried quite deep inside the jupytercards package. I hoped that changing it in our own css would have some effect, but that does not seem to be the case. The only idea I would have to fix it would be to fork jupytercards and fix it for our purposes. Right now, I don't have the bandwidth for that. This said, I have no idea of CSS and there may well be a better solution. |
Thank you for the feedback. I looked again and you are absolutely right the problem is being imported with the jupytercards package. There seem to me two solutions that should be not too complicated to implement: 1. The solution that almost surely works:The following class appears to set the background for the Quiz: <div class="output text_html" </div> and it has the following css style rule: which is defined in custom.css line 42. 2. Changing the color of the "Next" button, which might work:adding the following to custom.css; .next {
color: var(--pst-color-text-base) !important;
} I believe the last commit trying this did not work because it lacked the Thank You. |
Suggestion 2 worked -- many thanks!!! |
Apply @0AhmadKhan's [suggestion](#48 (comment)). (#58)
I was doing the preparations and noticed that in the Quiz section for the "flashcard" there is a Next button to click that is invisible in dark-mode, Quiz Link
On further investigation it seems that the 'next' class:
has the following the css style-tab:
which has a
#090c08ff
hex defined in the corresponding css ':root' selector.A quick solution, by changing it to a
#198754
hex it works "well-enough" in both dark and light modeA better solution might be to redefine it as following:
where
--pst-color-text-muted
is already defined for both dark and light data-themes and is being used in the Next and Previous buttons at the end of the page.Thank You.
The text was updated successfully, but these errors were encountered: