Created
April 25, 2020 15:02
-
-
Save wpgaurav/c055791cdda260d0dfbb240057dd1fc7 to your computer and use it in GitHub Desktop.
Dark mode - Ongoing for https://gauravtiwari.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark) { body, .blog-teaser, article, .sidebar > *, .has-white-background-color, .style-default .box-style, .style-default .box-style-list ul, .style-default .tagcloud, .style-default #wp-calendar, .header, article div, .amzn-native-product-title-container a, ol, ul, .megamenu, .sub-menu, .content-inner > *{ | |
background:#333!important; | |
} | |
a, li, li a, h1, h2, h3, h4, h5, h6, p, blockquote, format > *, .sidebar > *, .blog-teaser h2 a, div, .content-inner > *{ | |
color:#eee!important; | |
} | |
img{ | |
opacity:0.8; | |
} | |
.header-logo img{ | |
filter: invert(1); | |
} | |
.featured-image-cover .header-logo img{ | |
filter: invert(0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment