mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-28 19:22:54 +01:00
16 lines
397 B
CSS
16 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%);
|
||
|
}
|
||
|
}
|