sonnycalcr / sonnycalcr.github.io

https://sonnycalcr.github.io
6 stars 0 forks source link

Night mode, can't see the code in Chrome mobile browser #6

Open WinPoss opened 1 month ago

WinPoss commented 1 month ago

How should I change the style for night mode, when I can't see the code in Chrome mobile browser? Thank you!

sonnycalcr commented 1 month ago

Maybe you could have a look at my Bilibili video, at thte timepoint of 47:59.

In brief, you need to generate the css manually and you also need to set the value of all the dummy keys in the generated css codes.

WinPoss commented 1 month ago

Maybe you could have a look at my Bilibili video, at thte timepoint of 47:59.

In brief, you need to generate the css manually and you also need to set the value of all the dummy keys in the generated css codes.

I did copy your repository directly and just noticed that it works fine on the computer, but the code shows up dark on mobile

For example this link:

https://sonnycalcr.github.io/posts/cpp-primer-ch02-1/

0c8ebfd6c596b7c54258bd9b3a82062

sonnycalcr commented 1 month ago

I tested this post in chrome and firefox in my cellphone, both worked well. Could you please try another device to see whether this issue still exists?

image image