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.
This commit is contained in:
Alexis Degrugillier
2021-01-11 16:36:06 -05:00
committed by GitHub
parent f9687ea18a
commit fd82587756
2 changed files with 10 additions and 0 deletions

View File

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

View File

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