BBVA - Dark mode

By default these pages have too much white.

目前为 2022-11-10 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name BBVA - Dark mode
  3. @name:es BBVA - Modo oscuro
  4. @description By default these pages have too much white.
  5. @description:es La versión original hace daño a los ojos.
  6. @namespace https://greasyfork.org/en/users/4813
  7. @author Swyter
  8. @version 2022.10.26
  9. @license CC-BY-SA 4.0
  10. @preprocessor stylus
  11. ==/UserStyle== */
  12.  
  13. @-moz-document domain("web.bbva.es")
  14. {
  15. /* swy: dark mode */
  16. html
  17. {
  18. filter: invert(0.88) hue-rotate(180deg);
  19. }
  20. ph_cabecera,
  21. div[data-addon=bbva-announcement],
  22. div[data-autoload=experiencias],
  23. #app_footer_fyc_normal,
  24. div#footer,
  25. header[role=banner],
  26. nav#header,
  27. div[class*=megamenu__fixed],
  28. .m-marquee__media
  29. {
  30. filter: invert(1) hue-rotate(180deg);
  31. }
  32. img.o-media__img,
  33. img.o-heading__img,
  34. img[class*=cover]:not([class*=complexmarquee__img]),
  35. img[class*=card],
  36. video,
  37. iframe:not([id=initial-loading-spinner]),
  38. div.o-media__item.width-xxsmall
  39. {
  40. filter: invert(1) hue-rotate(180deg) !important;
  41. }
  42. /* swy: make the bank logo cover the whole cell */
  43. div.m-products table.o-table th[role=rowheader] img.o-media__img
  44. {
  45. width: inherit !important;
  46. }
  47. }