mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-29 03:32:49 +01:00
217a5f929e
Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
15 lines
397 B
CSS
15 lines
397 B
CSS
figure > img {
|
|
height: 300px; /* resize figures so they aren't too big */
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body:not([data-theme="light"]) figure > img { /* auto and dark is dark mode */
|
|
filter: invert(92%);
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
body[data-theme="dark"] figure > img { /* auto and light is light mode */
|
|
filter: invert(92%);
|
|
}
|
|
}
|