Add filters on images and video (#3356)

As this theme is a dark theme, I figured that it would be better
to filter images and videos to ease reading when bright elements
are included.
pull/3361/head
Alexis Degrugillier 4 years ago committed by GitHub
parent f9687ea18a
commit fd82587756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      p/themes/Dark/dark.css
  2. 5
      p/themes/Dark/dark.rtl.css

@ -21,6 +21,11 @@ img.favicon {
border-radius: 2px; border-radius: 2px;
} }
body img,
body video {
filter: brightness(.6) contrast(1.2);
}
/*=== Forms */ /*=== Forms */
legend { legend {
margin: 20px 0 5px; margin: 20px 0 5px;

@ -21,6 +21,11 @@ img.favicon {
border-radius: 2px; border-radius: 2px;
} }
body img,
body video {
filter: brightness(.6) contrast(1.2);
}
/*=== Forms */ /*=== Forms */
legend { legend {
margin: 20px 0 5px; margin: 20px 0 5px;

Loading…
Cancel
Save