hide wordpress logo when in dark mode

This commit is contained in:
Ray Elliott 2020-02-19 16:03:59 +00:00
parent 1a53d902ba
commit 59dd0a214e
1 changed files with 20 additions and 0 deletions

View File

@ -212,3 +212,23 @@ body.colorscheme-dark .logo.woocommerce > img {
box-sizing: content-box;
}
}
body.colorscheme-dark .wp-icon > figcaption > p {
margin-left: 0;
}
@media (prefers-color-scheme: dark) {
.wp-icon > figcaption > p {
margin-left: 0;
}
}
body.colorscheme-dark .wp-icon > img {
display: none;
}
@media (prefers-color-scheme: dark) {
.wp-icon > img {
display: none;
}
}