Re-add drop shadow to front page images in dark mode

This commit is contained in:
Alex Cabal 2020-12-16 15:30:24 -06:00
parent 2e7b24bb97
commit a966a9820c

View file

@ -495,7 +495,7 @@ h1,h2,h3,h4,h5,h6{
} }
h1 + p{ h1 + p{
margin-top: 2rem; margin-top: 0;
} }
h1 + section > h2:first-child{ h1 + section > h2:first-child{
@ -952,6 +952,21 @@ h2{
text-transform: uppercase; text-transform: uppercase;
} }
.donate-row{
display: grid;
margin: 2rem;
grid-template-columns: 1fr 1fr;
grid-gap: 1rem;
justify-items: center;
}
.donate-row + p{
border-top: 1px dashed var(--sub-text);
margin-top: 0;
padding-top: 1rem;
font-style: italic;
}
h3, h3,
h4, h4,
h5, h5,
@ -1961,7 +1976,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 > section figure.oss img + img,
main.front-page > section > h2::before, main.front-page > section > h2::before,
main.front-page > section > h2::after{ main.front-page > section > h2::after{
filter: invert() grayscale(100%) brightness(120%); /* grayscale and brightness makes it hit about #eeeeee */ filter: invert() grayscale(100%) brightness(120%) drop-shadow(3px 3px 1px rgba(0, 0, 0, .25)); /* grayscale and brightness makes it hit about #eeeeee */
} }
select, select,