Skip to content

Instantly share code, notes, and snippets.

@markoidzan
Last active January 23, 2020 03:29
Show Gist options
  • Save markoidzan/e0bf9527205a04bef3df09aa1509212b to your computer and use it in GitHub Desktop.
Save markoidzan/e0bf9527205a04bef3df09aa1509212b to your computer and use it in GitHub Desktop.
CWP StingRay's Dark Theme Code - Gist Edition
/* ------------------Put your custom code here--------------------*/
html, .deleted {
background: #000;
-webkit-filter:invert(1) hue-rotate(180deg)!important;
-moz-filter:invert(1) hue-rotate(180deg)!important;
filter:invert(1) hue-rotate(180deg)!important;
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0,xray=0,mirror=0,invert=1,opacity=1,rotation=2)!important;
-webkit-transition:100ms ease all;
transition: 100ms ease all;
-o-transition-duration: 100ms ease all;
}
img,embed[flashvars],[type*=\"application/x-shockwave-flash\"],[type*=\"application/x-silverlight\"]
{-webkit-filter:invert(1) hue-rotate(180deg)!important;
-moz-filter:invert(1) hue-rotate(180deg)!important;
filter:invert(1) hue-rotate(180deg)!important;
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0,xray=0,mirror=0,invert=1,opacity=1,rotation=2)!important;
}
tr > td > a > img,th > a > img {
filter:url(\"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'invert\'><feColorMatrix type=\'matrix\' values=\'-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0\'/></filter></svg>#invert\")!important;
-webkit-filter:hue-rotate(180deg)!important;
filter:hue-rotate(180deg)!important;
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0,xray=0,mirror=0,invert=0,opacity=1,rotation=2)!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment