support for prefers-color-scheme

This commit is contained in:
Couleur 2023-12-29 13:51:34 +01:00
parent 945e21b6a4
commit b4bff16c36
3 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,9 @@
<p align="center">
<a href="https://github.com/trimstray/the-book-of-secret-knowledge">
<img src="https://github.com/trimstray/the-book-of-secret-knowledge/blob/master/static/img/the-book-of-secret-knowledge-preview.png" alt="Master">
</a>
<picture>
<source media="(prefers-color-scheme: dark)" src="/static/img/black-the-book-of-secret-knowledge-preview.png" alt="Master" href="https://github.com/trimstray/the-book-of-secret-knowledge">
<source media="(prefers-color-scheme: light)" srcset="/static/img/black-the-book-of-secret-knowledge-preview.png" alt="Master" href="https://github.com/trimstray/the-book-of-secret-knowledge">
<img>
</picture>
</p>
<p align="center">"<i>Knowledge is powerful, be careful how you use it!</i>"</p>

View file

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB