mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-01 09:27:49 +00:00
d13f34b84e
Special handling in javascript and css for any image whose `alt` value starts with `Logo`, rather than targeting one specific value. Remove 2 no-longer relevant statements from `extra.css`. Add css member for `mkdocs` theme. Add link to PhpSpreadsheet site to the bottom line of each page for `readthedocs` and `mkdocs` themes. In theory, these links should already exist, and they do locally, but not, for some reason, when run on readthedocs.io. This link is different from the `Edit on Github` link at the top, which is a kind of interesting feature. Add a bookmarklet on the main page for toggling images to dark mode, which would probably be the preference for users employing dark mode. Images are usually left unchanged in dark mode, but almost all our images are screenshots, and dark mode might be appropriate for them.
10 lines
358 B
CSS
10 lines
358 B
CSS
/* Light mode alternating rows */
|
|
[data-md-color-scheme="default"] table tbody tr:nth-child(2n) {
|
|
background-color: #f3f6f6;
|
|
}
|
|
/* Dark mode (slate scheme) alternating rows */
|
|
[data-md-color-scheme="slate"] table tbody tr:nth-child(2n) {
|
|
background-color: #404040;
|
|
}
|
|
[data-md-color-scheme="slate"] [alt^="Logo"] {filter: invert(100%) hue-rotate(180deg);}
|