File: style_images.css

package info (click to toggle)
python-telegram-bot 22.3-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 11,060 kB
  • sloc: python: 90,298; makefile: 176; sh: 4
file content (15 lines) | stat: -rw-r--r-- 397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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%);
    }
}