Fix brightness on main logo

This commit is contained in:
Alex Cabal 2020-12-07 20:52:54 -06:00
parent 31e9751a88
commit f42fc7468e

View file

@ -235,7 +235,8 @@ body > header{
body > header > a{
background: url("/images/logo-full.svg");
-webkit-filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, .75));
filter: invert(100%) drop-shadow(1px 1px 0 rgba(0, 0, 0, .75));
/* brightness(0) ensures the images are stark white when inverted, since the originals are usually not #000 */
filter: brightness(0) invert(100%) drop-shadow(1px 1px 0 rgba(0, 0, 0, .75));
height: 70px;
width: 300px;
background-size: contain;
@ -2061,8 +2062,7 @@ main.ebooks nav ol li.highlighted:nth-last-child(2)::after{
main.front-page > section > section figure.oss img + img,
main.front-page > section > h2::before,
main.front-page > section > h2::after{
/* brightness(0) ensures the images are stark white when inverted, since the originals are usually not #000 */
filter: brightness(0) invert() grayscale(100%) brightness(120%); /* grayscale and brightness makes it hit about #eeeeee */
filter: invert() grayscale(100%) brightness(120%); /* grayscale and brightness makes it hit about #eeeeee */
}
select,