BBVA - Dark mode

By default these pages have too much white.

目前为 2023-07-17 提交的版本,查看 最新版本

  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 2023.07.17
  9. @license CC-BY-SA 4.0
  10. @preprocessor default
  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. nav-menu
  30. {
  31. filter: invert(1) hue-rotate(180deg);
  32. }
  33. img.o-media__img,
  34. img.o-heading__img,
  35. img[class*=cover]:not([class*=complexmarquee__img]),
  36. img[class*=card],
  37. video,
  38. iframe:not([id=initial-loading-spinner]),
  39. div.o-media__item.width-xxsmall
  40. {
  41. filter: invert(1) hue-rotate(180deg) !important;
  42. }
  43. /* swy: make the bank logo cover the whole cell */
  44. div.m-products table.o-table th[role=rowheader] img.o-media__img
  45. {
  46. width: inherit !important;
  47. }
  48. }